[TYPO3-english] [Sourceopt] is this extension working for

Dave Bui Dave at kdweb.co.uk
Mon May 11 11:56:36 CEST 2009


Hi Andreas,

Thanks for the reply. I tried to put the provided script into Constant
Editor (see the screen attached), but still no luck.
(caches is cleared)

[Edit field] 	Title:  	+ext 
[Edit field] 	Sitetitle:  	 
[Edit field] 	Description:  	 
[Edit field] 	Resources:  	 
[Edit field] 	Constants:  	(edit to view, 12 lines) 
[Edit field] 	Setup:  	(edit to view, 0 lines)


Script in Constants area:

sourceopt {
   enabled = 1
   removeBlurScript = 1
   removeComments   = 1
   emptyBodyTag     = 1
   removeLinkSchema = 1
   removeRealUrlBrokenRootLink = 0
   formatHtml = 4
   formatHtml.tabSize = 2
   formatHtml.debugComment = 1
}


Any other thought?


Many thanks,
Dave




Message: 7
Date: Fri, 08 May 2009 19:32:13 +0200
From: Andreas Burg <typo3 at andreasburg.de>
Subject: Re: [TYPO3-english] [Sourceopt] is this extension working for
	you?
To: typo3-english at lists.netfielders.de
Message-ID:
	<mailman.1.1241803944.16896.typo3-english at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Dave
> Did anyone here in mailing list use "Sourceopt" extension before? I
> downloaded and installed it but it just does not work at all.

I use it and it works perfect.

> I put this script into Constant Editor box under my template folder:

put the code into your TS-templates constant field.

> config.sourceopt {
> 
> enabled = 1
> 
> removeGenerator = 1
> 
> removeBlurScript = 1
> 
> removeComments = 1
> 
> formatHtml = 4
> 
> }

remove the prefix "config." I use this code:

sourceopt {
   enabled = 1
   removeBlurScript = 1
   removeComments   = 0
   emptyBodyTag     = 0
   removeLinkSchema = 0
   removeRealUrlBrokenRootLink = 0
   formatHtml = 4
   formatHtml.tabSize = 2
   formatHtml.debugComment = 1
}

-- 
Andreas

Mailing list rules & guidelines (Mailing list Regeln & Leitfaden):
http://typo3.org/community/mailing-lists/
http://typo3.org/community/mailing-lists/mailing-list-rules-guidelines/



More information about the TYPO3-english mailing list