Loading...
 
Themes

Themes


Re: Header layout

United States

I'd have to see the actual TPL and HTML code, but off the top of my head some things to check:

  1. Confirm that your HTML and CSS are valid. Different browsers render invalid code differently.
  2. I'm not 100% sure what you're trying to accomplish, but it sounds like you simply want differenet versionsof tiki-top_bar to display in different Tiki sections (wiki, article, forums). Am I close? If so, you can simply set up a check in tiki.tpl for each header type:
Image
Copy to clipboard
{if $feature_top_bar eq "1"} insert the code for wiki-specific top bar here {elseif $feature_top_bar eq "2"} insert the code for article-specific top bar here {elseif $feature_top_bar eq "3"} insert the code for forum-specific top bar here {else} insert your default top bar here {/if}


Then, in the PHP file for each section, simply assign the correct value to $feature_top_bar. For example, in tiki-index.php (for wiki) add:

Image
Copy to clipboard
$smarty->assign('feature_top_bar', '1');


HTH,

-Rick

There are no comments at this time.