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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

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

HTML Insert removing ID from tags

Go to End

2 Posts   1525 Views


Community Member, 4 Posts

8 September 2009 at 6:59am

Edited: 08/09/2009 7:42am

For the most part I am working in Silverstripe using the admin interface but for more complicated stuff I am using DreamWeaver to create the code then simply copying and pasting in the code through the HTML editor.

The problem is the Insert function is stripping out code. It is turning <UL id="thepyramid"> into <UL> Tried wrapping a <span> around the UL and applying the ID there but it did the same thing. I tried it with a div and though the insert did not remove the id the code doesn't work the way it is intended and produces bizarre results ;)

I have attached the code and the jpg that it uses (use pyramidrollover2.html which works in both browsers - the system won't remove the first file from the post :/ ) .

When I copy the css code into the layout.css I adjust the image url reference to (../images/pyramid_with_menu.jpg)

If any gurus out there can tell me how to fix this I would be eternally grateful since I have to a couple of these types of things to do

I found the db and was able to enter the text directly however the rollovers are still not working.

Thanks in advance for the advice.


Attached Files

Community Member, 4 Posts

8 September 2009 at 8:40am

Edited: 09/09/2009 3:36pm

The code is working in firefox - you can see it here:

In EI 8 the rollovers are not working but you get the titles \o/ .. very helpful ;)

Attached is the modified code (really only one change to include the relative positioning for the overall ID)

It works outside if SilverStripe :/

Attached Files