[TYPO3-core] RFC: #undefined: Popup-functionality for Pages dokType=Shortcut

Steffen Kamper info at sk-typo3.de
Fri Dec 12 10:24:58 CET 2008


Hi Masi,

Martin Kutschker schrieb:
> Steffen Kamper schrieb:
>> 400x200       => will open the page in popup with 400x200
>> ,120 300x50   => will open the page with type 120 using popup 300x50
>> ,118          => will open page with type 118
>> ,200 _blank   => will open page with type 118, target="_blank"
>> any_other     => same as before (target="any_other")
> 
> The syntax for the page type looks odd and is incomprehensible (for
> editors). I think you can omit the comma and still determine the intention:
> 
> 400x200      => will open the page in popup with 400x200
> 120 300x50   => will open the page with type 120 using popup 300x50
> 118          => will open page with type 118
> 200 _blank   => will open page with type 118, target="_blank"
> any_other    => same as before (target="any_other")
> 
> Actually I think you could even allow an arbitrary order as seen with
> some CSS properties:
> 
> <number>x<number> = window size
> <number> = page type
> <alpha><alphanum> = target
> 
> So you could enter the more logical value of "_blank 400x200" into a
> field called "target".
> 
> Masi

i agree omitting the comma would be more easy to understand. in the end 
a small wizard would be nice as well. i think entering values with same 
syntax in link field is also incomprehensible for editors, and link 
wizard helps a lot.

But for the start i will overwork the regex to omit the comma.

vg Steffen


More information about the TYPO3-team-core mailing list