rss button

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
piotr22
Forum Members
Forum Members
Posts: 53
Joined: Wed Nov 29, 2006 6:58 am

rss button

Post by piotr22 »

I have next problem  with  rss

I insert in site

{cms_module module="news" category="EG" makerssbutton="true"}

and when I click this in IE 7.0 or firefox everythink is ok  but when I click this button in IE 6.0 somethink is wrong.
I see some code. I know that IE 6 has't plugin whitch read rss.

And my question is
Is it possible insert some code which

if user have IE 7 or firefox  then  user see this button  else    user see some text information.

where and how to do this

thx please help
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: rss button

Post by kermit »

something like this oughta do the trick:

{cms_module module="news" category="EG" makerssbutton="true"}Hey you.. Yeah, YOU!!. Get a real browser.

if you want to do this; browser share being what it is, you should only have to worry about IE6 and earlier...

template css contains:

div.rssbutton span {display:none;}

template (below {stylesheet}) or page metadata (ensure {stylesheet} is BEFORE {metadata} in your template if you put it in page metadata) contains:

{literal}


div.rssbutton span {display:inline;}
div.rssbutton img {display:none;}


{/literal}
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Post Reply

Return to “Modules/Add-Ons”