Author |
Message |
Topic: smarty2.0 help. section |
FounderSim
Replies: 0
Views: 3012
|
Forum: General Posted: Fri May 04, 2012 9:42 pm Subject: smarty2.0 help. section |
I am trying to run this loop inside my javascript tag for a special reason but it doesn't seem to be working. How can I do this?
{section name=mysec loop=$looper}
<tr> ... |
Topic: Backwards compatability |
FounderSim
Replies: 0
Views: 4457
|
Forum: Smarty 3 Posted: Mon Mar 07, 2011 2:43 am Subject: Backwards compatability |
How much stuff is backwards compatable with smarty2.
I use a lot of IF's and section loops for my templates. ;] |
Topic: smarty2 Parse error: syntax error, unexpected T_IS_EQUAL in |
FounderSim
Replies: 1
Views: 4928
|
Forum: General Posted: Mon Mar 07, 2011 2:42 am Subject: smarty2 Parse error: syntax error, unexpected T_IS_EQUAL in |
http://pastebin.com/xrjMWqV8 |
Topic: Smarty2, my text area is showing <br>'s |
FounderSim
Replies: 7
Views: 12952
|
Forum: General Posted: Mon Feb 14, 2011 2:18 am Subject: Smarty2, my text area is showing <br>'s |
Still not resolved... |
Topic: Smarty2, my text area is showing <br>'s |
FounderSim
Replies: 7
Views: 12952
|
Forum: General Posted: Mon Feb 14, 2011 2:12 am Subject: Smarty2, my text area is showing <br>'s |
Thanks mohrt. =]
applying now. |
Topic: Smarty2, my text area is showing <br>'s |
FounderSim
Replies: 7
Views: 12952
|
Forum: General Posted: Mon Feb 14, 2011 12:35 am Subject: Smarty2, my text area is showing <br>'s |
The text area is not the only place I am displaying the text. so i need the nl2br. but either way, its still not displaying in my textarea correctly. |
Topic: Smarty2, my text area is showing <br>'s |
FounderSim
Replies: 7
Views: 12952
|
Forum: General Posted: Sun Feb 13, 2011 10:11 pm Subject: Smarty2, my text area is showing <br>'s |
They edit in a textarea.
Magic quotes is off.
i'm striping tags to remove html.
nl2br turns new lines into html for when displaying on a webpage. =) |
Topic: Smarty2, my text area is showing <br>'s |
FounderSim
Replies: 7
Views: 12952
|
Forum: General Posted: Sun Feb 13, 2011 8:34 pm Subject: Smarty2, my text area is showing <br>'s |
I am trying to display my members bio in a text area and these ugly <br>'s keep getting displayed instead of doing a line feed.
$this->smarty->assign("memberBio", stripsla ... |
Topic: ws tooltip with Smary |
FounderSim
Replies: 1
Views: 4500
|
Forum: General Posted: Thu Jan 13, 2011 8:33 pm Subject: ws tooltip with Smary |
Error:
Fatal error: Smarty error: The HTML causing the error:
<script type="text/javascript">
dw_Tooltip.content_vars = {
L1: 'Some text in the tooltip for link 1'
}
</s ... |
Topic: asdf |
FounderSim
Replies: 1
Views: 5680
|
Forum: Smarty Development Posted: Thu Jan 13, 2011 6:28 pm Subject: asdf |
testing. keeps saying topic doesn't exist when trying to create new topic in geenral support |
Topic: html_options |
FounderSim
Replies: 13
Views: 18893
|
Forum: General Posted: Sun Jan 24, 2010 8:01 pm Subject: html_options |
still doesn't work.
//get shops
$result = mysql_query("SELECT sID, sNAME FROM shops WHERE game='$game_name' ORDER BY sNAME ASC") or die(mysql_error());
/ ... |
Topic: html_options |
FounderSim
Replies: 13
Views: 18893
|
Forum: General Posted: Sun Jan 24, 2010 9:55 am Subject: html_options |
my fault. my real template code is
<select name="selectShops[]" size="10" multiple="multiple" id="selectShops[]">
&l ... |
Topic: html_options |
FounderSim
Replies: 13
Views: 18893
|
Forum: General Posted: Sun Jan 24, 2010 3:54 am Subject: html_options |
fix syntax error, but yeah i wanted multiple items selected. |
Topic: html_options |
FounderSim
Replies: 13
Views: 18893
|
Forum: General Posted: Sat Jan 23, 2010 11:51 pm Subject: html_options |
not working. my code
//get shops
$result = mysql_query("SELECT sID, sNAME FROM shops WHERE game='$game_name' ORDER BY sNAME ASC") or die(mysql_error());
... |
Topic: html_options |
FounderSim
Replies: 13
Views: 18893
|
Forum: General Posted: Thu Jan 21, 2010 11:27 pm Subject: html_options |
a listbox istead of a drop down box. |
|