[Typo3] Strategy for page templates... help needed.

Amir Mualem amir219 at sbcglobal.net
Sun May 8 06:12:23 CEST 2005


Christopher wrote:
> Hiya,
> 
> --- Amir Mualem <amir219 at sbcglobal.net> wrote:
> 
>>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.
>>
>>I am pretty sure the tree structure you mean via template is this right:
>>
>>http://img.photobucket.com/albums/v289/Amirsan/tree.gif
>>
>>Well I looked through it.  I dont see or know of a content item which 
>>would direct me to changing the <h2> class that surrounds the 
>>pagecontent headers... maybe I am blind or clueless (I think its 
>>clueless)... Do you know any manual that teaches me how to use this tree 
>>structure?
> 
> 
> 
> I can answer this. At the risk of re-igniting flame part of this thread,
> I'll say that this is a better quality of question - but enough about that!
> This is also definitely a question about a tool which could stand to be a
> little bit better documented, especially since it's so damned useful...
> 
> So to the answer: nope, wrong tree. What you're looking for is called the
> 'Typoscript Object Browser,' or 'tsob' [1] and it (in conjunction with the
> TSref) is the single most useful tool available for learning Typoscript
> short of hiring Kasper to come over to your house and teach you himself.
> 
> To get to it, go to the 'Template' module in the BE, then from the select
> box under 'Template Tools' in the rightmost frame choose 'TypoScript Object
> Browser'. You'll get a tree which allows you to not only browse *every*
> typoscript object used in your site, but also to edit, override or unset
> any given item individually. Most of the wrapping is buried down deep in
> lib.parseFunc_RTE, but be sure to go through tt_content and lib.stdheader
> as well, cause (if you're picky about your HTML markup), you'll eventually
> want to change how some of the content elements are rendered as well
> (actually, looking back at your question, you'll want to head straight for
> lib.stdheader).
> 
> Another useful tool for finding out where TS objects get their properties
> is the "Template Analyzer" (available from the same place as the TSOB)
> which a) shows the hierarchy of templates in your site, and b) allows you
> to look directly at the contents of the static TS templates used by
> extensions to render content (e.g. you can look at css-styled content's
> static template directly).
> 
> Have fun. Once you get how useful the TSOB is, you'll suddenly find you can
> manipulate almost every aspect of rendered content on your site.
> 
> 
> -Christopher
> 
> 
> [1] http://typo3.org/documentation/document-library/doc_tut_quickstart/The_Object_Browser/
> 
> 
> 		
> Discover Yahoo! 
> Get on-the-go sports scores, stock quotes, news and more. Check it out! 
> http://discover.yahoo.com/mobile.html

Thank you Christopher!  I really appreciate that overview.  I sensed I 
was in the wrong place somehow since I wasn't finding anything 
relevent... then I realized its a reference. :)  Thanks for the 
direction and how to use it.  I have just redered it along with 
something that I found in the archives:

http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/54212/?tx_maillisttofaq_pi1%5Bmode%5D=1&tx_maillisttofaq_pi1%5Bsword%5D=css%20styled%20header&tx_maillisttofaq_pi1%5Bpointer%5D=1&tx_maillisttofaq_pi1%5Banswered_only%5D=0

Which explains how to edit the CSS itself.  The two guides (your 
overview and that list) works pretty well together in accomplishing what 
I tried to do.

Here is the final product of this whole mailing list thread:

http://www.stratcommandcenter.com/redesign/index.php?id=14

Thank you to those who helped.



More information about the TYPO3-english mailing list