This forum is for assistance with theme development.

view, edit, track, which template file?

I'd like to change "view, edit, track" on a userprofile if I could, which template file do I need to hook?

Thanks.

focus on username field onload at www.example.com/user

I would like to automatically focus in the username text input onload if an anonymous user visits www.example.com/user.

As I'm using Drupal 4.6/Phptemplate, I think that this would be most easily accomplished through some javascript trickery in the template.php file. If somebody could help get me started, I'll post the working code back into the theme snippets section of the handbook.

Thanks in advance,
Bjorn

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.

Pages

Subscribe with RSS Subscribe to RSS - Theme development