This forum is for assistance with theme development.

Want to learn phptemplate

I want to learn about phptemplate more. I'd like to understand how phptemplate builds the html file. How can I override the default settings. For example if I want to remove or add a certain element from a page.

I managed to edit existing themes by deleting stuff and managed to create separate themed pages for different node types, but I want to have a deeper understanding.

What shall I read? Or even better, is anybody available for a payed coaching over skype or email?

Thanks!

Where to find icons...

I've been using Drupal for years. I've got my newly-designed site up: DocForge. I like the colors but I'd like to bring it more life. Where can I find a simple set of free icons to represent things like polls, users, books, etc.? Eventually I'd like taxonomy images, but for now I'd settle for the basics. I just don't want to spend $100 for a set and I'm terrible at drawing them myself. Any ideas?

If there's nothing both good and free, any suggestions on a good source to buy them?

Override og_view() with phptemplate

I am trying to override the default Organic Groups view function with phptemplate. When I add the funciton

function phptemplate_og_view(&$node, $teaser = FALSE, $page = FALSE) {
     return 'THIS IS ONLY A TEST';
}

Two warnings are displayed when I try to view the organic groups home page

warning: array_key_exists(): The second argument should be either an array or an object in /big/dom/xacslaw/www/modules/node.module on line 628.

and

$sidebar_left and $sidebar_right are always empty

Hi,

I've been trying to develop a new private theme using the PHPTemplate engine since 2 days now and there's still a problem that's preventing me from achieving my work.

The variables $sidebar_left and $sidebar_right are always empty. No matter what I do, they always contain nothing. They are also empty when using the civicspace theme, but they have the correct content when using the kubrick theme.

I've check their source codes and I don't see any difference that would lead $sidebar_left and $sidebar_right to be forever null.

css problem with bluemarine and flatforum

Hello,

i use a design based on bluemarine for phptemplate and have installed flatforum and the modified templates from http://www.drupalart.com/phpbb and for special Design some parts from http://www.drupalcenter.de/forum

Different home and sub page

Hi guys,
I need some further understanding as how to customize a theme.

I found the instructions in the handbook as how to create a different page.tpl.php for the home page and the sub pages (the nodes themselves). However I can't seem to figure out how to create different content on home and sub pages. For example if I don't want the Sumbitted by... to appear on the home page, but I do want it on the subpages.

Help would be highly appreciated.
Thank you!
Ivan

Pages

Subscribe with RSS Subscribe to RSS - Theme development