[TYPO3-core] RFC: #12376: typo3temp got filled with thousands of javascript_* files

Jigal van Hemert jigal at xs4all.nl
Sun Oct 3 23:25:56 CEST 2010


Hi Lars,

On 3-10-2010 22:06, Lars Houmark wrote:
>> I did a debug($this->result) in extProc_init() and all it produced was a
>> list of wraps (allWrap and ATagParams). I don't think this is enough to
>> base the uniqueness of the js file on.
>
> The unique name is not for the JS file uniqueness in total, but for the
> menu (replacement to layer_menu_id) that is being referenced inside the
> JS file. I also did a debug and it showed the main TS code for the menu,
> which should be enough for the uniqueness needed.

I looked again, and all I got from the sample menu code was the contents 
of page.20.1.NO for each top level page:
array (
	0 => array (
		'allWrap' => '<td>|</td>',
		'ATagParams' => 'class = "menue"'
	),
	1 => array (
		'allWrap' => '<td>|</td>',
		'ATagParams' => 'class = "menue"'
	),
...
	5 => array (
		'allWrap' => '<td>|</td>',
		'ATagParams' => 'class = "menue"'
	)
)

Is that really enough?

-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-team-core mailing list