Hi Daniel,
best practice i don't know, but maybe something like the following module
for search could be useful:
<?php
class addparam_search extends addparam_search_parent
{
public function getAdditionalParams()
{
$sParams = parent::getAdditionalParams();
return $this->_addSpecialParam( $sParams );
}
protected function _addPageNrParam( $sUrl, $iPage, $iLang = null )
{
$sUrl = parent::_addPageNrParam( $sUrl, $iPage, $iLang );
return $this->_addSpecialParam( $sUrl );
}
protected function _addSpecialParam( $sUrl ){
$sUrl .= "&test=test";
return ( $sUrl );
}
}
Regards,
Frank Zunderer
Zunderer IT Beratung
Waldstr. 22
82205 Gilching
08105-777250
0173-8362768
[email protected]
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Daniel
Schlichtholz
Gesendet: Freitag, 5. Juli 2013 13:49
An: Oxid Dev-List
Betreff: [oxid-dev-general] Adding params to oxlocator
Hi list,
I need to add a param to all actions that are triggered via the locator-bar
on the search result page.
But since each sub part (Pagination, View, Products per page and
Sorting) does build the link target differently, I do break my ass to add a
param that is reflected in all generated link targets.
What is the best practice to do so?
--
Best regards,
Daniel Schlichtholz
Zu den Brauckstücken 5
58313 Herdecke
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general