View Single Post
  #1  
Old 08-17-2010, 08:12 PM
 
inteliboy1 inteliboy1 is offline
 

Member
  
Join Date: Jun 2010
Posts: 27
 

Default 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
Reply With Quote