Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Throughout the whole Drupal site (CVS version), there is a linebreak afer each and every form element. This is particularely annoying in the 'Events' and 'Schedule' modules, because these have form elements for day, month, year, hour and minute. Drupal adds a linebreak between each of these, including even the colon between hour and minute.
Does anyone know how to deal with this? I briefly installed Drupal 4.5.2, and didn't see the probem there. This should probably be fixed in CVS as well, as I would consider it a layout bug.
I had recently installed phptal from cvs. I am encountering problems in adding custom function. I refered to the success story here.
i tried adding the function to a new template.php (same instruction is mentioned here too in the theme directory (tal_grey), and then calling the function from page.tal as mentioned. I get an error
Call to undefined function: test_menu() in /tmp/tpl_0_7_0_30fdeeba25be02f39337800a87c412c5.php on line 131
I'm using the Kubrick theme on my site and would like to integrate a simple separation bar (a jpg image) that would appear at the bottom of each new post on the site automatically. Is anyone familiar enough with Kubrick to know where to implement this? And what would the code be to do it (in noob language please).
I know that Manji is a single column theme, in looking at the code, I'm not able to pinpoint where I might be able to open it up for having the classic left-right columns.
Anyone have any ideas?
So I think I am way confused about the order in which phptemplate works. In my node.tpl.php file I want to have a div that contains the number of comments posted on a particular node. I want this to be visible on the full view as well as the view that gives me a bunch of entries and the article stubs.
So I thought I would try something like "comment_num_all($nid)" But I can't even get the $nid variable to pass through into the node.tpl.php file.