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 theming a taxonomy page. Includes the usual title/description, and then 4 potential node types are pulled into view. I'd like for each type to appear in a seperate callout box.
I have each of the nodes themed already, and they are passing custom fields in to the main taxonomy page. It is just at the page level, I'm calling $content - and not able to see what node types I'm feeding in.
I am looking to extend the standard module, just need a few more fields, and flexinode works just fine.
But I ran into a issue when I needed to override the themes.
Right now, all the tutorials mention that to theme flexinode, I have to go into the specific theme folder, and create a node-flexinode-number.tpl.php file.
So, when I change my theme, I have to recreate this file.
Is there a way to create a "global" flexinode theme file so I don't have to create multiple copies of node-flexinode-1.tpl.php files in every theme in my themes folder?
Ok:
I am overriding the listing of the forum. I've created my phptemplate_forum_list function in template.php, but i notice that in the actual function there is a global variable '$user' in the original function.
Will phptemplate make this variable available to me? ( by default?)
OR:
Do i need to add it to the argument list in my function?
OR:
Do i need to declare it as a variable in _phptemplate_variables?