Custom Smarty Objects
Need a little help with smarty/x-cart though not sure how to search for this┘ it's somewhere between a mod and basic template hacking...
Basically I need to create a new smarty object and be able to define it's variable in the admin. Allowing for custom text and link fields to be used.
So for example-
* $newobject field created in database
* Use {$newobject} in a tpl file
* Assign $newobject a line of text on the admin (in this case I already have a blank custom 'banners' page in the admin ready to go)
Any pointers to do this? I have a php developer I could call but trying to learn a lot myself.
__________________
X-Cart Pro
4.4
|