[TYPO3-core] RFC: #10706: Usability: Remove "Save and View" when creating records in sysfolders

Ismaël Bidau bidau at ensci.com
Fri Apr 17 14:18:09 CEST 2009


Steffen Kamper a écrit :
> Hi Masi,
> 
> Martin Kutschker schrieb:
>>
>> I'm sorry it's popViewId and popViewId_addParams that are part of the
>> Core. They are query parameters supported by alt_doc.php.
>>
>> In LIVE this works ok for tt_news. In WS it doesn't work well (and is
>> turned off by tt_news) because of diff window that is shown instead of
>> the normal preview. TYPO3 has a weird way to report the uid, so in the
>> end you don't really know if you get the uid of the live record or the
>> one of the WS. Drats.
>>
>> Anyway, this means that you have probably to check with $this->popViewId
>> (within alt_doc.php) or with t3lib_div::_GP('popViewId') (anywhere else)
>> if a view page is configured for that table.
>>
>> Masi
> 
> ah, i see.
> But i don't understand completely where the GP-var is added. For sure it 
> should be in condition to hide only if it's not set.
> 
> The next thing is the tt_news setting in pageTS
> tx_ttnews.singlePid = xyz
> This works but i don't found where it's done. So if i get this one too i 
> come with a new patch.

class.tx_ttnews_tcemain.php
function processDatamap_preProcessFieldArray

> 
> vg Steffen

Ismaël BIDAU


More information about the TYPO3-team-core mailing list