[TYPO3-core] RFC: #4662 PAGE_TARGET =

Steffen Kamper steffen at sk-typo3.de
Thu Oct 25 12:16:21 CEST 2007


Hi Ernesto,

"Ernesto Baschny [cron IT]" <ernst at cron-it.de> schrieb im Newsbeitrag 
news:mailman.1.1193297552.21705.typo3-team-core at lists.netfielders.de...
> Hi,
>
> the patch doesn't apply very cleanly because of these
>
> -
> ?>
> \ No newline at end of file
>
> parts. Maybe you could check on that? Other than that, just fix the

this is automatic created by tortoise - it doesn't matter (should)
Did you tried to apply the patch?

> version for the compat-version change:
>
> +    'version' => 4200000,
>
> should be:
>
> +    'version' => 4002000,
>
trunk is for 4.2 right? so 4002000 is 4.2?

> Then its a +1 from me.
fine ;-)

vg  Steffen

>
> Cheers,
> Ernesto
>
>
> Steffen Kamper wrote: on 24.10.2007 18:32:
>> *maybe final version*
>>
>> This is a SVN patch request.
>>
>> Type: ENHANCEMENT
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=4662
>>
>>
>> Branches:
>> Trunk
>>
>> typo3/sysext/css_styled_content/static/constants.txt
>> typo3/sysext/css_styled_content/static/setup.txt
>> typo3/sysext/css_styled_content/ext_localconf.php
>>
>> Problem:
>>
>> default setting for PAGE_TARGET is page. This is an old setting for 
>> frames,
>> nowadays it's obsolete.
>> Second tt_content.menu uses as target pageFrameObj which is obsolete too.
>>
>> Solution:
>>
>> setting in CONSTANTS:
>> [compatVersion = 4.2.0]
>> PAGE_TARGET =
>> content.pageFrameObj >
>> [end]
>>
>> setting in SETUP
>> [compatVersion = 4.2.0]
>> tt_content.menu.20.default.1.target = {$PAGE_TARGET}
>> tt_content.menu.20.2.1.target = {$PAGE_TARGET}
>> [end]
>>
>> remarks for update wizard
>>
>> $TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['tx_cssstyledcontent_pagetargets']
>> = array(
>>     'title' => 'CSS Styled Content: Default targets for non-frame pages',
>>     'version' => 4200000,
>>     'description' => '<p>The default page target is empty (so no target 
>> is
>> generated). If you use frames, you have to set it to page in 
>> Constants.</p>'
>> );
>>
>>
>> Notes:
>> like to have defaults to the settings 99% of the users need.
>>
>> Link generation has as defaults (tslib_content)
>> intTarget =
>> extTarget = _top
>>
>> which can be leaved unchanged (IMHO)
>>
>> Steffen
>>
>>
>> --------------------------------------------------------------------------------
>>
>>
>>
>> 




More information about the TYPO3-team-core mailing list