Page 1 of 1

Print view - small bug

PostPosted: Thu Jun 07, 2007 7:07 am
Author: sanji
If you click on the print icon, you get the print view but with a small mistake :

check for example this link : http://www.integramod.com/forum/viewtop ... c=1&t=3663

At the top of the page, you have the following :

integramod.comGeneral Discussionphpbb3 and IntegraMOD


There should be a separator between integramod.com & General Discussion, and this separator is in fact {NAV_SEPARATOR} (as found in the printertopic.tpl file of the template folder)

I guess this NAV_SEPARATORis not defined. Where should I do it?

Thanks,

sanji

PostPosted: Thu Jun 07, 2007 7:31 am
Author: geoff1
Its probably located in the languages directory in the lang_printertopic.php file

PostPosted: Thu Jun 07, 2007 2:38 pm
Author: sanji
Not sure... {NAV_SEPARATOR} is not a normal key from the language file, so I wonder how to exactly define it...

How is, for example, {SITENAME} defined?

sanji

Re: Print view - small bug

PostPosted: Thu Jun 07, 2007 3:56 pm
Author: Helter
it is defined in includes/page_header.php

Code: Select all
if ($nav_cat_desc != '') $nav_cat_desc = $nav_separator . $nav_cat_desc;  // send to template$template->assign_vars(array(     'SPACER'         => $images['spacer'],     'NAV_SEPARATOR' => $nav_separator,     'NAV_CAT_DESC'   => $nav_cat_desc,     ));