[TYPO3] Tidy up page source

Benjamin Todd b.todd at emnet.co.uk
Fri Feb 2 15:50:42 CET 2007


Thanks Tyler, that TS line worked great 8)

I was thinking about semantics regarding names over numbers; a little
bit like using realUrl for addresses instead of uid numbers.

Regarding stripping (of anchor links) I was just thinking there might be
a way to do it in Typo3. 

Big thanks,

Ben :)

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Tyler
Kraft
Sent: 02 February 2007 10:44 AM
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3] Tidy up page source

You can turn off the comments using page.config.disablePrefixComment=1

Regarding anchors - you could possibly rewrite large amounts of the 
typoscript to not use numbers but something else, although I don't know 
what you would use. But regarding not putting them in unless they were 
linked to - well that would be hard to do I think and also be overly 
taxing on the page generation (why have it do all kinds of php to check 
if each content item is linked to anywhere if it doesn't need to). But I

guess the greater question is why - its not like they add huge amounts 
to the page weight.

Just my 2cents



Benjamin Todd wrote:
> Hi again,
> 
> Is it possible to instruct Typo3 to suppress generation of comments in
> the html source? Typo3 generates a lot of comments that make the
source
> messy and the file larger.
> 
> Also can T3 suppress the named anchors when they are not linked to?
And
> can they be given meaningful names instead of numbers (the uid values
I
> think they are)?
> 
> Thanks in advance,
> 
> Ben :)
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Scanned for viruses by MailDefender


More information about the TYPO3-english mailing list