[TYPO3-commerce] moving commerce folders out of typo3 root causes problems
Franz Koch
typo.removeformessage at fx-graefix.de
Fri Sep 7 09:37:41 CEST 2007
Hi Ingo,
>> I'd like to move the commerce folders from the typo3 root to my
>> regular storage folder, but this seems to cause some problems. After
>> moving the folder, commerce creates new folders in the rootline. The
>> old folders still can be used for article and category management, but
>> attributes don't seem to work anymore.
>>
> The commerce folders are automatically generated on rootlevel, like the
> DAM folder, which is automatically generated too. Inside Commerce a
> method detects these folder on rootlevel and uses their UIDs.
but I can move the DAM folder without any problems. Maybe you should not
check for a folder in the rootline but for a folder marked with a
special flag like "contains plugin -> commerce sysfolder". You now might
say that you would have to do some recursive searches to get the lowest
folder - but that's not the fact, as the lowest folder also has the
lowest UID ;) So you can determin the correct main folder also with 1
single SQL call (SELECT * FROM pages WHERE pages.module='commerce' ORDER
BY pages.uid LIMIT 1).
> I believe currently there is no trick. I don't see a chance of moving
> the commerce folder.
Thought so - but my little suggestion might do the trick?
--
Kind regards,
Franz
More information about the TYPO3-project-commerce
mailing list