Project

General

Profile

Actions

Bug #75192

closed

Fluid Styled Content - CE type "special menu" wrong rendering on FE

Added by Riccardo De Contardi over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid Styled Content
Target version:
-
Start date:
2016-03-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

TYPO3: latest master 8.0-dev with Fluid Styled Content

To reproduce:
1- TS setup:


page=PAGE
lib.stdContent = FLUIDTEMPLATE
lib.stdContent {
        templateName = Default
        templateRootPaths {
                10 = fileadmin/Templates
        }
        variables {
         maincontent < styles.content.get          
        }
}
page.10 < lib.stdContent

2- put in the file /fileadmin/Templates/Default.html:

{maincontent->f:format.raw()}

3- in your page, put a content element, type: special menus (e.g. "menu of selected pages")

4- result: the CE renders on frontend:

&lt;ul class=&quot;ce-menu ce-menu-0&quot;&gt;

                &lt;li&gt;
                    &lt;a href=&quot;/index.php?id=5&quot;&gt;

                                prova2

                    &lt;/a&gt;
                &lt;/li&gt;

        &lt;/ul&gt;

addendum: same bug occurs with a simple:

page.10 < styles.content.get
Actions

Also available in: Atom PDF