Page 1 of 1

rss button

Posted: Mon Nov 19, 2007 12:37 pm
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

Re: rss button

Posted: Mon Nov 19, 2007 1:46 pm
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}