This forum is for assistance with theme development.

What's the procedure for adding an admin toggle to a theme?

I noticed that the chameleon theme is not complete and does not contain toggles in the admin for:

search box
mission statement
user pics in posts
user pics in comments

I search the docs on theme development and the Doxygen docs but can find nothing that leads to the procedure and functions necessary to add the toggle and features to this theme. Can anyone help out?

Thanks

$primary_link not an array and does not contain "|"?

I anm having trouble with the $primary_links variable in the chameleon theme. The print out is link | link | link | link so you would think you could do this:

 $arrPrimaryLinks = split("|",$primary_links);
	  foreach ($arrPrimaryLinks as $value) { 
   		$output .= '<div class="primary_link_node">'. $value .'</div>';
		} 

But the regex comes up empty and does not set an array. What am I missing here?

Author info customisation?

Hi Everyone,
I'm really struggling with a fairly simple customisation.

One the article/story/blog page the top element goes something like so:

Submitted by $username on $day, $date $time

I swear I've crawled through the template for my theme, as well as the .inc files and a few modules. I've even searched for 'Submitted by' but no luck!

I want to get access to the structure of the output as I want to do something like so:

Where is everything?

I have spent the better part of two weeks trying to find docs on variables and core code to Drupal. I have yet to find even a simple list. When you look at a theme are variable being used but there is nothing in the docs that describe anything more that the fact that the say "hooks". Well okay but what are there names and where tdo they come from?

What's the secret recipe?

How to create a block with just the search box?

Hi everyone,

I think the title says it all. I can't figure out how to create a content block which should only display the search box (which likes to live on the upper right side on mose themes). I can see how to remove the search box from there, I also realize that I should probably create a PHP block, but I can't (yet) figure out just what code to pop in there. I'd appreciate any clues; I'm sure somebody must've done it by now in some theme.

Replacing the default menu-structure

Hi,

First of all - I realize that this seems like I've not looked around at all before asking this question. Thats not true. I also realize that it's a easy question but I can't figure out how to do it.

The question: How do you alter the presentation of the menu in a theme? I want to get rid of the "< div class="menu">" line.

Thanks,

Fredrik

Pages

Subscribe with RSS Subscribe to RSS - Theme development