Page 1 of 1
Populating Javascript values from CMS content
Posted: Fri Sep 12, 2008 5:03 pm
by Joff
I'm using the news content and would like a Javascript ticker elsewhere on the site showing just the news headline, with a link to article.
There are several tickers on Dynamic Drive, but can anyone point me in the right direction for integrating it with CMS MS?
Re: Populating Javascript values from CMS content
Posted: Fri Sep 12, 2008 7:40 pm
by viebig
in my opnion, you should customize a mootools ticker, for example
http://tekartist.org/labs/mootools/moostick/
the best thing about it is that you will just have to modify the js, not the code. Sure, you need to be familiar with mootools.
Try it!
Re: Populating Javascript values from CMS content
Posted: Sat Sep 13, 2008 8:22 am
by alby
Joff wrote:
I'm using the news content and would like a Javascript ticker elsewhere on the site showing just the news headline, with a link to article.
There are several tickers on Dynamic Drive, but can anyone point me in the right direction for integrating it with CMS MS?
I use one of those
here
Alby
Re: Populating Javascript values from CMS content
Posted: Sat Sep 13, 2008 8:57 am
by Joff
Thanks to both of you!
Alby, I should have said, it's a horizontal ticker I need, not vertical

Thanks anyway, I think it's the same one I've used on another project too!
Re: Populating Javascript values from CMS content
Posted: Fri Sep 19, 2008 10:14 am
by Joff
For anyone interested, I went down the Mootools ticker route, adding the javascript call into the page with literal smarty tags.
Then, I created a second News template for the news module (called ticker or something), which returned all the news headlines as an unordered list.
Then the ticker code just works!

Re: Populating Javascript values from CMS content
Posted: Fri Sep 19, 2008 1:40 pm
by viebig
great Joff, share!
Re: Populating Javascript values from CMS content
Posted: Fri Sep 19, 2008 1:46 pm
by Joff
All in good time
I'm just making sure the client is happy for the site to be posted on here. Failing that, I'll set up a demo on another domain.