![]() |
Where is Smarty v2 doc, and what does the {interline} Smarty command do?
I'm customizing my X-Cart Pro v4.4.2 installation. I've noticed some differences between Smarty v3 (current version of Smarty) and Smarty v2.6.26 (the version used by X-Cart v4.4.2, per X-Cart sales). I▓ve been out to smarty.net many times, but I can▓t find documentation on Smarty version 2. In particular, does anyone know what the Smarty command {interline} does? I▓ve done Google searches as well and can▓t find a thing. Any help is greatly appreciated.
|
Re: Where is Smarty v2 doc, and what does the {interline} Smarty command do?
This is not a smart command, it is a custom modifier. You can find its code in include/templater/plugins/function.interline.php
|
Re: Where is Smarty v2 doc, and what does the {interline} Smarty command do?
Smarty 2 doc is found in the same place as the Smarty 3 doc. smarty.net, click on documentation in the menu bar and it lists smarty 2 doc links just below the smarty 3 doc links. But as Steve noted that won't help you as interline isn't part of smarty, its a custom function so you'll need to look at the code to see what it does.
|
Re: Where is Smarty v2 doc, and what does the {interline} Smarty command do?
I found where the Smarty version 2 doc is - right beneath the version 3 on smarty.net.
I posted a thread on smarty.net regarding {interline} - I received a reply that suggested interline is X-Cart related and not a Smarty command. Does anyone know what interline is, what it does, and where I can find documentation on it? Here's an example of it: <tr{interline name=products_matrix additional_class="product-name-row"}> |
Re: Where is Smarty v2 doc, and what does the {interline} Smarty command do?
Thanks to cflsystems and geckoday for your replies. I took a closer look and now it makes sense. I was wondering what list2matrix was as well, and now I know. Thanks again.
|
Re: Where is Smarty v2 doc, and what does the {interline} Smarty command do?
It's "do it yourself" kind a thing. There is no documentation. If you run into smarty modifier/function that you cannot find on the smarty site then it is custom one for XC
|
Re: Where is Smarty v2 doc, and what does the {interline} Smarty command do?
And it doesn't help that QT doesn't put any comments into their functions to explain what they are for and usage examples. interline only lists *some* of its parameters and doesn't even say what they are for. QT coding is abysmal - it not only makes it harder for all of us its makes it harder for their internal developers. Its no wonder their releases are so buggy.
|
All times are GMT -8. The time now is 03:03 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.