By Design on Sunday, 27 March 2016
Posted in Technical Issues
Replies 12
Likes 0
Views 810
Votes 0
Hi

I created a menu for EasyDiscuss and assigned modules to the menu items. When I click on a menu item the modules are displayed correctly. When I click the corresponding link from the EasyDiscuss toolbar, the modules do not appear and the url incorrectly includes the last menu item clicked.

The problem seems to be that the EasyDiscuss toolbar button urls are relative and are ignoring the menu Item IDs.

For example, if I click "Categories" from my custom menu, the assigned modules and url appears correctly: http://testing/forum/categories

However, if I SUBSEQUENTLY click on one of the EasyDiscuss toolbar buttons, for example, if I click the "Tags" button on the toolbar (after clicking "Categories" from my custom menu), the modules do not appear correctly and the url is also incorrect:

http://testing/forum/categories/tags

Notice that the incorrect url includes "categories" as the parent of "tags" which is incorrect.

The correct url after clicking the tags button from the toolbar should be: http://testing/forum/tags

I recently updated to Joomla! 3.5, but I'm not sure if this is the problem. I don't remember ever having this problem before. I'm still developing on localhost and have not had this problem with any other StackIdeas components.

Do you know how I can fix this?

Thank you!
Hey there,

Is it possible for you to upload your site to a temporary location so that we can troubleshoot this?
·
Sunday, 27 March 2016 20:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I probably won't be able to upload it until next week. However, I'm starting to have a better understanding of the source of the problem. I turned Joomla! SEF urls off so that I could see the itemids and noticed the following:

If I click on, say, the Categories link in my custom menu the url looks like this:

Categories (from my custom menu)
http://testing/index.php?option=com_easydiscuss&view=categories&Itemid=300

Then on the EasySocial categories page, if I scroll over any of the buttons in the EasyDiscuss toolbar I can see that the URLs all have the 300 Itemid appended to them. For example, the URLs for each of the toolbar buttons is:

Home (from the button in the EasyDiscuss toolbar)
http://testing/index.php?option=com_easydiscuss&view=index&Itemid=300

Categories (from the button in the EasyDiscuss toolbar)
http://testing/index.php?option=com_easydiscuss&view=categories&Itemid=300

Tags (from the button in the EasyDiscuss toolbar)
http://testing/index.php?option=com_easydiscuss&view=tags&Itemid=300

Members (from the button in the EasyDiscuss toolbar)
http://testing/index.php?option=com_easydiscuss&view=users&Itemid=300

etc.

I think this is the problem. Shouldn't the itemids be different? The itemids for the links in my custom menu are all different. The itemids of the button links in the EasyDiscuss toolbar are all the same (and change relative to the last link I click in my custom menu).

If this additional information was useful and you think you might have an idea what's causing the problem, and if you can point me in the right direction, then I may be able to figure it out myself. Otherwise, like I mentioned, I probably won't be able to upload it until next week.

Thanks again
·
Monday, 28 March 2016 05:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Can you go to the settings from your backend > easydiscuss > settings > SEO > routing behavior and choose the options as in my screenshot here, http://screencast.com/t/IWTRIFqjhC and see how it goes?
·
Monday, 28 March 2016 12:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Thank you !

Yes, this solved the problem ! I am now able to display the correct modules on each of the pages corresponding to my custom menu

Now there seems to be two small issues remaining. Here are the urls on the toolbar:

1. http://testing/forum/index
2. http://testing/forum/categories
3. http://testing/forum/tags/tags
4. http://testing/forum/users
5. http://testing/forum/badges

ISSUE #1: The tags url contains the word "tags" twice.

ISSUE #2: If I click on "Categories" and then hover over "Uncategorized" (I'm still working with the default install), the url looks like this:

http://testing/forum/categories/categories/listings/uncategorized

Notice that the word "categories" is also displayed twice.

I'm going to keep testing and see if I can figure it out. If you have any suggestions please let me know.

Thank you very much !!
·
Monday, 28 March 2016 14:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I just tried to replicate the issue here in my local but it seems like the url is displaying correctly. May I know do you set up a separate menu item for both tags and categories?
·
Monday, 28 March 2016 15:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I have a separate menu item for both tags and categories. I created a custom menu for EasyDiscuss with the following structure:

Forum
|--- Categories
|--- Tags
|--- Users
|--- Badges

I have a menu alias in my main menu that links to the Forum menu item in the custom menu. I use the custom menu to assign modules.

When I disable the Categories and Tags menu items in my custom menu, the urls display correctly. Of course, if I do this I cannot assign my modules to these items in the standard manner. I tried disabling one, while leaving the other enabled (and vice versa), but that didn't work.

I use the same approach to creating custom menus for EasySocial and EasyBlog, and have not had a problem with either of those components.

I will try to disable system plugins one-by-one to see if there is a conflict.

Thank you
·
Monday, 28 March 2016 18:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

We will wait for your update. Hope to hear from you soon!
·
Monday, 28 March 2016 18:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Here's some more info:

* Please See Attached *

Screenshot_01 corresponds to http://testing/forum/tags/tags

Screenshot_02 corresponds to http://testing/forum/tags

I don't know if this means anything, but I figured I'd share it with you.

Thank you
·
Monday, 28 March 2016 19:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Not to mix topics, but I just noticed when I navigate to Forum -> Badges and click on a badge (e.g., "Motivator") I get the following error message (at the url: http://testing/forum/badges/motivator):

"404 Sorry, but the post that you are trying to access is not available."

The same thing happens when I click on any of the badges.

Importantly, however, if I disable the Badges menu item from my custom menu, then the individual badge links work again !!

Not sure what's going on.

Thank you
·
Monday, 28 March 2016 19:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, it's quite hard to see the exact cause to the issue that you have here. I just set my localhost with the same menu structure that you described above but seems like everything is displaying correctly as it should.

Perhaps it would be best if you can temporarily upload your localhost to a test site so that we can directly debug the issue from there.

Please advise.
·
Monday, 28 March 2016 19:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Okay, at the point that makes the most sense. I'll make a reminder for myself and when I upload my site I'll let you know.

Thanks again
·
Tuesday, 29 March 2016 01:16
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Tuesday, 29 March 2016 01:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post