TOP HEADER

ovov / 2009-04-08 15:59:30   

Hi, i'm tryng to put a top header to my website, it should be visible in every page, so i was tryng to find the place where the pages are generated in php and inserting this line:

<div id="header"><img src="head.jpg" width="800" height="90" /></div>

i've tryed putting in the $body var of index.php page located in:
ndxz-studio/module/exhibits
but the div is not in the source of the page.
Sigh & sob. someone give me some hints?

(I take this occasion to thank human evolution for having invented something like Indexhibit).

Thanks in advance.

Vaska A / 2009-04-08 16:55:31   

$body variable? Where did that come from?

I don't completely understand the question here...but if you go to the tutorials page and read the one about how to make a plugin it has some very general technical info. And at the end, it does talk about system variables.

Also, for the Pre and PostNav variables they are called...

  1. <%obj_itop%>
  2. <%obj_ibot%>
ovov / 2009-04-09 10:05:42   

if i put the header div in my div is inside the menu div, so it gets influenced by its styling...
i want to put it before the menu code so i can style the header to be like an horizontal top frame.
Is it possible?

Thanks.

ovov / 2009-04-09 10:44:49   

ops, a bit confusing, im posting it again :)

  1.  if i put my #header div in
  2. <%obj_itop%>
  3. is inside the #menu div, so it gets influenced by its styling...
  4. i want to put it before the menu code so i can style the header to make it looks like an horizontal top frame.
  5. Is it possible?

Thanks.

ovov / 2009-04-09 10:49:12   

urgh! posted in the wrong way again! Hope you can get the point.Sorry, i'm gonna improve my posting skills.

arsondpi / 2009-04-09 18:07:02   

Yes - open index.php in the theme you're currently using (example: ndxz-studio -> site -> sample -> index.php) and insert the code after the body tag...

This thread has been closed, thank you.