Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Rewriting my links :-(


Reply

2 Posts   625 Views

Avatar
superted81

24 November 2010 at 12:15pm Community Member, 5 Posts

In the 'content' of the CMS, I click the 'HTML' icon and paste in this link:

<a href="assets/flash/autoopen2.swf?scale=noscale&amp;tag1=Sooth Your Mind &amp; Body&amp;tag2=Justice Through Integrity&amp;tag3=Helping Injured Victims&amp;tag4=Experience You Can Trust" class="lightwindow page-options" params="lightwindow_width=800,lightwindow_height=600" title="Preview: Doesn't your masthead look perdy?"><strong>Single SWF Example</strong> - Because I <strong>Love</strong> Flash...</a>

but when I click 'INSERT' it re-writes the link to this

<a class="lightwindow page-options" title="Preview: Doesn't your masthead look perdy?" href="assets/flash/autoopen2.swf?scale=noscale&amp;tag1=Sooth Your Mind &amp; Body&amp;tag2=Justice Through Integrity&amp;tag3=Helping Injured Victims&amp;tag4=Experience You Can Trust"><strong>Single SWF Example</strong> - Because I <strong>Love</strong> Flash...</a>

Which is stuffing up the javascript...

How do I stop it from rewriting my links?

Is there some nice little line I can whack in the mysite/_config.php file that will force the CMS to eat what I've given it for dinner?

Avatar
superted81

29 November 2010 at 7:57pm Community Member, 5 Posts

I finally figured it out.

I just ripped out the 'tinymce' folders from "saphire -> thirdparty"

Then whacked it back after I did what I wanted.

:-)