This forum is for assistance with theme development.

why my if/else with nodeprofile not works?

hi guys,

im sitting here a long time now and its impossible for me to find a solution..

what is my error?

this is my node-uprofile.tpl.php

---------------------------------------------

if ( ($node->uid) == ($GLOBALS['user']->uid) && (!$node->field_enable_public[0]['value']) == 'NO') :

Sometimes-there, sometimes-not images; tpl file issue?

(Sorry for the confusing Subject; not sure how I could summerize things better).

Site: http://brewreview.info

Using the bizcenter template (ref: http://drupal.org/node/128151), I like the five img files on the top. In fact, I plan on eventually turning those into roll-over links to various portions of my site.

Example of using YUI

Can anyone show me an example of using YUI in drupal ? Thanks.

new region created, how can i put custom content inside

hello everyone, Drupal rocks!

Anyway, i just created a couple additional Regions to my template.tpl.php file and how i want to put some custom content inside. It will hold current news and events and i'd like to edit them just like a Page type or really any way. How do i put content inside?

Theme selection - theme only certain pages

Hello,

I want a user select different themes on my drupal site, but the theme apply only for certain pages, like "page-blog.tpl.php" and "node.tpl.php". How can I do that?

I have a multiblog site and I want to allow users change their themes, but applying only for the blog page and the nodes, the rest of the pages have the default theme (not the on selected by the user).

I really apreciate your help, thanks!

Relative paths when using include() in template.php?

I'm working on accessibility issues with a group of forty seven themes. Many of the things I need to fix are the same in all themes - for example, adding a summary attribute to the calendar tables generated by the event module. I'd like to use include() at the top of each template.php file to link a file containing those universally-applicable themes. I'm having some trouble with the paths.

Supposing I'm working with these two files:

/usr/local/www/data-dist/themes/universal-overrides.php

/usr/local/www/data-dist/themes/bluemarine/template.php

Pages

Subscribe with RSS Subscribe to RSS - Theme development