On both my browsers (IE & Firefox), the box_grey template displays a '0' at the top left of the screen, as does its more colourful offspring box_cleanslate. Anyone have any idea why this might be so? BTW, I don't have a logo.
The reason I ask is that I'd like to use it as a model to develop a theme. Or is there a 'better' theme that uses the phpTemplate engine that I should use as a model?
As an aside, I was sure I posted this yeaterday but can't find the post. Must have been dreaming!
Puzzled.
I am having a problem with flash displaying in IE. The same flash displays fine in Firefox. My question is for the placement of the swf file as far as what directory to place it in. Right now I have it in the grey box directory is this correct and if so what else could be causing it to dislay in firefox but not IE.
I'd like to use custom functions in my smarty theme so I added them to the smartytemplate.php file in my theme-root. Taking hints from the snippet posted here, I came up with the following:
smartytemplate.php:
function smarty_register_functions() {
return array('bla' => 'do_smarty_assign');
}
function do_bla($params, &$smarty) {
$smarty->assign('tester', 'test successful');
}
I am having a problem using a table inside the header div to display the images for my header. There is white space between each td and i don't know what is causing this. I have cellpadding and spacing set to 0 and there is not space between the img tage and the td tag. Has anyone had this problem before if so how did you fix it. Thank You
I'm working on a port of a theme to Drupal (first time) using the PHPTemplate engine. I've got everything working, except that the form for commenting stretches over half the page. None of the other forms do this, and there's nothing in my comment/page template that would make this happen. . .is there any way I can define the width of the comment box?
Y'all will probably think i'm smoking crack for asking this. Has anyone ever printed the node authors name within a comment template? I'm suspecting that $node->name doesn't work because it's not calling the phptemplate_node() function when generating comments. I've tried phptemplate_node($name) and some other things too.