Author |
Message |
Topic: Displaying Multiple values in {includes} |
jcx1028
Replies: 3
Views: 5634
|
Forum: General Posted: Tue Apr 09, 2013 8:26 pm Subject: Displaying Multiple values in {includes} |
Not exactly sure where or how I would do that. Here's the featured.tpl file that is referenced in the Featured Vehicles box. Is there something in here that I could change to make this work?
<!- ... |
Topic: Displaying Multiple values in {includes} |
jcx1028
Replies: 3
Views: 5634
|
Forum: General Posted: Tue Apr 09, 2013 7:01 pm Subject: Displaying Multiple values in {includes} |
The Featured Vehicles box on our automotive website uses the following code to display selected vehicles...
{include file='blocks'|cat:$smarty.const.RL_DS|cat:'featured.tpl' listings=$ ... |
Topic: If HTML page exists |
jcx1028
Replies: 4
Views: 6581
|
Forum: General Posted: Thu Feb 28, 2013 5:49 pm Subject: If HTML page exists |
Thanks for your quick reply. Still a bit confused by this, though. Here's the updated version of my code...
{assign var="new_specials_path" value=$account.Full_name|replace:" ... |
Topic: If HTML page exists |
jcx1028
Replies: 4
Views: 6581
|
Forum: General Posted: Wed Feb 27, 2013 8:53 pm Subject: If HTML page exists |
I figure there must be a way to do this, but I can't seem to figure it out...
How do I check to see if a local html page exists and, if so, to display a link to it? But if it does not exist, show n ... |
Topic: Remove Decimal Points |
jcx1028
Replies: 1
Views: 5038
|
Forum: General Posted: Fri Nov 16, 2012 7:06 pm Subject: Remove Decimal Points |
Nevermind. I just found a setting in the admin section of our script that eliminates the decimal. |
Topic: Remove Decimal Points |
jcx1028
Replies: 1
Views: 5038
|
Forum: General Posted: Fri Nov 16, 2012 7:03 pm Subject: Remove Decimal Points |
On our site (http://www.theusedcarplace.com), we're displaying the price using {$listing.fields.price.value}. Problem is, this adds a space between the dollar sign (which I can deal with if I have to) ... |
Topic: Why are these line breaks being added? |
jcx1028
Replies: 3
Views: 9787
|
Forum: Bugs Posted: Fri Oct 12, 2012 5:26 pm Subject: Why are these line breaks being added? |
I'm working with an automotive listings script from Flynax, and while I had no problem installing it on one site a few months back, I'm running into issues with a new install of the script on a new si ... |
Topic: If File Exists |
jcx1028
Replies: 7
Views: 53061
|
Forum: General Posted: Wed Apr 18, 2012 3:28 pm Subject: If File Exists |
Thank you all for your help, by the way. I appreciate it. |
Topic: If File Exists |
jcx1028
Replies: 7
Views: 53061
|
Forum: General Posted: Wed Apr 18, 2012 3:28 pm Subject: If File Exists |
Through trial and error (lots and lots of error), I finally figured it out. Here's what eventually worked...
{assign var="img_path" value=$account.Full_name|replace:" " ... |
Topic: If File Exists |
jcx1028
Replies: 7
Views: 53061
|
Forum: General Posted: Tue Apr 17, 2012 5:50 pm Subject: If File Exists |
Using the following (with the double quotes) breaks both the Dealer Details page ({assign var="printad" value="/print-ads/{$account.Full_name|replace:" ":&qu ... |
Topic: If File Exists |
jcx1028
Replies: 7
Views: 53061
|
Forum: General Posted: Tue Apr 17, 2012 5:30 pm Subject: If File Exists |
I've got the path changed to a local file rather than a URL, but it's still not really working. It's showing ".pdf'} 0" in the spot where I'd like it to display the JPG. Here's what I'm usin ... |
Topic: If File Exists |
jcx1028
Replies: 7
Views: 53061
|
Forum: General Posted: Fri Apr 13, 2012 6:44 pm Subject: If File Exists |
Hi there. I've been working with Flynax's auto classifieds script, which is the first I've ever seen or used Smarty. And honestly, I'm not the best with regular PHP to begin with. So please pardon me ... |
|