smarty
Referencing an index in an array in SMARTY template
I have a variable that is an array in Smarty, and I am trying to figure out how to retrieve that information. The variable is called $COMMENTS and I did $COMMENTS|@print_r and this is what I got:[详细]
2023-03-16 02:33 分类:问答How to use input hidden fields in smarty form
I want to use hidden field in smarty form tell me the how i use this i know how to add element like this 开发者_如何转开发[详细]
2023-03-16 01:11 分类:问答Extending PHP Smarty Singleton Class
I\'m not really sure how to ask this question. Basically I am trying to make my view object a singleton extended from the Smarty object. I then want to be able to extend off of the view object to my c[详细]
2023-03-15 22:01 分类:问答Prestashop - basket total price
it\'s me again with anoth开发者_如何学运维er Prestashop question. In my template, I\'d like to display total price in basket (cart) without using the module there, jsut simply display total price the[详细]
2023-03-15 17:12 分类:问答Prestashop - custom template link
I\'m starting with \"PrestaShop\" and I just can\'t figure out, how to put a link in template to custom page I created in CMS module... I thought, there might be some easy way, as there is in WordPres[详细]
2023-03-15 14:39 分类:问答Making Smarty supporting multiple languages
first of all, let me tell ya, that I\'m from Germany. So my English will not be very well. Please forgive me. =P[详细]
2023-03-15 13:44 分类:问答Using POST function in Smarty
Can someone explain to me the exact steps on how to use the post function in Smarty PHP? I have to be leaving something out somewhere, and I\'m not sure what. I\'m workingin CMSMadeSimple and I want t[详细]
2023-03-15 09:34 分类:问答Send user comment to Twitter, Facebook, LinkedIn [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-14 08:46 分类:问答Smarty: Outputting Rows Based on # of Items in Array
I am using Smarty to output an array to an HTML table. I want each row of the table to 开发者_开发知识库have no more than 8 items in it. If the array has more than 8 items then the code would make a n[详细]
2023-03-13 18:09 分类:问答Variable passed from PHP to Smarty and to Javascript
I have an object in php, which is passed to Smarty like $smarty->assign(\'o\',$o) Then I need to access that object and it\'s properties in javascript.[详细]
2023-03-13 06:40 分类:问答