Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am very new to Drupal and am looking for some help with template development. All I need the template to do is have a static theme (header, footer) with a content area that is editable. I do not need any of the other functions / modules that are available in Drupal.
I have tried playing around with phpTemplate, but it seems to break when I remove the php variables that call the standard Drupal functions...
I am looking to remove "post new topic" on the main forum taxonomy page (ie, www.mysite.com/forum). I would, however, like "Post New Topic" to appear on individual forums (ie, www.mysite.com/forum/1). Can anyone tell me which function I need to override or modify to accomplish this? Has anyone done this?
I have a page with a minimal amount of blocks, and therefore a short sidebar. This makes my footer apear in the middle of my screen. Is there any way to stretch the sidebar(s), so that the footer will always appear at the bottom of a browser window?
I'm trying to find a way to rewrite the XHTML generated for primary links. I'm using PHPtemplate engine. The reason I need to modify the XHTML is because I'd like to add a class "first" to the anchor in the first list item generated for the menu, so it would look like this: