News ticker

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

jop
Posts: 66
Joined: Sun Sep 20, 2009 1:05 pm

News ticker

Post by jop » Sat Mar 21, 2015 8:42 pm

I am looking for a news ticker that work with the latest versions of XH?

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: News ticker

Post by Tata » Sat Mar 21, 2015 10:07 pm

If no plugin would match your needs, try this dirty (probably not validating) way:

Put your text in $tx['template']['text1'] in your language files.
Drop this code

Code: Select all

<div class="ticker"><?php echo "<MARQUEE>".$tx['template']['text1']."</MARQUEE>";?></div>
Style the class "ticker" in your stylesheet.
See simple (non styled) DEMO
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

jop
Posts: 66
Joined: Sun Sep 20, 2009 1:05 pm

Re: News ticker

Post by jop » Sun Mar 22, 2015 4:50 pm

Thank you - is there a proper functioning plugin for a simple horizontal news ticker?

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: News ticker

Post by Tata » Sun Mar 22, 2015 7:55 pm

AFAK no special plugin is available, but there are many jQuery scripts available e.g.: http://www.jqueryrain.com/demo/jquery-news-ticker/
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: News ticker

Post by cmb » Sun Mar 22, 2015 7:56 pm

Try: news_ticker_mod. It's based on Tata's news_ticker 1.2b (the latest version I've been able to find). It is propertly UTF-8 encoded, and is supposed to support pausing of the news ticker on mouse hover.

Note, that <marquee> is a nonstandard HTML element, and may not be supported by contemporary or future browsers. Note also, that news tickers cause accessibility problems. Actually, I would not use them.
Christoph M. Becker – Plugins for CMSimple_XH

lck
Posts: 2971
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: News ticker

Post by lck » Sun Mar 22, 2015 8:08 pm

Is always important, what you exactly need it.

CMSimple News with Feature: "Display news using a newsticker or a newsslider."
Calendar_XH_Version 1.4.6 with Feature: "Display of Next Coming Event via Marquee"
Yanp_XH No ticker, but may be an option.
Newsbox Rotator Newsrotator
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: News ticker

Post by Tata » Sun Mar 22, 2015 10:08 pm

cmb wrote:Note, that <marquee> is a nonstandard HTML element, and may not be supported by contemporary or future browsers. Note also, that news tickers cause accessibility problems. Actually, I would not use them.
That's why I have not mentioned it at all. I didn't have any problem with MARQUEE and any of new browsers, however. As long as the validation is not your point of importance, it might do what you need.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

mhz
Posts: 676
Joined: Tue Jun 25, 2013 8:46 pm
Location: Heusenstamm, Hessen
Contact:

Re: News ticker

Post by mhz » Mon Mar 23, 2015 10:46 pm

Try this here (but it is in German)
http://home.michael-zajusch.de/?Plugins:News
Michael Zajusch (mhz)-- Mein Tutorial für CMSimple_XH. Früher

jop
Posts: 66
Joined: Sun Sep 20, 2009 1:05 pm

Re: News ticker

Post by jop » Fri Apr 03, 2015 2:50 pm

Thanks for good suggestions.
Experimenting with CMSimple News. Can it be called from a hidden Newsbox placed and shown in template (I have problems with that)?
Text written in field "Short: Short description. The preface of the entry" will not be shown? Only title is shown?
Any help will be appreciated.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: News ticker

Post by cmb » Fri Apr 03, 2015 4:14 pm

jop wrote:Experimenting with CMSimple News. Can it be called from a hidden Newsbox placed and shown in template (I have problems with that)?
Yes. You have to make the respective settings like you would place the plugin call in the template directly, and have to add the third parameter (TRUE). See section "Calling the newsticker in the template" resp. "Calling the newsscroller in the template" in the plugin help file for details.
jop wrote:Text written in field "Short: Short description. The preface of the entry" will not be shown? Only title is shown?
According to the plugin help file:
The newsticker does only show the publishing date, the title and the link (if given) of the entry.
[...]
The newsscroller shows the date and the title (as link if given) only.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply