This forum is for assistance with theme development.

Modifying a theme

Hello,

I am wanting to modify an existing theme to suit my own personal tastes (well to the best of my ability).

I am just wantitng to modify css, no php. Teh server is currently runninf 4.6.x and is not under my control (I can't upgrade to 4.7).

What is a good theme to use as a base? I would like somthing that is very css based (not too may tables etc), that currently uses css well (so I don't pick up too many bad habits), and that is fairl easy to see what is going on.

Any help you be appreciated,
Dan.

Alternate Class for Menu Items

Hi,
I want to have menu items with alternating styles, like the $zebra, but I have no idea how to get it to work here. I'm using this to create the menu items:

function phptemplate_menu_item($mid, $children = '', $leaf = true) {
 return '<li class="'. ($leaf ? 'leaf' : ($children ? 'expanded' : 'collapsed')) .'">'. menu_item_link($mid) . $children ."</li>\n";
}

But this returns a list like this:

Formatting Taxanomy Title

I am using Drupal as a blogging tool, and I use taxanomy terms to categorize my content. I am having a little trouble to format the "title" on the term-based page. For example, let's say I click on the term link

http://www.domain.com/?q=taxonomy/term/3

And the page would turn our like this:

"Taxanomy Term"
"Node Title"
.
.
.
"Node Title"
.
.
.

Help Customize search results including image_attach

Hello, I am wondering if someone can help me customize my search results. I've already attempted to do this by overriding the search_item function in my template.php file, but I cannot figure out how to access the correct information in the $item object.

What I would like to do is make the search results do the exact same thing as the results you get when visiting a url such as "taxonomy/term/3" -

Display recent x nodes on front page

Hi,

how do I post the (eg) 5 most recent posted nodes on the frontpage?

I put in page.tpl.php something like this:

Move theme stylesheet last

From what I understand when the calls to $styles is put in a page it should put in module css files and then the theme css file, but it doesn't.

Is there a way I could use api calls in template.php to access the styles array and reorder it so that modules are included before the themes

Pages

Subscribe with RSS Subscribe to RSS - Theme development