Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no parameters will be stored #6

Open
patchworkde opened this issue Jun 17, 2019 · 1 comment
Open

no parameters will be stored #6

patchworkde opened this issue Jun 17, 2019 · 1 comment

Comments

@patchworkde
Copy link

due to the fact that in field oxclass the complete path of $class is saved no parameters will be saved.

@clro
Copy link

clro commented Oct 13, 2020

To use this module with OXID 6.1.x I made the following adjustments in 'install.sql' and 'oestatisticsoxshopcontrol.php'

In /docs/install.sql - Line 6 - varchar(255) instead of char(32) to safe the whole path of oxclass in the database:
OXCLASS varchar(255) character set latin1 collate latin1_general_ci NOT NULL default '' COMMENT 'Logged class name',

In /core/oestatisticsoxshopcontrol.php - from Line 74 to 77 - put the whole path of $class - this will save the searchparameter in 'oxparameter':
if ($class == 'OxidEsales\Eshop\Application\Controller\ContentController') {
$parameter = str_replace('.tpl', '', $config->getRequestParameter('tpl'));
} elseif ($class == 'OxidEsales\Eshop\Application\Controller\SearchController') {
$parameter = $config->getRequestParameter('searchparam');
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants