Shof515 wrote:
After removing the old verison,and install the one off of your site,i get this:
Warning: Cannot modify header information - headers already sent by (output started at /home/shof515/public_html/includes/template.php(917) : eval()'d code:4) in /home/shof515/public_html/includes/sessions.php on line 320
Warning: Cannot modify header information - headers already sent by (output started at /home/shof515/public_html/includes/template.php(917) : eval()'d code:4) in /home/shof515/public_html/includes/sessions.php on line 321
and Is there a way to make it so that it shows links instead of the drop down box
Take a look at
this.
Then try in page_header.php :
$page_template = '<select name="added_pages"><option>'. $lang['Added_pages'] .'</option><option>-------------------</option>';
while( $row = $db->sql_fetchrow($result) )
{
$page_template .= '<option value='. $row['page_id'] .'>'. $row['page_name'] .'</option>';
}
$page_template .= '</select>';
Replace with :
$page_template = '<b>'. $lang['Added_pages'] .':</b> ';
while( $row = $db->sql_fetchrow($result) )
{
$page_template .= '<a href="'. append_sid("template.$phpEx?page=". intval($row['page_id']) ) .'" class="mainmenu">'. $row['page_name'] .'</a> ';
}
in overall_header.tpl remove:
<input type="submit" value="{L_SEE_PAGE}" name="added_pages_submit" class="liteoption" />