Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am trying to get the title to display on summary pages (e.g. taxonomy/term/18) but not on the individual node pages. (because I display the title within the node itself and I don't want a duplicate).
I read in thread 9984 that I could use the $main variable to test whether or not I am on a main or summary page.
Is there a way to output a block outside of the sidebars?
I am trying to create a primary menu across the top of my site. Since I want it on every page, it seems like I should be able to put something like this in page.tpl.php:
print $block_menu_495
...but this doesn't work.
Note:
1) I need to use the menu module instead primary/secondary_links.
2) I need to keep both left and right sidebars functional for other blocks.
For anyone that hasn't switched from the default Bluemarine xtemplate version to adrian's phpTemplate version, I really encourage you to do it. I've taken adrian's version of Bluemarine and hacked it together with Federico's Negen theme. I don't really like the look of Bluemarine, but the code is really solid, so I kept the way it operates and changed only the style sheet. Maybe if we all beg, Federico will convert his templates from xTemplate to phpTemplate. Pleeeeaaase.
Can I use multiple templates with Drupal? For instance, I would like site visitors to see a specific template that has all our ads and stuff in it, and the administrators should get a clean and simple default template. I saw something mentioning multiple templates but it seems whatever template I set is used for both visitors and editors. Then again I've been up way too many hours, so if I'm missing something obvious just slap me in the right direction. :)
What's the best approach to get content in with images wrapped with text and also, two columns for text?
I suspect you may say htmlarea, but I've had problems getting that to work with 4.6 (not ready?), and in 4.5 on OS X panther.