This forum is for assistance with theme development.

PHP : creating a Teaser

Hi,

As CCK does not work with teasers, I'm trying to find out how to work with a teaser. So my question is: I have a textfield, how do I return the "x" first words of this text?

Thanks

Gallery theme

Hi

I'd like to get a look similar to:

Gallery Site Theme

I currently have a basic articles & comments type site. Which is the best theme to start with?

phptemplate, how to theme file attachments???

anyone know how to theme file attachments?
i suspect i need to make a template.php and use a function..
but, there might be an easier way.
any advice is greatly appreciated.

-------------------------------
http://coffee.geek.nz

Burnt Theme: How to ALWAYS keep the admin links in the right sidebar

I have programmed the blocks module to put the Navigation block in the right sidebar. But when I go into any admin page, the block jumps to the left sidebar. I believe this was done on purpose to allow more width for the admin page. However, I DO WANT the admin links to remain on the right side. How do I do that?

Seems to me this was hard-coded into the theme or somewhere else because the blocks module shows that the blocks should always be on the right sidebar.

Banner after first post only

Hi,

I'm trying to modify my PHPTemplate Theme (box_grey edit) so as to display Adsense ads only after the first post.

However, the basic trick with the counter that resets itself after the first post, which works on my wordpress blog template, doesn't seem to work.

I thought that node.tpl was generated in a loop for each post. But my counter actually doesn't increment for each post, it remains 0, its probably because of the way PHPTemplate works.

Do you know any algorithm that can achieve is with a PHPTemplate engine? Can we do that with flexiblock?

More themes..

it's a long weekend (queen's birthday), i'm stuck at home with a winter cold, and it's raining.

so, i'm making yet more GPL-ed drupal themes.

since i can't get cvs access, i thought i'd just announce them here.

Opaque Green
http://coffee.geek.nz/drupal_theme_opaque_green.html

Earth Wind and Fire
http://coffee.geek.nz/drupal_theme_earth_wind_and_fire.html

Pages

Subscribe with RSS Subscribe to RSS - Theme development