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

Search found 6 matches
Smarty Forum Index
Author Message
  Topic: code editor that will find matching smarty tags
rubyaryat

Replies: 1
Views: 5066

PostForum: General   Posted: Fri Aug 05, 2005 1:00 am   Subject: code editor that will find matching smarty tags
I'm been trying to find an editor that will find the matching smarty tags in a script.
e.g. would find the closing {/if} in the following simple example:

{if $a eq "y"}
........
{/if}

Anyone ...
  Topic: format number data
rubyaryat

Replies: 1
Views: 6532

PostForum: General   Posted: Wed May 21, 2003 6:45 pm   Subject: format number data
I'm trying to export data to a csv file.
Problem is that the numbers >999 are formated with a ','
i.e. 3,536
I want 3536.

I tried the replace function:
replace:",":""

but it is not remov ...
  Topic: step attribute in {section} creating unexpected results
rubyaryat

Replies: 5
Views: 19729

PostForum: General   Posted: Sun May 04, 2003 4:00 pm   Subject: step attribute in {section} creating unexpected results
I've been experimenting with index_prev, index and index_next to create a three column table.

What I want the following table to create is:
0 1 2
3 4 5

What I get is:
-2 1 4
1 4 7
: ...
  Topic: Specifying index of an array
rubyaryat

Replies: 5
Views: 13630

PostForum: General   Posted: Thu May 01, 2003 3:35 pm   Subject: Specifying index of an array
Must have skipped that part of the doc...

Experimenting with index_prev, index and index_next to create a three column table.

What I want the following table to create is:
0 1 2
3 4 5
...
  Topic: Specifying index of an array
rubyaryat

Replies: 5
Views: 13630

PostForum: General   Posted: Thu May 01, 2003 1:01 am   Subject: Specifying index of an array
I'm looping thru and array and wish to access a element relative to the index.

i.e. wish to use something like:

$arrayname[arrayindex+1].Number

Anyone know how to do this?
  Topic: concatenate strings
rubyaryat

Replies: 17
Views: 215210

PostForum: General   Posted: Thu Apr 24, 2003 6:14 pm   Subject: concatenate strings
I can't find how to concatenate strings with smarty.
Have I missed it?
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP