[TYPO3-dev] Filemounts

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Sep 23 18:20:57 CEST 2008


Hi!

Steffen Kamper wrote:
> i was asked to add a wizard to the filemount record. So i've done a 
> "simple" solution first [1]
> 
> Then after discussion with Dmitry and thinking on a dog walk i looked to 
> the code and find this inconsequent. I remember when i started with 
> TYPO3 i puzzled there all the time with the base-option.
> 
> This base-setting implicits that it's possible to mount another folder 
> from root like /typo3conf
> which isn't possible. So i don't really know what the sense is. May be 
> if you redefine fileadmin (i never tried) using
> $GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir']
> that this is not used there and you have to do it with absolute...
> 
> So if i don't misunderstand i would like to get rid of this setting and 
> use the link browser for that, additional patch is needed anyway in the 
> filemount processing.

As I wrote, add a setting to the file browser. It should tell the file browser what is its root. And it should return the path relative to this root. That's all :)

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/duplicate_content_with_realurl/




More information about the TYPO3-dev mailing list