[Typo3] Strategy for page templates... help needed.
Amir Mualem
amir219 at sbcglobal.net
Sun May 8 00:45:35 CEST 2005
Tyler Kraft wrote:
> Amir I just told you! Go back and read! It is all to do with the
> content wrapping, which you can adjust and control through your template
> setup, and you can even do it from the tree structure via template >
> template object browser! Choose what conetnt item you want to chage the
> default wrapping for and the it will not only show you what the wrapping
> is but also if you click on the item name you can then edit the wrapping
> to be whatever you want or need.
>
> DID you even look on the archives???
>
> A search of 'css styled content wrapping' turns up 28 possible threads,
> and several of those deal with what you just said you couldn't find with
> google.
>
> As far as applying padding to your inner area - I would add padding to
> the whole div that holds all the content, and then yes you will have to
> use the box model hack, but you then wouldn't have to worry about
> applying margin or padding to each possible item that goes into that area.
>
> So just at least try look for the answer your self! I first searched
> for 'css style content' and had +600 possible threads, so I then
> searched for 'css styled content wrapping' and got 28 threads that
> address this topic particularly. Not a hard search to get at the answer.
>
> http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110097041/?tx_maillisttofaq_pi1%5Bsword%5D=css%20styled%20content%20wrapping&tx_maillisttofaq_pi1%5Banswered_only%5D=0&tx_maillisttofaq_pi1%5Bmode%5D=1
>
>
> The tenth item down in the search and I chose it becasue it vaguely look
> similar to what I (being you) might want to achieve, and there it is, a
> long detailed explanation of what to do followed at the end by a how to!
>
> Its things like this that make us all upset.
>
> Goodnight Amir, I hope tomorrow goes better for you than the last few
> days but I also hope you awake with the idea of not being so damn
> obstinate.
>
> tk
>
> Amir Mualem wrote:
>
>> Tyler Kraft wrote:
>>
>>> Ok Amir here is the answer:
>>>
>>> If it was me I wouldn't use TV for this or FCE. You have a nice html
>>> template that is well done (I see you sorted out the box model issue)
>>> and the content you want to replace into it is not complex at all, as
>>> its just simple text.
>>>
>>> I would probably template this the old-fashioned way and insert from
>>> my template the menus (which I believe you've already solved), the
>>> page title, the breadcrumbs as a tmenu (not a hard tmenu to do, again
>>> refer to the tsref as it explains all the properties you need and the
>>> archives for examples), and last but not least the content. The
>>> content you can just use regular content items for most of this but
>>> if at some point you need a more complex specific content item then
>>> create one with TV or do the old fashioned method of creating a COA
>>> object to do it for you to insert a specific content layout
>>> consistently. You can then through your template setup and
>>> typoscript manipulate all the content wrapping so that you only get
>>> h1 with out the css_style_content classes for example. You can also
>>> configure the rte to produce pretty clean text for you. You can
>>> combine the use of FCE and the standard items as you wish, but I cant
>>> see anywhere here you need to do this.
>>>
>>> Unfortunately this will probably require you to do a lot of research
>>> and reading of tsref and the archives (lets just not even start with
>>> if you should do this or have to do this). But the answers are not
>>> hard to find. Ex if you wanted to change the css_styles_content
>>> classes that headers get wrapped with a search for 'change css styled
>>> content classes' or another variation will probably quickly show you
>>> that you need to adjust the TS wrapping, and you can do this in the
>>> template setup or with the template object browser (check the 'enable
>>> object link'). The template object browser will allow you to not
>>> only edit you settings but help you get an idea about how it is
>>> structured.
>>>
>>> So there is my advice,a and there are many ways to do it, but doing
>>> it this way would probably take me a few hours to get up and
>>> running. and I'm not saying that to show off or be cocky, I'm trying
>>> to point out that for all the reading you will do it really does pay
>>> off - often and repeatedly. Honest I know it takes time but just
>>> please try it. You wouldn't put a new driver into a F1 car would
>>> you? They would need some experience and training. This also takes
>>> effort and time.
>>>
>>> hth
>>>
>>> tk
>>>
>>> P.S if your not sure about what I mean by the old fashioned way of
>>> templating then contact me off list and I'll explain it and show you
>>> some examples. But if I don't reply for a while then don't get upset,
>>> I'm in the middle of finals and work so a bit busy.
>>>
>>> Amir Mualem wrote:
>>>
>>>> As some of you may know, I am making a template for my site. I am
>>>> using TemplaVoila. I have recently made a Flexible Content Element
>>>> to wrap all my content.
>>>>
>>>> Well here is my problem, maybe you guys can give some advice.
>>>> http://www.stratcommandcenter.com/redesign/fileadmin/templates/static2.html
>>>>
>>>>
>>>> That is how I want most of my pages to look like. Inside that box
>>>> is where I want content for every page, except the main page, and
>>>> news single view will have some variations,. but all in all, I want
>>>> my content to be like that in that container.
>>>>
>>>> What would be the best way to go about doing this. Basically what
>>>> is the best strategy? I tried flexible content elements and that
>>>> has not been working, since now I cannot use other elements like
>>>> Table etc..
>>>>
>>>> Any ideas?
>>
>>
>>
>> And thanks for the advice... but I have been searching TSref and other
>> docs, google, archives, but I still cant find out a step by step guide
>> on how to change css default style classes...
>>
>> My brain is fried...
>>
>> -- Btw, I solved the problem with this question, simply change the
>> editing type of the body map in the template objects mapping to
>> Content Elements.
Now thats advice. Thats all I ask. Is that hard for anyone to
understand? Thank you, and have a good night sleep there.
More information about the TYPO3-english
mailing list