[Typo3-dev] Changing the versioning pid in t3lib_TCEmain
Kasper Skårhøj
kasper2005 at typo3.com
Thu Oct 13 21:43:21 CEST 2005
I think that is a preview problem I will fix within the next weeks.
- kasper
On Thursday 13 October 2005 16:58, Robert John de Stigter wrote:
> 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
> _______________________________________________
> 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
More information about the TYPO3-dev
mailing list