TypoScript: Include Right Content Column into Template Typo3 [7.6.10] -
i want use "right content" column in template. created in backend example content this:
i wrote source code of template on own. looks this:
page = page page.stylesheet = fileadmin/template_ffw/style/style.css page.typenum = 0 page.10 = template page.10.template = file page.10.template.file = fileadmin/template_ffw/index.html page.10.workonsubpart = document_body page.10.subparts { content < styles.content.get asside < styles.content.getright menu = hmenu menu.1 = tmenu menu.1 { no = 1 no.allwrap = <div class="level1"> | </div> } } page.10.marks{ logo = image logo.alttext = logo logo.file = fileadmin/template_ffw/style/ffw_logo.png rootline = hmenu rootline.special=rootline rootline.special.range= 0 | -1 rootline.1=tmenu rootline.1.no.allwrap= | / |*| | / |*| | }
at index.html file have source code:
<html> <head> <title>test</title> <link rel="stylesheet" type="text/css" href="style/style.css" /> </head> <body> <!-- ###document_body### start--> <div id="kopfzeile"> <div id="logo"><a href="index.php" style="font-weight: inherit; font-size: inherit; font-family: inherit;">###logo###</a></div> <nav> <!-- ###menu### start--> <a href="einfuehrung.htm">navigationslink</a> <!-- ###menu### end--> </nav> </div> ###slider### <div id="breadcrumb">###rootline###</div> <div id="main"> <!-- ###content### start--> <h1>willkommen</h1> <h2>hier soll der inhalt später stehen.</h2> <p>an dieser stelle soll später der inhalt von typo3 eingefügt werden.</p> <!-- ###content### end--> <div id="asside"> <!-- ###asside### start--> <h1>example heading</h1> <!-- ###asside### end--> </div> </div> <!-- ###document_body### end--> </body> </html>
but on frontend content of right column not displayed. have bug in typoscript. frontend page looks this:
i know source code question, searched mistake long, i'm not shure is. , better less informations. hope can me.
as can see in www/vendor/typo3/cms/typo3/sysext/css_styled_content/configuration/typoscript/setup.txt
file stylescontent.txt
folder "helper" not included automatically anymore. guess must include <include_typoscript: source="file:ext:css_styled_content/configuration/typoscript/helper/stylescontent.txt">
getleft, getright , getborder definded. alternatively can add 1 line after asside < styles.content.getright asside.select.where = {#colpos}=2
or know templating time asside.select.where = colpos=2
well, @thomas recommended should anyways switch fluidtemplate
getting column not directly depends on that. want make know fluid right thing.
Comments
Post a Comment