This forum is for assistance with theme development.

Theming by taxonomy question

I'm starting work on a new website for an Artificial Limb Manufacturer. They have content that is targeted towards:
1. Patients
2. Doctors
3. Both.

What we want to do is have a separate theme for patients' info and doctors' info. This would be easy for me using either the new path-based theming capability of Drupal 5, or taxonomy based theming.

Integrating Flash/XML in theme templates

Hi all,

I seem to have a problem integrating some flash movie into my template. In particulare I'm doing the following in my page-default.tpl.php

      <?php include 'flash_gallery.tpl.php' ?>

in the 'flash_gallery.tpl.php' is just a piece of HTML which embeds an .swf flash movie through the tag

Conditional PHP in page.tpl.php

I'm modifying page.tpl.php and what to write code like ...

<?php if ( I page is /node/53 ) { ?>
    <!-- some html specify to node 53 -->
<?php } else { ?>
   <!-- do the usual stuff -->
<?php } ?>
 

The problem is I don't know how to construct the condition in the if-statement. What is the Drupal technique to determine which page you are at?

Looking for a Simple IGB (Eve Ingame Browser) CSS Theme...

I was wondering if anyone has experience with the Eve Online IGB tags that can make a simple dark+orange 2 column layout for drupal or already has one.. I never made a theme for a cms before and I barely know css still... I would need a WYSIWYG editor :P

Can I avoid overriding default.css?

Ok, so I've been using drupal for a few days and I just figured how to create my custom template using css and html(amazingly easy). But I only got my template to work when I saved my CSS file as defaults.css in the modules/system directory. My page works fine, but it also affects the admin menu (width of content area etc). Is there a way to have drupal get the styles for the site from another file besides defaults so that that can be left for admin and other themes?

Or did I not do something correctly?

Thanks

Removing Help from Invite Module

Hi All,

I'm attempting to theme the Invite module. What I'd like to do is remove the help section from the Invite page. I presume I'd override it with a function that would be like this.

function phptemplate_invite_help($section) {

//* Some code here. **/

}

This is the function I think I should be overriding (from the Invite module) ...

Pages

Subscribe with RSS Subscribe to RSS - Theme development