This forum is for assistance with theme development.

Split $content into smaller segments

I'm working on a theme were I want a more specialized main page. Specifically, I would like to take the content and split it into 2 (or perhaps more) segments, each containing complete nodes (title, teaser, links, etc).

Here's a representation:

Headline 1
Teaser ....
links...

Headline 2
Teaser ...
links...

________________
| Interesting stuff
| section where I 
| can highlight new
| content  
----------------------

Headline 3
Teaser ...
links ...

Headline 4
Teaser ...
links ...

etc...

I think it will require splitting $content into $content_head $content_tail, but I don't see an easy way to do this. Looking at PHPTemplate, it just passes the complete $content along to the various .tpl.php files.

Any suggestions?

-Mark

Help! I need several article announce blocks on front page...

Help! I need several article announce blocks on front page (like events block, news block, publications block). You know, this blocks are something like a box with for example last 5 headers of news (aricles/events/...). What do I do?
The module that I used (called articles) allows only one such block. But I need several. Is there are any solution?
Thanks

Internet Explorer and navigation tabs in slash.theme cvs

The navigation tabs in the cvs version of the slash.theme (PHPTemplate version http://drupal.org/node/42373) looks good in Safari and firefox but messed up in Internet Explorer.

Example here: http://xdeb.org/files/slash_theme_nav_links.png

The space between the tabs are read instead of white and the colour don't change on hover as it should.

Any hints or tips how to fix this so it looks OK in Internet Explorer also?

themeing user registration (NOT profile)

Hi,

I am trying to theme the user registration page (username, email, submit...www.mysite/user/register) and was hoping to create a thread on themeing the user reg page w/out re-writing the user.module hook for displaying the form.

Any ideas?

Blocks with code over more than one line look strange

Hi There!

I'm trying do adjust an existing theme to my needs. Right now i've got the problem that code fields over more than one line look pretty strange. Here's a example

http://img498.imageshack.us/img498/8263/snap22ke.png

or here's the url of that page

http://www.christoph-langner.de/drupal/?q=node/13

Theme that embeds uploaded video

Has anybody developed a theme that allows enclosures to be displayed in situ (embedded) on the webpage. I would like to have users be able to see videos and audio on variou people's blogs rather than showcasing the videos under the video node but I can't find a module that has done so. Boris Mann suggested the possibility of inserting code into my theme: http://drupal.org/node/43637 . Has anybody had any luck doing so?

Pages

Subscribe with RSS Subscribe to RSS - Theme development