Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

smarty help

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
ianhaney
Smarty n00b


Joined: 29 Sep 2014
Posts: 1

PostPosted: Mon Sep 29, 2014 7:45 pm    Post subject: smarty help Reply with quote

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
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Tue Sep 30, 2014 3:36 pm    Post subject: Reply with quote

Smarty is a template engine. It render the data you pass to it.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP