This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

error in lmo

Fatal error: lmo_admin_common() [function.require]: Failed opening required '/init.php' (include_path='.:/php/lib/php/') in /web/htdocs/www.hopfrog.it/home/modules/lmo/lmo.module_cmn.inc on line 91

Why?

Multi-sites, get current site directory

Hi,

I have a multi-sites installation, I need to retrieve the sub-directory of drupal installation from a module I have created.
Is there a constant to get the current installation directory (~drupal/sites/my_site1/ for instance), since I need to get information from settings.php file.

Thanks for your support.

lightbox not working

I've d'loaded and installed the lightbox module (with scriptculaous/prototype js), but It doesn't want to seem to work at all. I followed the readme, and when I try to create a lightbox link, when I click the link, it just opens the actual .jpg page in a seperate window instead of in the lightbox div.

Any ideas what may be wrong?

Much thanks.

aj

AcidFree image open in _blank window

Hi,

Is there anyone who would know how to make an image within an album popup in a new window (_blank) while i am clicking on it?

Thanks

Displaying Form in Settings

Hi,
I created a custom module and is trying to display a form under settings.
I used:

function custom_module_form($bid = NULL){
    /* Code goes here */
}

but my form just doesn't show up.
It only shows "Save Configuration" and "Reset To Defaults"

Redirect with a form button

Hi!
I am writing a new node type, and I want to put a button to the edit form, which opens an another page (for example an other node's edit form). I don't want to submit the form, because there may be unfilled fields.

I read the form API, but there isn't too much from the buttons... I viewed the node module, because the delete button on the node's core edit form does something like I want. I found this:

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions