This forum is for assistance with theme development.

xtemplate syntax errors

Hello,

I've made a new theme with Xtemplate engine by reading the xtemplate tutorial : http://drupal.org/node/6493
I've uploaded all my new files (xtemplate.xtmpl, style.css, logo.png and screenshot.png) in a new folder in my theme's directory.
The new theme appears in administration/theme correctly, but when i activate it, unexpected errors are displayed on top of the confirmation page ! I've put the error messages below and the theme itself is available here : http://esba-toulouse.org/xtemplate.txt.

Is it only warning messages before to confirm the theme ? It seems that i've omitted some blocknames but there still exist... And if i look to other xtemplate themes like pushbutton, some blocknames are not used... Or it is parsing errors may be... I really don't understand what i've made wrong for the moment. If somebody has an idea ?

Thanks in advance,

Etienne

user notice: [XTemplate] parse: blockname [header.logo] does not exist in /home/mysite/www/themes/engines/xtemplate/xtemplate.inc on line 418.

user notice: [XTemplate] parse: blockname [header.site_name] does not exist in /home/mysite/www/themes/engines/xtemplate/xtemplate.inc on line 418.

user notice: [XTemplate] parse: blockname [header.title.tabs] does not exist in /home/mysite/www/themes/engines/xtemplate/xtemplate.inc on line 418.

user notice: [XTemplate] parse: blockname [header.help] does not exist in /home/mysite/www/themes/engines/xtemplate/xtemplate.inc on line 418.

Class name restrictions in stylesheets

Alright, in my endeavour to evolve from "absolute newbie" to "not-so-absolute newbie" status, I am dabbling with some theme customisation and eventually creating my own theme.

What piqued my curiosity is this: the HTML code ouputted by the templating engines often contains class names with spaces in them (i.e: <div class="block block-block">.
From my limited experience with CSS, I am under the impression that spaces were forbidden in naming classes (and naming anything else for that matter).

Any way to theme the guestbook?

Hi.

Is there an easy way to theme my guestbook? (standard guestbook.module). I'm using PHPTemplate, but making a node-guestbook.tpl.php seems to do nothing. That's probably logical since the guestbook itself isn't a node? Would be nice to get this enlightened.

Thanks in advance.

- Thomas -

I'm looking for a nice theme

Hi everybody,

I'm creating a Drupal website about wine, vines and tasting. Drupal is a very great system by i am not an artist and i can't make a nice theme about that. Is there anybody who can make a theme for me about wine tasting ?

Thanks you for your answers.
Best regards.

Insert HTML if comment author = "name" ?

Hi,

I've seen some blogs where the comments made by the site owner are stylized differently than the other comments. I don't want to re-style *my* comments, but just make my name stand out.

What I'd like to do is have it so that when I make a comment or reply, that a <span class=""> appears before $author (and the tag would close after $author). If the author is not me, then that bit of html is not added.

Is there anyway to do this?

just to make sure i understand this from the top...

Ok, i am new to theming .. but it's got to be done by monday. I just want to make sure my understanding is correct on some issues:
I'll need to customize the look of the forum pages and the blog pages. So:

page.tpl.php is the file that governs the look of the entire page?

so i copy this to page-default.tpl.php and also copy it to page-blog.tpl.php and page-forum.tpl.php, and then by modifying code in those files i can get a different look to the blog and forum pages?

Pages

Subscribe with RSS Subscribe to RSS - Theme development