So I've been asked to take over another persons code in WordPress with little time before launch date... Usually I would say no but it's an interesting project. I am a pretty good Drupal programmer but have little experience in WordPress.
So I want to know, what is the difference between developing a Drupal module and a Wordpress plugi...
Is there a "most read" module for Drupal? I want to create a "most read" block on my drupal page.
...
I have an 100 aspx files with one module file for code. All these aspx files have the same backend function, so i created on public module for all these files to access. These files are in the same folder. But for some reason the aspx files cannot access the function from that module.
mod1.vb Code (.vb file)
Public Module Allinone
S...
I've taken to putting module code directly in a packages __init__.py, even for simple packages where this ends up being the only file.
So I have a bunch of packages that look like this (though they're not all called pants:)
+ pants/
\-- __init__.py
\-- setup.py
\-- README.txt
\--+ test/
\-- __init__.py
I started doing this because...
I have a Drupal filter module whose output I would like to alter, depending on where the output is going to be displayed. Specifically, I want to the filter to give the full output for nodes, but trim the content down for blocks.
...
** New EDIT **
so what I'm trying to do is this.
I want the to add new form elements generated by my module on the product view of the following url
http://magento.example.com/catalog/product/view/id/46
ultimately these elements will be determined to show up by a related table in my module
I expected that if I extended Mage_Catalog...
I have a Date class which I would like to use to overwrite Ruby's Date class. However, whenever I do a require 'Date' in my other files, it includes Ruby's Date class and not my own.
I thought that putting it in a module would work well, so I did so within the Date.rb file:
module myModule
class Date
#...
end
end
However I stil...
Hi,
I store my navigation content in a navigation.xml file in the configs folder of my project.
Basically I have two modules, the default module that deals with e.g. authentication and basic page usage and the admin module to admininstrate the website.
When I sign in as admin a special admin navigation appears according to my acl and...
Hi all,
I am new to zend, i need help in creating zend application using modules.
please help thanks
...
hello, i'm using the desktop library of prism.
what i want is to get modules in a directory and then, run them.
I do like that:
DirectoryModuleCatalog catalog = new DirectoryModuleCatalog();
catalog.ModulePath = @"C:\Users\Raph\Documents\Visual Studio 2010\Projects\LibraryLoad\LibraryLoad\Modules";
I checked, the modules are loaded ...
As those familiar with network device drivers are aware, the interface between the kernel and driver has been changed to use NAPI (New API). In this paradigm, a polling function is associated with a napi_struct, which is a new structure that must be allocated by the device driver. At any rate, I have an old driver and don't have the ti...
Hey, I recently installed Node.js on a fresh Linode box, and I think I'm in a weird situation where I can't use require() to load any thrid party modules.
I've installed npm and have successfully installed modules via npm, but whenever I try to require one of the modules (or just some of my own code in the same directory), Node throws a...
I have a multi-module Maven project, and I would like to assemble together artifacts created by running the assembly plugin on individual modules. Is this possible?
...
I'm trying to set up pathauto to generate clean URLs based on my primary links. So About > Executives / Board would be about/executives-board. I've used the [menupath-raw] token for this which is creating the alias:
About/Executives / Board
It's not removing the slash and leaving in spaces. Also, it's not converting to lowercase. I've ...
Hello guys,
I have a quick question I am currently running a test site of Drupal. I have a module that was written and supported for versions up to 6.16 the test site that I would currently like to use this module in crashes when I enable the module.
I would like to know what basic elements can I look at to ensure that the code is comp...
OK, real quick, here's the code:
class A
def foo
FOO
end
def self.foo
FOO
end
end
module B
class C < A
end
end
B.const_set(:FOO,'asdf')
>> B::C.foo
NameError: uninitialized constant A::FOO
from ./foo.rb:6:in `foo'
from (irb):1
>> B.module_eval {FOO='asdf'}
=> "asdf"
>> B::C.foo
=> "asdf"
Aren't they suppos...
Is there any function in Drupal like get_module_info('MODULE_NAME') or I should parse info file?
...
I found this xgoogle python modules http://github.com/pkrumins/xgoogle, very interesting. How exactly should i include or install these files in linux??
if i want to do something like this using xgoogle python module?
>>from xgoogle.search import GoogleSearch
I know that we can use from, import to use modules, but to include an exte...
I've unpacked BeautifulSoup into c:\python2.6\lib\site-packages, which is in sys.path, but when I enter import BeautifulSoup I get an import error saying no such module exists. Obviously I'm doing something stupid... what is it?
...
I've read a few of the articles about the need / applicability / practicality of keeping headers around in C++ but I can't seem to find anywhere a solid reason why / when the above should or should not be done. I'm aware that boost uses .hpp files to deliver template functions to end users without the need for an associated .cpp file, a...