[TYPO3] Wrapping Column Fields
Gilles Deacur
tronno22556 at gmail.com
Sat Jun 10 01:31:39 CEST 2006
Gilles Deacur wrote:
> I've searched the database and Google and can't find the answer. I've
> been working on this for 3 days.
>
>
> I have a template laid out in TV into 2 columns (field_side_column),
> (field_main_column) plus the menu field.
>
>
> Within the main column, I have other FCE defined.
>
>
>
> My template should have the main column wrapped in a <div
> class="main_column"> | </div> and the side column wrapped in a <div
> class="side_column"> | </div>.
>
>
>
> I've tried so many variations that I'd end up with a post too long to
> mention.
>
>
> Could I get some help please?
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.10 = HTML
page.10.value = field:field_main_content
page.10.value.stdWrap = <DIV class="xxxxxx"> | </DIV>
page.100 = USER
page.100.userFunc = tx_templavoila_pi1->main_page
Does nothing but put "field_main_content" within the template HTML.
More information about the TYPO3-english
mailing list