| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Where is smarty called from? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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. |
|||||||
#2
|
|||||||
|
|||||||
![]() search the php files for
smarty->assign("thesmartyvariablenamewithoutthedollarsign " for $total_pages, it is in include\navigation.php |
|||||||
#3
|
|||||||
|
|||||||
![]() Thank you so much. It helped.
![]() |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|