Author Topic: Scroller always strips tags?  (Read 2694 times)

EnriqueP

  • Newbie
  • *
  • Posts: 3
    • View Profile
Scroller always strips tags?
« on: 24 May 2009, 22:59 »
Hello everyone.

I have installed AJAX scroller and it works. Now I'm adjusting CSS.

But I have a problem with the "strip tags" setting. My tags seem to be "stripped" in any case, and in fact checking or un-checking the option makes no difference.

This might have nothing to do with my problem, but... My hosting  provider (1&1) uses PHP through CGI (whatever that is, don't ask me!) and the local php.ini settings don't propagate to subfolders (don't ask me details about that either!). The thing is that, after much looking around, I found out that to setup ionCube for AJAX scroller I had to leave several copies of php.ini (I left copies in /administrator, in /modules/mod_ajaxscroller and in /modules/mod_ajaxscroller/mod_ajaxscroller) - That way the module works.

Could it be that I am missing something in this respect? - And, if not... ??

Thank you and best from sunny Madrid,
-Enrique
« Last Edit: 26 May 2009, 16:28 by EnriqueP »

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Scroller always strips tags?
« Reply #1 on: 25 May 2009, 13:41 »
Hello,

All tags are stripped in any case except <a><b><strong><span><br><br /><small> if "strip tags" is off and <img><image> if "display images" is on.

You did it right for installation of ionCube, except that you don't need php.ini in /administrator.

EnriqueP

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Scroller always strips tags?
« Reply #2 on: 26 May 2009, 16:24 »
Thank you, Saka. Your post was most helpful.

I had come to the (erroneous) conclusion that "all" tags were stripped because I missed the <p>s and the <em>s used by my editor. After reading your message I am tweaking some of the line breaks, adding <br>s, and everything looks  better.

I have another problem, perhaps you could help me. I don't know what CSS adjustments I have to make to have items "not overlapping". OK, I'll explain this further: Look at one of my test scrollers in http://www.1080bits.com/general/contacto.html. It is based in your "CNN news" demo, but reads article titles instead of a RSS. You will see that often more than one title appears simultaneously in the bar... I don't know why, I think I don't quite get the idea of the "sizes" in the CSS.

Is it because of the original size (width) of the modules being scrolled?

Thanks for a great product and best from Madrid,
-Enrique

« Last Edit: 26 May 2009, 16:29 by EnriqueP »

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Scroller always strips tags?
« Reply #3 on: 26 May 2009, 22:50 »
Hello,

It's just the module width that needs to be edited like you did. However, you made a mistake and wrote "630x" instead of "630px":
http://www.1080bits.com/modules/mod_ajaxscroller/mod_ajaxscroller/style148.css
on line 22.

Correct it and it should fix it.

EnriqueP

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Scroller always strips tags?
« Reply #4 on: 28 May 2009, 12:53 »
You were right again. Thanks for your help - and sorry for my stupidity  ::)

Best,
-Enrique

webuser

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Scroller always strips tags?
« Reply #5 on: 25 June 2009, 01:35 »
Is there a reason for stripping the tags when the module has been specifically told not to? I have to go back through my articles now and take out any DIV and P Tags and replace them with spans and BRS which makes very little sense to me.

Can I suggest that in future versions you have the setting respected for all tags (unless there is a good reason that I can't think of).

Thanks

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Scroller always strips tags?
« Reply #6 on: 25 June 2009, 02:14 »
I will review it. I think some tags might break the javascript. Will see if I can allow div's and p's.