21309 Posts in 5738 Topics by 2603 members
|Go to End|
18 June 2010 at 9:19am
Hi everyone, I'm just getting to grips with SilverStripe for a new client. I want the client to be able to choose where to put a list of latest items from an RSS feed on a page by using something like the variables in a template -- like being able to use $MyExternalRSSFeed in the CMS and have it treat it as it would if it were in Page.ss. I think I'm pretty much there pulling in the RSS feed by integrating SimplePie (thanks to another post in the forums), but I'm not sure about the best way to go about it so that my client can call a variable in the CMS.
I found this post from 2009 suggesting that it 2.4 would have some kind of tokenized support for this. I don't really have any idea what tokenized support means.
Did this make it into 2.4 and how would I go about doing this? If it didn't, I'm fine with using the suggestion posted in that thread. But if there's a preferred way to do this, I'd like to learn to use that as I hope to use SilverStripe for future projects as well.
Thanks for any advice you can provide.
18 June 2010 at 4:09pm
Welcome to the forums! I made that orignal post. Yes its in 2.4. Its called 'ShortCodes' which does what I was explaining. A short tutorial is available on ssbits.
18 June 2010 at 11:24pm
Thanks Will, I will give it a try tonight.
|Go to Top|