WebDev WebDev - 1 year ago 118
PHP Question

Disable wrap in base class TYPO3

I have installed plugin news. It is generating such html:

<div id="c69" class="csc-default">
<div class="news">

But I want remove this wrapping. I don't have it in my templates. They are generated automatic. How can I do it? Typo3 version 7.6.6

Answer Source

You can disable using TypoScript

tt_content.stdWrap.innerWrap >

Put above line in your Template > root template > Setup

It'll give you clean HTML output as your layout without default wrap of css_styled_content. or if you see classes with extension related then must be from extension which you used. In extBase structure you'll find ext_key/Resources/Private/Layouts and Templates.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download