This forum is for assistance with theme development.

default parent for blogs

I would like to restrict the parent item for my blogs so that if a user makes a new blog item it will always have a certain parent item unless you are authorised to change it, like a default parent for blogs. I would prefer not to use the category module for this.

Is there any way to have a default parent for blogs?

themeing <h2> page title by tid

Is there a way to theme the h2 page title based on taxonomy term id. I've tried various tricks but nothing will work without killing other pages tabs/title or creating a management nightmare.

I need away to get the current node object and the current title into the same function. That should do it.

Anyone?

Thanks

Logical Place to put User-Defined functions?

I'm designing a custom theme, and I'd like to add a user-defined PHP function to make life easier for myself. If I want this function to be accessible at any part of the website, where is the 'appropriate' place to add it in my theme files?

There are plenty of places I *could* tack it on, but where *should* I?

Thanks!

stepping through $links to test which ones are where?

I'm working on a theme where the links need to be split around node.tpl.php in various places, and of course need to appear only when relevant. Unfortunately I can't just test for $links[n] and then punch that into the template where required because the array changes with the available and relevant links to the node.

Is there a way to create tabbed view (Not table/list view)

Is there a way to create tabbed view (Not table view). I want to have tabs for the fields and not the list view or table view. How can I do that.

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Theme development