[Typo3-dev] Changing the versioning pid in t3lib_TCEmain
Robert John de Stigter
robertjohn at bedrijvenweb.nl
Thu Oct 13 16:58:48 CEST 2005
Hi,
Than the problem lies with the sys_workflow extension. I have a 'version' workflow and when the target user tries to view the page that goes with the workflow he gets the message that the page is nog linked correctly to the root. This also occures when the page is hidden, except than the message tells that the page does not exist.
I think the extension accesses the page like a user would do from the frontend instead of accessing it from the backend.
Robert
-----Oorspronkelijk bericht-----
Van: typo3-dev-bounces at lists.netfielders.de [mailto:typo3-dev-bounces at lists.netfielders.de] Namens Kasper Skårhøj
Verzonden: donderdag 13 oktober 2005 16:20
Aan: List for Core-/Extension development
Onderwerp: Re: [Typo3-dev] Changing the versioning pid in t3lib_TCEmain
The significance of pid=-1 is completely hardcoded and will probably stay so.
Why is this a problem for you?
- kasper
On Thursday 13 October 2005 15:42, Robert John de Stigter wrote:
> Hi,
>
> How easy is it to modify the class t3lib_TCEmain to make it choose an
> other id instead of -1 when versioning the pages? (In combination with
> the sys_workflow extension) I tried it, changing line 3604:
> $sArray['pid'] = -1; to $sArray['pid'] = $customPid; It didn't seem to
> use the $customPid as a pid for the pages. (It's probarly more
> complicated than I realize.)
>
> Cheers,
> Robert
>
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
--
- kasper
-----------------
Think future, not feature
_______________________________________________
Typo3-dev mailing list
Typo3-dev at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
More information about the TYPO3-dev
mailing list