This forum is for assistance with theme development.

PHP help needed for counting terms

I'm trying to find a way to print x number of terms followed with "...", only when x is met. Example: If x = 3, than the function should print "term1 term2 term3...". If only two terms are entered, than it should only print "term1 term2". The function I'm using to print the terms (which works) is:

Can't open framesets?

Hello!

I'm developing a new theme for Drupal, but when I for example try to create a new post or page, I can't open any of the framesets (Publish options, Menu settings etc.) Nothing happens when I click them... I've made a bunch of themes before, but that have never happened before. I was not sure what I should search for to fix it, so it may have been answered before. Thank you! Drupal is great!

node.tpl.php file not being used

That's about it.

Changes in node.tpl.php were useless. After reading, cheking the file name and path, I started to think my theme (Aberdeen) is not using node.tpl.php at all

Changes on page.php should do the trick. Yes, they do. But this is not the expected behavior, the expected behavior is to load node.tpl.php and use it.

What's wrong? What can I do to fix it?

Thank you.

Put block region in node.tpl.php file - how?

I'm trying to put a block in my node-story.tpl.php file. I've taken code from Regions in PHP Template and from Nick Lewis' blog but neither seem to work.

In my template.php I have

Simple PHP help needed

I am trying to print the taxonomy terms in teaser view, but I cannot seem to get it to work. I'm trying with something like print $node-> etc., but nothing works. In full page mode, the code below prints exacly what I need. Can anybody guide me what I need to print the code below in teaser mode?

Dreamwaever extension beta test

After long days of work dreamweaver extension for dupal theme creation is ready for beta test.

Drupal compatibility 4, 5, 6

Dreamweaver 9 (cs3), previous version will be supported if a developers requests.

A screen shot will be published soon.

Pages

Subscribe with RSS Subscribe to RSS - Theme development