I've installed the module, enabled jq plugin, created a SlideShow text format, created a node with the example from http://drupal.org/node/237049 and set TextFormat=slideshow, saved, then cleared all caches.
When viewing the node I just see the" [slideshow:...] " code as if it were text, not being parsed.
Analysis:
Looking at the page sources, jquery.cycle.all.min.js is being loaded along with slideshow_creator.js, so the module is active.
Browser: Safari 5.1.3/OS Lion, javascript is on. Firefox displays the same.
No errors in the watchdog log.
Text Format order: Filtered HTML, Slideshow, Full HTML, plain text. (played with different orders, but no improvement)
Next, I activated "SlideShow Create" in Filtered HTML (SC is the first in the filter processing order)
and changed the format for the node to that, now one sees:
Previous Slide 1/2 NextDrupalThe ultimate CMS. Download it now!MySQLFree and reliable SQL server and client.
if(typeof(window['ssc_settings'])=='undefined') { ssc_settings = new Object(); }
ssc_settings['13fe807d1'] = new Object();
ssc_settings['13fe807d1'].height = 240;
ssc_settings['13fe807d1'].pause = true;
ssc_settings['13fe807d1'].next = '#ssc-next-13fe807d1';
ssc_settings['13fe807d1'].prev = '#ssc-previous-13fe807d1';
In this format, the ckeditor adds a leading/trailing
tag, not sure if that has an influence..
There must be something obvious I'm missing, thanks for any tips..
Comments
Comment #1
rhouse commentedYou have shown the order in which your text formats are listed, and now you need to go within the text format setup for each text format that you want to use to post slideshows and check the order in which the filters are applied. If you are seeing the original unaltered slideshow text (and you have turned on the slideshow filter for that text format) then probably an earlier filter has changed something (for example, turned a special character into its html character name). Try setting up a special format with nothing but the slideshow creator filter activated. That should work, so then you can turn on filters one at a time until something breaks. Even that can often then be fixed by reordering the filters. But "filtered html" probably will never work because it is a highly restricted format intended to be safe for any old poster (such as anonymous comments) - you should not add ssc to this text format. The ssc filter will do its job, but some of the html it inserts will get deleted.
Also, when using WYSIWYG editors, switch to plain html to insert the slideshow code. I use ckeditor and it doesn't break the slideshow code, but it has to be inserted in html mode. You can check this out. If you switch to html mode you might see something that isn't what you think it is.
Comment #2
boran commentedCreating a slideshow text format and a ckeditor format, dedicated to SC, worked fine. Thanks.