[TYPO3] Versioning works only in adminitrator BE user mode
Helmut Hummel
typo3 at jhpc.de
Mon Dec 17 17:53:52 CET 2007
Hi Laurent,
Laurent Signorini schrieb:
> Dmitry Dulepov [typo3] a écrit :
>>
> I found in the class tx_version_cm1
> (typo3/sysext/vesrion/class.tx_version_cm1.php) this line :
> if (!$backRef->cmLevel && $uid>0 &&
> $BE_USER->check('modules','txversionM1')) {
> which is the condition to make appear the Versioning option in the page
> clikmenu.
>
> But what and where is this module : txversionM1 ?
>
> I found the module web_txversionM1 but not txversionM1
Oh my! This is a bug.
> If i simply update (add txversionM1 in the list of allowed module) the
> field groupMods in the be_groups table, then the versioning option
> appears in the page clickmenu.
$BE_USER->check('modules','txversionM1') should be changed to
$BE_USER->check('modules','web_txversionM1') instead.
> Unfortunately, when i create a new page version i get the following error :
> The requested page didn't have a proper connection to the tree-root!
> (Broken rootline)
> when i try to preview this page
Does this work with a admin user?
(I don't know anything about how to use the versioning module (I only
use Workspaces), so I can't help here, much exept asking some questions...)
--
lib.salutation = TEXT
lib.salutation.value = Kind regards, Helmut
lib.salutation.lang.de = Viele Grüße, Helmut
More information about the TYPO3-english
mailing list