How to split Strings with Smart

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jonnieb
Forum Members
Forum Members
Posts: 16
Joined: Thu Sep 11, 2008 10:32 pm

How to split Strings with Smart

Post by jonnieb »

Hi!

I´m using FEU and FEUListing. In FEU I have a multiple select field. My problem is, that all fields selected are saved as "option1,option2" in one string, seperated by comma.

What I need is simple

option1
opton2

How can I split the string with smarty?

Best,
Markus
viebig

Re: How to split Strings with Smart

Post by viebig »

Maybe a smarty modifier can parse the comma separated and return gthe  lis.. Check the smarty manual for modifiers examples

Regads

G
Post Reply

Return to “CMSMS Core”