Drupal is up and running but how do I ...?

Customize css and js includes depending on the page

As my subject indicates, I'd like to customize the section of my pages. I have certain pages that need an extra css file or a javascript include that I would like to keep out of the rest of the site. Does anyone know how to customize which files to include in the template just by the address or node that the user is on? I found one person suggesting the use of $_SERVER["REQUEST_URI"] but unfortunately I don’t have that function in php. Is there possibly a variable that gives which node already in Drupal? Any help is appreciated…

Adding fields to new content-type module: Report

The short version:
I can't seem to add fields to my new content-type. I get an error: "No field modules are enabled. You need to enable one, such as text.module, before you can add new fields." ewven though I defintiely have the CCK modules active.

Background:

Flexinode Dropdown Menu Display

What should I put in my tpl.php file so that certain text is printed depending on which option of a Flexinode dropdown menu is selected? Thanks.

How to add an id attribute to the <label for> that is generated for forms>

The label tag generated for form items is pretty useful for theming forms, except that only the newer browsers support the attribute|value selector. It doesn't seem like it would be a bad thing to change the <label for=...> to be <label id=...>

What's the appropriate way to make such a change? It is generated in includes/themes.inc but I don't like to edit files that are overwritten by upgrades. I'm also not sure what might rely on that tag reading as it does.

TinyMCE caching issue

I'm experiencing what appears to be a strange caching issue with TinyMCE. Everything in TinyMCE works fine, with a few exceptions. The Image, Emoticon, Link and HTML buttons work fine with a clean cache, but as soon as TinyMCE is loaded a second time on any page, the buttons stop working (they show enabled, but the popup boxes for their use no longer appear). I am using the most recent version of TinyMCE out of the box, installed in Drupal as a module. I don't think I'm using the compressor, I'm not really sure how to install it or if it relates to this problem.

Strange video behavior

This is wierd

I'm using the video module. I create a node by uploading a video using the module and it works fine.

I create another video node by using the absolute path to the video (which is stored above the root) and not only does that node not work but the previous node I created by uploading the video stops working. The error message says that the file cannot be found.

Pulling my hair out on this. Any help?

Thanks

Phil

Pages

Subscribe with RSS Subscribe to RSS - Post installation