[TYPO3-core] RFC: #4662 PAGE_TARGET =

Benjamin Mack mack at xnos.org
Wed Oct 24 11:10:11 CEST 2007


Hi Steffen,

sorry to nag you again here.

See the dev-list, I think the default int_target should be taken care of 
as well with this patch. Is this possible?

greetings,
benni.
-SDG-

www.xnos.de // www.xnos.org


Steffen Kamper wrote:
> This is a SVN patch request.
> 
> Type: ENHANCEMENT
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=4662
> 
> 
> Branches:
> Trunk
> 
> in file typo3/sysext/scc_styled_content/static/constants.txt
> and typo3/sysext/scc_styled_content/static/setup.txt
> 
> 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
> PAGE_TARGET =
> 
> setting in tt_content.menu
> all targets to {$PAGE_TARGET}
> 
> Notes:
> like to have defaults to the settings 99% of the users need.
> 
> Steffen
> 
> 
> --------------------------------------------------------------------------------
> 
> Index: typo3/sysext/css_styled_content/static/constants.txt
> ===================================================================
> --- typo3/sysext/css_styled_content/static/constants.txt (revision 2611)
> +++ typo3/sysext/css_styled_content/static/constants.txt (working copy)
> @@ -95,7 +95,7 @@
>  }
> 
>    # cat=advanced/links; type=small; label= Target for internal links: 
> Should match the name of the content PAGE-object in TypoScript when used 
> with frames. Most cases: Set to "page" if you have frames in the template. 
> If not, set to "" (empty)
> -PAGE_TARGET = page
> +PAGE_TARGET =
> 
>  [compatVersion = 3.9.0]
> 
> @@ -144,4 +144,3 @@
>  [END]
> 
>  # TYPO3 CVS ID: $Id$
> -
> Index: typo3/sysext/css_styled_content/static/setup.txt
> ===================================================================
> --- typo3/sysext/css_styled_content/static/setup.txt (revision 2611)
> +++ typo3/sysext/css_styled_content/static/setup.txt (working copy)
> @@ -904,7 +904,7 @@
>     1 = TMENU
>     1.NO.allWrap = <p>|</p>
>     1.NO.stdWrap.htmlSpecialChars = 1
> -   1.target = {$content.pageFrameObj}
> +   1.target = {$PAGE_TARGET}
>    }
> 
>    # "Menu of subpages to these pages"
> @@ -919,7 +919,7 @@
>     1 = TMENU
>     1.NO.allWrap = <p class="csc-sitemap csc-sitemap-level1">|</p>
>     1.NO.stdWrap.htmlSpecialChars = 1
> -   1.target = {$content.pageFrameObj}
> +   1.target = {$PAGE_TARGET}
>     1.expAll = 1
> 
>     2 < .1
> @@ -1499,4 +1499,4 @@
>  [END]
> 
> 
> -# TYPO3 CVS ID: $Id$
> +# TYPO3 CVS ID: $Id$
> \ No newline at end of file
> 
> 
> 
> begin 666 page_target_default.diff
> M26YD97 at Z('1Y<&\S+W-Y<V5X="]C<W-?<W1Y;&5D7V-O;G1E;G0O<W1A=&EC
> M+V-O;G-T86YT<RYT>'0-"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
> M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T-"BTM+2!T
> M>7!O,R]S>7-E>'0O8W-S7W-T>6QE9%]C;VYT96YT+W-T871I8R]C;VYS=&%N
> M=',N='AT"2AR979I<VEO;B R-C$Q*0T**RLK('1Y<&\S+W-Y<V5X="]C<W-?
> M<W1Y;&5D7V-O;G1E;G0O<W1A=&EC+V-O;G-T86YT<RYT>'0)*'=O<FMI;F<@
> M8V]P>2D-"D! ("TY-2PW("LY-2PW($! #0H@?0H@"B @(", at 8V%T/6%D=F%N
> M8V5D+VQI;FMS.R!T>7!E/7-M86QL.R!L86)E;#T at 5&%R9V5T(&9O<B!I;G1E
> M<FYA;"!L:6YK<SH at 4VAO=6QD(&UA=&-H('1H92!N86UE(&]F('1H92!C;VYT
> M96YT(%!!1T4M;V)J96-T(&EN(%1Y<&]38W)I<'0@=VAE;B!U<V5D('=I=&@@
> M9G)A;65S+B!-;W-T(&-A<V5S.B!3970@=&\@(G!A9V4B(&EF('EO=2!H879E
> M(&9R86UE<R!I;B!T:&4@=&5M<&QA=&4N($EF(&YO="P@<V5T('1O("(B("AE
> M;7!T>2D*+5!!1T5?5$%21T54(#T@<&%G90HK4$%'15]405)'150@/2 *( H@
> M6V-O;7!A=%9E<G-I;VX@/2 S+CDN,%T*( I 0" M,30T+#0@*S$T-"PS($! 
> M#0H at 6T5.1%T*( H@(R!465!/,R!#5E, at 240Z("1)9"0*+0I);F1E>#H@='EP
> M;S,O<WES97AT+V-S<U]S='EL961?8V]N=&5N="]S=&%T:6,O<V5T=7 N='AT
> M#0H]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
> M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]#0HM+2T@='EP;S,O<WES97AT+V-S
> M<U]S='EL961?8V]N=&5N="]S=&%T:6,O<V5T=7 N='AT"2AR979I<VEO;B R
> M-C$Q*0T**RLK('1Y<&\S+W-Y<V5X="]C<W-?<W1Y;&5D7V-O;G1E;G0O<W1A
> M=&EC+W-E='5P+G1X= DH=V]R:VEN9R!C;W!Y*0T*0$ @+3DP-"PW("LY,#0L
> M-R! 0 T*( D)"3$@/2!4345.50H@"0D),2Y.3RYA;&Q7<F%P(#T@/' ^?#PO
> M<#X*( D)"3$N3D\N<W1D5W)A<"YH=&UL4W!E8VEA;$-H87)S(#T@,0HM"0D)
> M,2YT87)G970@/2![)&-O;G1E;G0N<&%G949R86UE3V)J?0HK"0D),2YT87)G
> M970@/2![)%!!1T5?5$%21T54?0H@"0E]"B *( D)(R B365N=2!O9B!S=6)P
> M86=E<R!T;R!T:&5S92!P86=E<R(*0$ @+3DQ.2PW("LY,3DL-R! 0 T*( D)
> M"3$@/2!4345.50H@"0D),2Y.3RYA;&Q7<F%P(#T@/' @8VQA<W,](F-S8RUS
> M:71E;6%P(&-S8RUS:71E;6%P+6QE=F5L,2(^?#PO<#X*( D)"3$N3D\N<W1D
> M5W)A<"YH=&UL4W!E8VEA;$-H87)S(#T@,0HM"0D),2YT87)G970@/2![)&-O
> M;G1E;G0N<&%G949R86UE3V)J?0HK"0D),2YT87)G970@/2![)%!!1T5?5$%2
> M1T54?0H@"0D),2YE>'!!;&P@/2 Q"B *( D)"3(@/" N,0I 0" M,30Y.2PT
> M("LQ-#DY+#0 at 0$ -"B!;14Y$70H@"B *+2, at 5%E03S, at 0U93($E$.B D260D
> M"BLC(%194$\S($-64R!)1#H@)$ED) T*7"!.;R!N97=L:6YE(&%T(&5N9"!O
> (9B!F:6QE#0H`
> `
> end
> 
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
> 
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/ 
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core


More information about the TYPO3-team-core mailing list