|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
ianhaney Smarty n00b
Joined: 29 Sep 2014 Posts: 1
|
Posted: Mon Sep 29, 2014 7:45 pm Post subject: smarty help |
|
|
Hi
I am working on a website that uses smarty tags and to be honest am really stuck as don't use smarty often
The site is http://irhwebsites.com/sites/zacs-car-site/index.php
I want to have instead of featured listings have recently added and think I got the listings displayed but it only displays listings with images where as I would like it to display listings with and without images and also have it display random listings not just one
below are the links to pastebin with the coding for that section
functions.php file http://pastebin.com/xc9KmyPk
index.tpl file http://pastebin.com/1q0mzfPx
index.php file http://pastebin.com/TLT2re02
I just don't get it, please help am well stuck
Thank you
Kind regards
Ian |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Tue Sep 30, 2014 3:36 pm Post subject: |
|
|
Smarty is a template engine. It render the data you pass to it. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|