![]() |
Where is smarty called from?
Well, I went to the smarty forum and I think it'll be a couple more years before I dare enter there again (not to mention that their guide requires a Ph.D.).
My questions is, where on Earth do all those $ files come from? I know that they're in the php files, but where? Is there a trend? Is there any way of seeing something like $something and saying, "Aha, I know where the HTML to this thing is." I found this $ variable in my subcategory.tpl that I believe will help me change the number of subcategories per page, but I have looked through so many php files and have not found anything defining this $ variable. The variable that I'm looking for is $total_pages. Anyone dealt with this recently? Thanks again. |
Re: Where is smarty called from?
search the php files for
smarty->assign("thesmartyvariablenamewithoutthedollarsign " for $total_pages, it is in include\navigation.php |
Re: Where is smarty called from?
Thank you so much. It helped. :) It's good to receive an answer once in a blue moon.
|
All times are GMT -8. The time now is 04:58 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.