Jump to:

5540 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » HTML Insert removing ID from tags

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

Page: 1
Go to End
Author Topic: 1169 Views
  • BunnergyBot
    Avatar
    Community Member
    4 Posts

    HTML Insert removing ID from tags Link to this post

    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.

    Léa

    Attached Files
  • BunnergyBot
    Avatar
    Community Member
    4 Posts

    Re: HTML Insert removing ID from tags Link to this post

    The code is working in firefox - you can see it here: http://www.thesystem.ca/SilverStripe-v2.3.2/assessment-areas/

    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
    1169 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.