Support

  1. DMTGMBH
  2. Bug Report
  3. Friday, April 27 2018, 09:32 AM
  4.  Subscribe via email
Profile Menu Item doesn't work as expected. We have implemented Easy Profile in a page with different main menus for different departments and a different site style for each. Each main menu contains a link to a profile list, which is filtered by sql statement to ouput the users filtered by department. By clicking on the menu item the list is displayed with the assigned style. This works fine...

But we if you click on a user name to view the single profile the style isn't assigned anymore. We have created a hidden menu for each department with an item "profile" and assigned this menu the appropriate style. In the department menu we set "Profile Menu Item" to the equivalent hidden menu item. E.g.:

Hidden Menu 1 > Profile (alias: menu1-profil)
Hidden Menu 2 > Profile (alias: menu2-profil)
Hidden Menu 3 > Profile (alias: menu3-profil)

Menu 1 : Profile Menu Item > menu1-profil
Menu 2 : Profile Menu Item > menu2-profil
Menu 3 : Profile Menu Item > menu3-profil

If we set "Profile Menu Item" to "default", the style addressed to the home item is loaded and the behaviour is correct.
The link looks like this: https://www.xxx.com/menu1-profil/john+doe.html?back=1

If we set "Profile Menu Item" to "menu1-profil", the default fallback style is loaded and the behaviour is not correct.
The link looks like this: https://www.xxx.com/component/jsn/john+doe.html?Itemid=&;back=1

All other modules, that are assigned to be displayed with the menu profile link, will be not displayed, too.

For testing purposes we have published "Hidden Menu 1" on "Department 1" page, but the same behaviour appears. The style is not addressed correctly and the assigned modules are not loading.

If we do this with the core search function all works like expected. Any suggestions?

Best regards,
Jürgen
admin Accepted Answer
Admin
Hi Jürgen,
can you please post me your site details to check your configuration? if yes then you can use the form below the reply in "Site Details" tab
  1. more than a month ago
  2. Bug Report
  3. # 1
DMTGMBH Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 2
admin Accepted Answer
Admin
Hi,
after some investigation I found that this is a bug.

To fix it try to replace file at /components/com_jsn/helpers/helper.php with attached file (unzip first)
Attachments (1)
  1. more than a month ago
  2. Bug Report
  3. # 3
DMTGMBH Accepted Answer
Pro
Did it, an it returns the following error:

Undefined variable: Itemid in /../../components/com_jsn/helpers/helper.php on line 572

Best regards,
Jürgen
  1. more than a month ago
  2. Bug Report
  3. # 4
DMTGMBH Accepted Answer
Pro
Please insert after line 571 the following code and everything is fine:

else $Itemid='&Itemid=';

Best regards,
Jürgen
  1. more than a month ago
  2. Bug Report
  3. # 5
admin Accepted Answer
Admin
Hi,
sorry for late reply, it's a weekend :D

Thanks for your feedback, in the next version (scheduled for the end of next week) we will create a better fix.
  1. more than a month ago
  2. Bug Report
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.