[TYPO3-templavoila] FCE with select option for variable widths according to css grid system

Rachel Foucard rfoucard at w-seils.com
Tue Apr 7 19:53:02 CEST 2009


if I understand, I think that you could implement 1 data structure with all 
the necessary fields, and 3 template object for each box variation. Then, 
the user can have the 3 choices directly when he's inserting the content, 
but he can change his choice with the TO selector boxe.

Rachel Foucard.

"Thomas Rehhoff" <thomasr at REMOVETHISlinkfactory.dk> a écrit dans le message 
de news: 
mailman.1.1239004813.21607.typo3-project-templavoila at lists.netfielders.de...
> Hi again,
> what I meant was that the basic layout of the site is controlled via a 12 
> column grid, based on the css from 960gs framework.
> That gives you the possibility to insert boxes, that may contain several 
> smaller boxes of varoius sizes. These are controlled through simple calls 
> to the css. Fx.
> <div class=container_12">
>    <div class="grid_4">content</div>
>    <div class="grid_4">content</div>
>    <div class="grid_4">content</div>
> </div>
> this would give me an FCE which I would map up as 3 separate Data Elements 
> (editing type: Content Elements)
> What I'd like to control through an option select menu, is how the 
> structure of the entire FCE is going to be.
> Example:
> I insert the FCE and in the option select menu I get to choose from my 
> predefined sizes, say:
> Box_3333 (meaning a box with 4 container divs of sizes grid_3)
> Box_345  (meaning a box with 3 container divs of sizes grid_3, grid_4 and 
> grid_5)
> Box_66 ( (meaning a box with 2 container divs of sizes grid_6)
> etc.
> Normally I'd make all the different box-variations as seperate FCE's, but 
> I was thinkin if it wasn't possible to instead write all the needed 
> box-sizes into an option select menu and then only have one FCE to choose 
> from, where you manually decided, which one it should use.
> Hope I explained it well enough ;)
> /Thomas
> "Dmitry Dulepov" <dmitry at typo3.org> skrev i en meddelelse 
> news:mailman.1.1238964985.16895.typo3-project-templavoila at lists.netfielders.de...
>> Hi!
>> Thomas Rehhoff wrote:
>>> Imagine a site build on a grid system with 12 columns
>>> Now I want to build and FCE that lets the user choose from a select
>>> menu, which grid-widths the FCE should use. The grid widths are defined
>>> in the css classes.
>> I guess classes are static if they are in CSS. Why do you need FCE? If 
>> classes are static, you need static HTML.
>> May be I am wrong and did not fully understand the idea...
>> -- 
>> Dmitry Dulepov
>> In TYPO3 blog: 
>> http://dmitry-dulepov.com/article/google-analytics-certified.html
>> Twitter: http://twitter.com/dmitryd
>> Skype: liels_bugs

More information about the TYPO3-project-templavoila mailing list