[ic] [sql-filter] in the 'random' component

New Media E.M.S. ic_users at newmediaems.com
Fri Jun 11 15:48:37 EDT 2004


At 12:16 PM 6/11/2004, you wrote:

>Hi,
>
>I don't seem to be able to use [sql-filter] in templates/components/random
>to limit the number of characters displayed of the product title to
>seventy-five.  Here's my code snippit:
>
>         <tr>
>           <td width="75%" class="contentbar1" align="center" height="50"
>valign="top"><b>
>             &nbsp;[sql-filter 75.][loop-description][/sql-filter]</b>
>           </td>
>         </tr>
>
>The contents of the 'description' field appears surrounded by the unpharsed
>tag.  Suggestions?
>
>Regards, Ade.

If you are running this inside a [loop][/loop], then you would want 
[loop-filter] - prefixes have to match. Also, the period after 75 is not 
needed, though it is probably not harming anything.

- Ed


===============================================================
New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          edl at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax
=============================================================== 



More information about the interchange-users mailing list