[TYPO3-ttnews] Re: [Typo3-tt-news] frontend news submitter

Matthew Manderson matthew at manderson.co.uk
Tue Jun 13 10:51:40 CEST 2006


Rupi,

netfielders is only going back to Dec 2005 so I can't find your post on this
subject.

Here is something similar from the dev list:
http://lists.netfielders.de/pipermail/typo3-dev/2005-January/007874.html

> I digged a bit in the class.t3lib_content and found this line:
> 
> function editPanelLinkWrap()
> line 6668:
> 
> $nPid = t3lib_div::testInt($rParts[1]) ? -$rParts[1] :
> $GLOBALS['TSFE']->id;
> 
> $rParts[1] is the pid of the new item and in this case it has the value
> 'NEW' so the pid of the current page is used.
> 
> I changed this line to this:
> $sPid = $GLOBALS['TSFE']->config['config']['FEeditStoragePid'];
> $nPid = t3lib_div::testInt($rParts[1]) ? -$rParts[1] : ($sPid ? $sPid
> $GLOBALS['TSFE']->id);
> 
> with this change you can configure the storagePid with an ext-template:
> config.FEeditStoragePid = myPid

Is this what you were referring to? I made these class changes and added
config.FEeditStoragePid = 6 to a EXT template of the single view page.

Version: TYPO3 v4
File: typo3/sysext/cms/tslib/class.t3lib_content.php
Line: 7059 function editPanelLinkWrap()
Line: 7073 change:

+       $sPid = $GLOBALS['TSFE']->config['config']['FEeditStoragePid'];
-       $nPid = t3lib_div::testInt($rParts[1]) ? -$rParts[1] :
$GLOBALS['TSFE']->id);
+       $nPid = t3lib_div::testInt($rParts[1]) ? -$rParts[1] : ($sPid ? $sPid
$GLOBALS['TSFE']->id);


Any ideas?
Matthew


Rupert Germann wrote:

> Ingo Renner wrote:
>> actually I can't find it neither, but just because my newsreader seems to
>> drop the threads when they reach a certain age =/
> 
> the post is from 1.12.2004 subject: [Typo3-project-tt-news] Frontend
> Editing but it is only about FE editing for a logged in BE user. No real
> FE submitting.
> 
>> I'm not sure whether you can read/search this NG using a webinterface at
>> netfielders?!
> 
> that seems not to be possible.
> 
> greets
> rupi




More information about the TYPO3-project-tt-news mailing list