Insert New Container showing on front end (not logged in)


(Alderman) #1

We are sometimes seeing the following code in squiz pages on the front end while browsing anonymously..

<div id="content_div_8078">
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;
    &lt;a class="icon" title="Insert New Container" href="#"&gt;
        &lt;span class="screenHide"&gt;&lt;/span&gt;
    &lt;/a&gt;
&lt;/p&gt;

</div>

Any ideas why this might be? 


(Nic Hubbard) #2

Just do a search for asset ID 8078 and then change it by clicking this icon:

 

Screen%20Shot%202014-03-26%20at%209.15.1

 

You need to change your Content Div's Style Information "Presentation" option to Raw HTML:

 

Screen%20Shot%202014-03-26%20at%209.12.3

 

 

It is highly advisable to change this on a global level, so any new assets will have their presentation set to Raw HTML. System Configuration -> Global Preferences:

 

Screen%20Shot%202014-03-26%20at%209.14.0


(Bart Banda) #3

Even though you might have the display set to DIV, it shouldn't be printing that code in the source. What version of Matrix are you on? Could be code copied from some copy and paste work from another div maybe. 


(Alderman) #4

Thanks both - I wondered too about whether it had been copied and pasted somehow.  We'll set the global raw html anyway.


#5

This does this for us as well- we are on 4.18.0
I thought this was expected that the divisions printed in the source this way.


(Nic Hubbard) #6

This does this for us as well- we are on 4.18.0 I thought this was expected that the divisions printed in the source this way.

 

No, you just need to change the default to prevent this from happening.