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

Moved module from a test site to a live site and it stopped working.

I have two installations of the same site (exactly the same, minus one is on a dev server and one is on the live server) and created a new module on the dev site. When the module was copied to the live site, it pulls up an "error denied" message.

This is:
The same site, duplicated with only a database line changed.
Logged in as uid 1 (on both installations)
A module that works perfectly on the dev server

Any ideas on where to look for fixes? Thanks!

Execlude Lightbox2 from the front image page

Hello, I have a problem.
When you enter http://www.neosoft.se/image you get the albums lined up. But when you click the picture Lightbox2 shows the preview image of the album. How do i set Lightbox 2 to execlude the album page and Just work in the album and not outside

It is very confusing for the users. Do somebody have any idea?

/Jonta

Issue with userlink module's navigation menu

Hi,

I have been working with Drupal for 2 days know and here come my first questions.

1. The top navigation "Home -> Category -> ..." doesn't seem to work properly. Though you can choose categories of links or links posted by a certain user, there will be nothing more than a link to "Home" up there. No indication where exactly you are right now and how to get back. When one of the sites is set as home, the Home link even dissapears completely!

How can I fix this?

2. When you are viewing a category of links http://www.b78.de/test/?q=userlink/1/term/1, there pops up another tab, and this tab doesn't link to itself as it should but to another site, because the last digit, the categorie number (or however you call it) doesn't get submitted.

I found the piece of code for this one, but haven't figuered out how to change it that it works properly.

//
//
// If we are looking at a listing of links for a given term, add
// another tab for the listing...
//
//
if (arg(2) == 'term' && is_numeric(arg(3))) {
$term = taxonomy_get_term(arg(3));
$items[] = array('path' => 'userlink/'. $uid . '/term', 'title' => t("%who %termname links", array('%who' => $uname ? "$uname's" : 'all', '%termname' => $term->name)),
'callback' => 'userlink_page_termlinks',
'access' => user_access('view all userlinks'),

Howto? Check for IsJsEnabled within a PHP function

In Drupal 4.7.3, I have a form interface that uses autocomplete. I would like to alter the form elements based on the results of IsJsEnabled from drupal.js. (That is, if not enabled, I will show a different form element to the user.)

I need to make this check within the php form function that I am writing.

My JS is weak, and the documentation doesn't seem to cover this question directly:

How do I check the JS boolean value : IsJsEnabled() from within a chunk of PHP code?

I need to return a php $var set to TRUE or FALSE.

- Thanks

Queue module from 4.6 to 4.7

Hi all,

I am trying to convert queue module from 4.6 to 4.7
The problem I have is I am not able to convert the following code from 4.6 to 4.7.
I tried form updater at http://www.lullabot.com/formupdater, but it does not return anything.
Can anyone help me please?

Here is the code that needs to be converted from 4.6 to 4.7:

Drupal 4.6:

determing node of a particular taxonomy term

Hi everyone,
Is there a way to determine the taxonomy term for a node being viewed. Been searching all over to no avail.

Thanks

Pages

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