[TYPO3-core] RFC: #8108: Extension configuration options are not always shown

Steffen Kamper steffen at sk-typo3.de
Mon Jun 9 14:25:08 CEST 2008


Hi,

This is an SVN patch request.

Type: Bugfix

Bugtracker reference: http://bugs.typo3.org/view.php?id=8108
Branches: TYPO3_4-2, trunk

History:
In the past the configuration form and DB Update form was shown in one 
screen.
Now it's possible to use a user function in ext_conf_template.txt like
# cat=basic; 
type=user[EXT:extension/class.tx_extensionclass.php:&tx_classname->function];
(btw - is this documented anywhere?)

This forces the extension to be installed.
That was the reason to remove config from that screen.

In a last step Jeff added an info icon and a message, that extension needs 
to be configured, but after DB updates you are redirected to the last view, 
so user might forget to click on extension again to do the configuration.

Solution:
Before redirect i make a check if extension was installed and has 
configuration. In this case i redirect to the single view of the extension, 
which contains the update form.

I really hope that this is the proper solution and patch can make it in 
4.2.1 as well, so please test it in your environment, i tested it installing 
extension from 3 different views and it workes fine for me.

vg Steffen 


begin 666 em_install_configuration.diff
M26YD97 at Z('1Y<&\S+VUO9"]T;V]L<R]E;2]C;&%S<RYE;5]I;F1E>"YP:' -
M"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T-"BTM+2!T>7!O,R]M;V0O=&]O;',O
M96TO8VQA<W,N96U?:6YD97 at N<&AP"2AR979I<VEO;B S-S8X*0T**RLK('1Y
M<&\S+VUO9"]T;V]L<R]E;2]C;&%S<RYE;5]I;F1E>"YP:' )*'=O<FMI;F<@
M8V]P>2D-"D! ("TR,#,R+#<@*S(P,S(L,3$@0$ -"B )"0D)"0D))'1H:7,M
M/G=R:71E3F5W17AT96YS:6]N3&ES="@D;F5W17AT3&ES="D["B )"0D)"0D)
M)$=,3T)!3%-;)T)%7U5315(G72T^=W)I=&5L;V<H-2PQ+# L,"PG17AT96YS
M:6]N(&QI<W0@:&%S(&)E96X at 8VAA;F=E9"P at 97AT96YS:6]N("5S(&AA<R!B
M965N("5S)RQA<G)A>2 at D97AT2V5Y+"@D=&AI<RT^0TU$6R=L;V%D)UT_)VEN
M<W1A;&QE9"<Z)W)E;6]V960G*2DI.PH@"0D)"0D)"6EF("@D=&AI<RT^0TU$
M6R=C;')#;60G72!\?"!T,VQI8E]D:78Z.E]'4"@G7V-L<D-M9"<I*0E["BT)
M"0D)"0D)"21V02 ](&%R<F%Y*"=#340G/3XG)RD["BL)"0D)"0D)"6EF("@D
M=&AI<RT^0TU$6R=L;V%D)UT@)B8 at 0&ES7V9I;&4H)&%B<U!A=&@N)V5X=%]C
M;VYF7W1E;7!L871E+G1X="<I*2!["BL)"0D)"0D)"0DD=D$@/2!A<G)A>2 at G
M0TU$)ST^07)R87DH)W-H;W=%>'0G/3XD97AT2V5Y*2D["BL)"0D)"0D)"7T@
M96QS92!["BL)"0D)"0D)"0DD=D$@/2!A<G)A>2 at G0TU$)ST^)R<I.PHK"0D)
M"0D)"0E]"B )"0D)"0D)?2!E;'-E('L*( D)"0D)"0D))'9!(#T at 87)R87DH
M)T--1"<]/D%R<F%Y*"=S:&]W17AT)ST^)&5X=$ME>2DI.PH@"0D)"0D)"7T*
`
end



More information about the TYPO3-team-core mailing list