[TYPO3-english] typo3 v.4.7.4 and global scope - TRY THIS....

Alessandro Tuveri at at uniud.it
Fri Sep 7 11:15:49 CEST 2012


According to the class of ExtJS, see the page:

http://dev.sencha.com/playpen/docs/output/Ext.data.JsonStore.html#JsonStore

I  modified this and it seem to WORK.

///////////////////////////////////////////////////////
// Stores
///////////////////////////////////////////////////////

TYPO3.EM.LocationStore = new Ext.data.JsonStore({
         fields : ['name', 'value'],
         data   : [
                 {name : 'Local (../typo3conf/ext/)',   value: 'L'},  
{name: 'Global (../typo3_src-4.4.7/typo3/ext/)', value: 'G'}
         ]
});


WARNING:
the path used ../typo3_src-4.4.7/typo3/ext/

refers to the test site (intro) where you have:
- index.php
- typo3_src-4.4.7 ---> this is not a symlink!!!!
- t3lib
- typo3 and so on....

THE PATH
Change the path above for your needings. I have not tried it using symlinks...

HOWEVER
There is no way to understand and distinguish an +ext respect another  
if it is installed in L, G becase the BE doesn't show this info.
This is a bit confusing....

I don't know if all is OK (not tested if +ext installed really works),  
someone should try with .... let stay in touch...






Quoting Jigal van Hemert <jigal.van.hemert at typo3.org>:

> Hi,
>
> On 7-9-2012 1:12, Alessandro Tuveri wrote:
>> Unfortunately I have not a large experience with ExtJS but we can
>> collaborate to find a solution.
>
> That would be great!
>
>> Finally remains some misterious things such as:
>> * typo3/ext directory still exists
>> * allowGlobalInstall still exists
>> * ... flags L/G still exists
>
> At one time there was the idea to drop Global for installing  
> extensions at all. There were enough people who actually used  
> globally installed extensions to not drop it.
>
> In the extension manager it was just an unfinished feature. During  
> development of the EM the possible locations were just hardcoded in  
> the javascript and this part was never finished to reflect the  
> allow...Install settings.
>
>> there is any developer here to get some tech infos?!?
>
> In typo3/sysext/em/res/js/em_components.js lines 594-607 the  
> selector is defined:
> TYPO3.EM.UploadLocationCombo = new Ext.form.ComboBox({
>
> This refers to TYPO3.EM.LocationStore for the available options.  
> This is defined in the same file on lines 502-511:
> TYPO3.EM.LocationStore = new Ext.data.JsonStore({
>
> I tried to define a store (like in em_repositorylist.js lines 71...  
> ), but couldn't make this work.
>
> I hope to have some time tonight to make a dummy store provider in  
> PHP. If you can get the ExtJS stuff working the PHP part is very  
> easy...
>
> Thanks for having a look at it!
>
> -- 
> Jigal van Hemert
> TYPO3 Core Team member
>
> TYPO3 .... inspiring people to share!
> Get involved: typo3.org
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>



ALESSANDRO TUVERI

--------------------------------------
AREA SERVIZI INFORMATICI E MULTIMEDIALI
Servizi WEeb d'Ateneo
Universit? degli Studi di Udine
tel. ufficio 0432-558904
--------------------------------------
Homo sine pecunia est imago mortis
--------------------------------------

----------------------------------------------------------------------
SEMEL (SErvizio di Messaging ELettronico) - AINF, Universita' di Udine




More information about the TYPO3-english mailing list