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

Need urgent help with Slideshow 2 and javascript

Hi all,

I made a Drupal site for my boss, and its URL is:

http://www.bioenergeticslive.com

What I'm having problems with is the Slideshow 2 module (top node on right column). First, I only have 2 images, but it says I have 3. The 3rd one is blank. I need to get rid of the blank image. Also, what must I do to enable the javascript? It IS enabled on my browser (I am using Mozilla) but the slideshow will not automatically go to the next picture. I have to click next to get to the next picture.

request_uri(), l() and drupal in a sub-dir

I've run into an issue with using request_uri() in a link when my drupal install is in a sub dir.

I have the site available as:

www.example.com/site

and request_uri() returns this from a request:

/site/node/1

putting that into a l() gives you:

www.example.com/site//site/node/1

which obviously doesn't work. How can I get the correct url from these functions? Or perhaps there is another way to get the intended destination of a request?

file management

I'm looking for a "files folder" or a similar file management module, to upload, download, list and browse uploaded files by category. Is this part of core?

video module duplication

Hi guys,
I found video mudule so great that I'd like to duplicate it in my website.
I mean, I've a video section, my admin uploads videos and everything goes ok, I've got my video summary in the ?node/video page.
Now I'd like to add one more video section, with different rules and different summary page, how can I achieve it in the cleanest way?
I was thinkin about, installing two video mudules, with different names (e.g.: video and video_two), different table names and menu voices.
Let me know if it can go ok or if you suggest some better way.

How do I add a new value to a comment and retrieve it later?

I have one node on my site that displays different content depending upon a variable that is provided. I also need comments to track to that variable and not just the node itself. I was able to edit the comment_form function in the comment module to add the appropriate line to the form, but I can't figure out where to go next. Here is the line I added.

$form['package'] = array('#type' => 'value', '#value' => $package);

$package is the variable I am trying to pass. I used a type of hidden instead of value initially to confirm that it was being determined correctly.

As far as I can tell, there are two pieces I am missing. The first is that I need the page to refresh with $package intact as part of the URL. This would be the same as the page that a comment is actually entered on. Right now the action points to /comment/reply/5 with 5 being the node id. I need that page to access the $package value from the form before loading /node/5 so it can go to the right page.

For example:
http://linuxappfinder.com/package is the alias of /node/5, but it needs to have a form of http://linuxappfinder.com/package/drupal (where drupal is the app being displayed) in order to display correctly. Current behavior returns me to http://linuxappfinder.com/package#comment-xx after a comment is posted.

I also need the comment_save function to be able to determine the $package value because it updates a table to associate the comment id (cid) with the appropriate package so only the appropriate comments are displayed later.

Does anyone know where I should look to solve this? I back-tracked from the comment_save function to the comment_form_submit function, but I can't tell where the latter gets called from.

ping help- please!

Hello- I love drupal, but I simply don't understand why the ping module is so difficult.

I would really like to ping technorati.com. I am a php n00b, so could someone please just post the ENTIRE ping module that will do this?

Thank you!

Pages

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