?
avatar TheWhykiki
TheWhykiki
12 Jun 2017

If you use more than one mod_articles_category Module the resulting $module->id is wrong in template-file. Shown is only the latest created module id of this module type. So this causes wrong headlines and module appearance.
Testing $module->id in mod_articles_category.php gives the correct value if I test the ouput before the if-statement in line 64.
Outputting after the if-statement gives the value of the last created mod_articles_category.

avatar TheWhykiki TheWhykiki - open - 12 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - change - 12 Jun 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Jun 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Jun 2017
Category com_modules
avatar TheWhykiki TheWhykiki - change - 12 Jun 2017
Title
Mod_articles_latest gets wrong module id
Mod_articles_category gets wrong module id
avatar TheWhykiki TheWhykiki - edited - 12 Jun 2017
avatar Bakual
Bakual - comment - 12 Jun 2017

Do you have any caching enabled on your site? Maybe 3rd party solutions?

avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Jun 2017
Status New Information Required
avatar TheWhykiki
TheWhykiki - comment - 12 Jun 2017

It's a clean joomla install 3.7.2, only Maximenu CK installed

avatar Quy
Quy - comment - 12 Jun 2017

@TheWhykiki Can you reproduce the issue without Maximenu CK?

avatar TheWhykiki
TheWhykiki - comment - 13 Jun 2017

Fixed....my fault. Was caused by false synchronizing folders with my phpStorm. Can be closed

avatar TheWhykiki TheWhykiki - change - 13 Jun 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-06-13 10:19:07
Closed_By TheWhykiki
avatar TheWhykiki TheWhykiki - close - 13 Jun 2017

Add a Comment

Login with GitHub to post a comment