2011-09-14, 04:49:52
andyash Wrote:There is a bug which adds \ before " in the html tags (with each edit it adds many more) thus messing up the entire code. I have tried to to use it to show random images but it messes up all the code and the images don't show up. If I manually edit and correct the mistakes in the file random_ads.xml, everything works fine but I need to know how to fix this bug since the moment I add an Ad it will mess up the code again.
Oh, good, then it's not just me. I had this issue (or something really similar) with the events plug-in as well. IMG and link code get munged with the quotes and they show an error on my public-facing pages (you can view the url for an image and see clearly why it didnt work). I tried just the local path for images and full URLs and didnt have much luck. And when I return to edit an ad I've tried to put an image in (and saved it) the editor hangs.
I wondered if there was something in the way the plugin calls the editor or processes the results I could change, I mean, if the page editor also uses CKEditor and it doesent have this problem, can I just use the same code (more or less) inside the plugin?