Don't touch my Code!!!

  •  11-14-2007, 2:07 AM

    Don't touch my Code!!!

    Hi folks,

    i'm using CE6 (latest build) for a CMS; one of my problems is, if i want my customers to place dynamic content, they use this syntax (e.g. for a banner):


    because it is boring to type such stuff my customers use code snippets, loaded by the codes-list in the toolbar;

    this is all very nice, but now the problem:
    snippet "banner": <div><!--banner starts--><em>Hello World</em><!--banner ends--></div>
    when inserted it gets: <div><em>Hello World</em><!--banner--></div>

    my first comment just disappeared!
    4 ur interest, it doesn't change behaviour if it put another comment in front, so:
    <!--ce do not touch my code--><div><!--banner starts--><em>Hello World</em><!--banner ends--></div>
    also ends up as
    <div><em>Hello World</em><!--banner--></div>

    please, don't touch my stuff! any ideas, workarounds?

    thx in advance





View Complete Thread