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:
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!
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.
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?