[Typo3] can't get styles.content...
Tyler Kraft
headhunterxiii at yahoo.ca
Thu Nov 3 13:21:30 CET 2005
try renaming the <td class="td-tresc" id="td-tresc"></td> to something
else like <td class="newname" id="newname"></td> and then change your
typoscript to subparts.newname < styles.content.get
it will perhaps alter the layout of your template but at least it will
allow you to find out if its just the name/id of the table cell thats
the problem.
then if thats the problem you need to spend (20min) changing your html
and css for it to work...
hth
Piotr B. wrote:
> hi!
>
> here is my html-template cut:
>
> [...]
> <table class="tab-menu">
> <tr>
> <td class="td-menu" id="td-menu"></td>
> <td class="td-tresc" id="td-tresc"></td>
> <td class="td-promo" id="td-promo"></td>
> </tr>
> </table>
> [...]
>
> and the template-config part:
>
> [...]
> temp.mainTemplate = TEMPLATE
> temp.mainTemplate {
> template =< plugin.tx_automaketemplate_pi1
> workOnSubpart = DOCUMENT_BODY
> subparts.td-tresc < styles.content.get
> subparts.td-menu < temp.menu
> [...]
>
> almost everything works - td-menu [page's menu] is filled with temp.menu
> etc., but td-tresc [page's main body] remains empty... i've tried to
> fill td-menu with styles.content.get - it worked, tried to fill td-tresc
> with temp.menu - also failed... what's wrong? am i missing something?
> class and id names are ok, no misspelled letters etc... after a two-day
> battle with this problem i have no idea what to do...
>
> tia
>
More information about the TYPO3-english
mailing list