This forum is for assistance with theme development.

How can I test for a summary vs. node page?

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.

So in page.tpl.php I put the following:

Output a block outside of the sidebars

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.

I am using drupal 4.5.2 and phptemplate

phpTemplate Bluemarine

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.

Anyway, here's the site, again:

Help with Creating Theme

I am looking for someone to help me create a theme for my high school.

Multiple templates

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. :)

best way to wrap images with text

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.

Pages

Subscribe with RSS Subscribe to RSS - Theme development