SEBLOD icon indicating copy to clipboard operation
SEBLOD copied to clipboard

user profile menu item not read

Open pulsarinformatique opened this issue 8 years ago • 10 comments

Hi

On joomla 3.8.1 + SEBLOD 3.15.0

When I create a "Joomla user profile" menu item , when you click on it the itemId is automatically reverted to the homepage itemID !!

The bridge is ACTIVATED

The link is /index.php?option=com_users&view=profile&Itemid=110 but when you click on it &Itemid=110 is replaced by &Itemid=101 (homepage)

As I understand since the profile page actually displays a bridge article, Joomla tries to find the menuitem as it always did. Since Joomla can't find a direct link to the article or a list/blog on the user category, it reverts to the homepage. The SEBLOD setting that sets the profile menu item should be there to prevent such a scenario I guess.

Unfortunately even if you set the profile item id in the SEBLOD settings the issue remains

Thanks

Cyril

pulsarinformatique avatar Oct 12 '17 09:10 pulsarinformatique

Can someone confirm please ?

pulsarinformatique avatar Oct 15 '17 16:10 pulsarinformatique

I can't confirm, profile uses menu set in Joomla User->Profile Menu Item

klas avatar Oct 20 '17 13:10 klas

Please test as I wrote: create a "Joomla user profile" menu item , log in on the front and check the url where you are redirected to you will see the itemID is reverted to the homepage itemID EVEN if you set the user profile menu item in the SEBLOD integration options.

thanks

cyril

pulsarinformatique avatar Oct 20 '17 13:10 pulsarinformatique

As I said, it works for me.

klas avatar Oct 20 '17 15:10 klas

Hi Klas

if you try with an account which as a user article associated (not the super admin acount) the item id is wrong for me on several sites!

so the remaining possibility is that the menu I set in the SEBLOD user intergration settings is not what seblod is expecting ???

I created a standard joomla native "user profile" menu item. This is this menu I set in the SEBLOD user intergration settings as shown on the attached screenshot seblod-profile-menu-item

should I create something else ?

thanks

cyril

Ps: don't understand why you simply deleted my post on the forum (https://www.seblod.com/community/forums/general-discussions/user-profile-menu-item-not-read#post55504)

pulsarinformatique avatar Oct 21 '17 18:10 pulsarinformatique

I tested once again and it still works for me, tested with superuser and editor user.

Forum post is not needed when you open issue report, it only creates confusion with double conversations.

klas avatar Oct 24 '17 09:10 klas

Hi Klas

Thanks for the answer

Either it is an issue and we post on the GIT hub OR it is something I made wrong and I need the help of the community

since you claim it is not a but I DO NEED to post on the forum. SO I repost it on https://www.seblod.com/community/forums/general-discussions/user-profile-menu-item-not-read-2

I believe I just forgot something. The trouble is I tested on 3-4 sites.

the profile menu item should be a native joomla profile menu item, right ?

Thanks

cyril

pulsarinformatique avatar Oct 24 '17 09:10 pulsarinformatique

Hi Since the issue seems to be confirmed (see https://www.seblod.com/community/forums/general-discussions/user-profile-menu-item-not-read-2) at least by two users, can you check it please ? thanks

cyril

pulsarinformatique avatar Oct 29 '17 09:10 pulsarinformatique

​Your problem is, you are trying to use what is basically a single article itemid and this indeed doesn't work. Use any menu that belongs to list and it will work, e.g. in your case most logical would be users list.

Not sure whether this is a bug or just Joomla routing limitation.

klas avatar Oct 30 '17 13:10 klas

Hi again

This is very weird ! As usual we need to attach CSS classes, module on/ff display rules on menu items. This is how Joomla works everywhere. Now we have to attach these rules to some artificial menu item which also creates a more complex URL:

Instead of just /my-profile we now have /list/user-account which gives the access to /list to robots and users, which we don't want.

Cyril

pulsarinformatique avatar Oct 30 '17 13:10 pulsarinformatique