[TYPO3] to with css_styled_content

theboss at asleepatwork.com theboss at asleepatwork.com
Mon Jan 14 22:58:47 CET 2008


I have used the following on a site to change all H1 headings to be output
as H4 without the need to update all content elements. The change was made
in my template Setup.

####HEADER STYLE TYPE 1 #####
#Changes all defined H1 headers to be H4
lib.stdheader.10.1 >
lib.stdheader.10.1 = TEXT
lib.stdheader.10.1.current = 1
lib.stdheader.10.1.insertData = 1
lib.stdheader.10.1.fontTag =
<h4{register:headerStyle}{register:headerClass}>|</h4>

I hope this helps also.

David

On Mon, 14 Jan 2008 21:06:05 +0100, "Ernesto Baschny [cron IT]"
<ernst at cron-it.de> wrote:
> Ryan Holdren wrote: on 13.01.2008 03:44:
> 
>> I am using tt_content and css_styled content to display my content for a
>> template i am making. Its going good so far, I found some neat tricks
> for
>> cleaning up the output and what I have looks something like this:
>>
>> <h1>Test</h1>
>> <p>Test</p>
>> <h1>Test</h1>
>> <p>Test</p>
>> <h1>Test</h1>
>> <p>Test</p>
>>
>> Which is just how I want it except I need the h1's to be h4's (h1 is my
> site
>> title, h2 is my subsite title and h3 is my page title, so h4 should be
> the
>> subject headers).
>>
>> How can I do this?
> 
> In the "Constant Editor" in the Category "CONTENT" you find:
> 
> Default Header type	[content.defaultHeaderType]
> Enter the number of the header layout to be used by default.
> Range: 1 - 5
> Default: 1
> 
> Just change that value to "4" and you will be set.
> 
> Cheers,
> Ernesto
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list