Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 3 matches
Smarty Forum Index
Author Message
  Topic: Help on filtering
mymaterick

Replies: 0
Views: 522

PostForum: General   Posted: Tue Feb 23, 2021 10:29 pm   Subject: Help on filtering
I have some code that lists all my categories, I would like to amend it to only list certain ones containing a word in the category name.

<div>{if is_array($ARRGETFLORISTCATEGORY)}<div cla ...
  Topic: Sort alphabetically
mymaterick

Replies: 3
Views: 7108

PostForum: General   Posted: Fri Oct 21, 2011 6:30 pm   Subject: Sort alphabetically
thanks douglassdavis

I did it in SQL, with - order by

lesson well learnt
  Topic: Sort alphabetically
mymaterick

Replies: 3
Views: 7108

PostForum: General   Posted: Fri Oct 21, 2011 6:54 am   Subject: Sort alphabetically
Hi i want to sort the results from this code

{if $smarty.foreach.ListFeatureFlorist.iteration % 3 == 0}</tr>
<tr>{/if}
{/foreach}

at the moment they come up in ...
 
Page 1 of 1
All times are GMT
Jump to:  


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