Quote:
Originally Posted by JenniferK
OK, I am almost ready to open my board, so I have come back to this.  I have figured out most of the problem I was having, and now I can get it to display, but what it is doing is replacing my navbar with this module. I figured out that is due to this line:
eval('$navbar.= "' . fetch_template('adv_portal_gallery') . '";');
at the end of the php file. When I take that line out, nothing displays at all. I'm not sure what I need to replace this with to get it to work properly. I would really appreciate your help on this. Thanks!
|
Jennifer , the
eval is the part that evaluates the page so without that your always going to get a blank page. Because i assume you have edited the look and theme of your page try this
make a template called
adv_portal_navbar_with_gallery
Copy your Navbar code into this template , and under it copy the following code ..
Code:
<br>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class='tcat' colspan='0' align=left>
<span class='smallfont'>
<strong>» <a href='$coppath'>Gallery</a>
</strong></span></td>
</tr>
<tr>
<td class='alt1' width='100%' align-middle valign=middle>
$copphotos
</td></tr></table>
That should display your navbar and then the gallery under it - if you still have problems , ill take a look at your code for you.