[TYPO3-commerce] Link to Detailview

Robert Grede gredini at googlemail.com
Tue Oct 14 17:39:13 CEST 2008


Christian schrieb:
> Hi Robert,
> Here is what I did to add a link to single view on the articles images.
> It might help you.
> You can use t3lib_div::debug($pObj); for debug
> 
> // Building link for article singleView
> $typoLinkConf = array();
> $typoLinkConf['parameter'] = $pObj->conf['overridePid'];
> $typoLinkConf['useCacheHash'] = 1;
> $typoLinkConf['additionalParams'] = '&' . $pObj->prefixId . '[showUid]=' 
> . $article->ux_data_article['uid_product'];
> $markerArray["ARTICLE_IMAGES"]= 
> $pObj->cObj->typoLink($markerArray["ARTICLE_IMAGES"],$typoLinkConf);
> 
> Christian
> 
> Robert Grede wrote:
>> Robert Grede schrieb:
>>  
>>> Hi,
>>>
>>> how to link from listview to detailpage with a link or button anywhere?
>>> I don't mean the more-link for the teasertext. In my case it should 
>>> be placed at the end from all in a list-item as a detail-button.
>>>
>>> Regards,
>>>
>>> Robert
>>>     
>>
>> Hi,
>>
>> I'm on a small extension now, witch creates a new marker using the 
>> hook listview in /lib/class.tx_commerce_pibase.php.
>>
>> This new marker is shown correctly, but now I have problems creating 
>> the additional parameters for the link to the detailpage.
>>
>> what I gave:
>> - id
>> - catUid
>>
>> what I need:
>> - showUid
>> - cHash
>>
>> Can anybody tell me how to get this please?
>>
>> Regards,
>>
>> Robert
>>
>>
>>
>>
>> _______________________________________________
>> TYPO3-project-commerce mailing list
>> TYPO3-project-commerce at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce 
>>
>>   
> 
Hi Christian,

I have nearly the same, but have still one problem with: 
$article->ux_data_article['uid_product']

what is the $article object and how can I access on it in my function?

Many Thanks

Robert


More information about the TYPO3-project-commerce mailing list