View Single Post
  #13  
Old 02-05-2007, 08:15 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: PhilJ's Advanced Speedbar - Smarty question re: id="current" - $main eq "X"

Shan,

I almost get it...

So in my case, the static embedded pages are all related to what was pages.php (now for me, due to CDSEO, help.php)

So in the php fie. I would add the line,

$smarty->assign("sub", "my_page_name");

I could call "sub" anything I want, yes?

What about "my_page_name" ? Does this have to match something in my static page? Do I add a line to the static page that tells smarty its page name?

And finally, I would do this for EACH page, yes?

Thanks!

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote