[TYPO3] Splitting a string to an array with TypoScript

Christopher Torgalson bedlamhotel at gmail.com
Wed Jul 9 09:32:46 CEST 2008


Hi,

On Wed, Jul 9, 2008 at 7:19 AM, Xavier Perseguers <typo3 at perseguers.ch> wrote:
>> I want to be able to parse my meta-keywords assigned to my pages with
>> links to my search module searching for the keyword (to find simmilar
>> pages).
>
> Did you see that vge_tagcloud (or similar extensions) do this kind of
> stuff already without even "searching" for the page?
>
> Otherwise I do not know how to split (but I'm quite sure I saw once a
> "explode" somewhere in a TS code on this newsgroup or in the manual) but
> you may create a simple extension that reads this field and generate
> typolinks to the search page.


Here's a sample using .stdWrap's .split function to break apart a list
and output values from the db based on the items from the list:

http://www.typo3apprentice.com/samples/split/

-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list