This forum is for assistance with theme development.

BlueMarine for phpTemplate theme engine

Today I decided to switch to the phpTemplate theme engine, because I'll be needing a little bit more power for the events calendar on our site. The only "problem" was that I was quite satisfied with BlueMarine and didn't want to use box_grey, which is the only phpTemplate example listed in Downloads/contributed themes. That's why I converted the BlueMarine template to phpTemplate.

It may save others some time if my work appears under Downloads/contributed themes/BlueMarine_phptemplate or so. How do I upload it there ?
Do I have to create a project for that first ?

BlueBeach

Hi,

Is the "Drupal.org" theme available for download anywhere?

Cheers
rjpa

How capture first page or a better way to control the mission statement

I want the mission statement in the chameleon theme to appear on just the front page. trying to capture the empty q with

if (trim($_GET['q'])==""){
	  if ($mission = theme_get_setting('mission')) {
	    $output .= $mission;
	  }
  }

Does not work for some reason. Works fine if I give a string value for q but nothing if check to see if it is empty or at zero length.

Ideas?

Need link_node() and taxonomy module_exist() explaination

I wanted to add "submitted by" to the page teaser section on the front page. I saw this code in the Chameleon theme and thought that I could use it. But I can't find out how it is activated or if it is an automatic thing or if it can be set manually. At present nothing at all is happening.

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?

Pages

Subscribe with RSS Subscribe to RSS - Theme development