Keyword

Setting Menu for User Pages

  • Matthew Gray
  • Matthew Gray's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago #132843 by Matthew Gray
Setting Menu for User Pages was created by Matthew Gray
Hi, how do you set up the menu for the user pages such that all of them appear the same and with the correct itemID in SH404SEF? Can you manually set the itemID of all user pages? I can't get them all to style correctly and pick up the correct template...
Thanks,
Matt

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #132844 by Lefteris
Replied by Lefteris on topic Re: Setting Menu for User Pages
Hi. The only way to resolve user pages to Itemids is to create menu links for those users. Alternatively you can add conditions in your template code ( like if it's user page show this module position ) .

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Matthew Gray
  • Matthew Gray's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago #132845 by Matthew Gray
Replied by Matthew Gray on topic Re: Setting Menu for User Pages
Is it best to show a user and all their associated items in a module then?
I have a dynamic user base where each user will be creating content, but there's no way i can have a menu for each user as the list will just keep on growing!
Is there no helper or controller that can force an &Itemid=xxx on the end of user URLs in the back end of the template?

Cheers

Please Log in or Create an account to join the conversation.

  • Matthew Gray
  • Matthew Gray's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago #132846 by Matthew Gray
Replied by Matthew Gray on topic Re: Setting Menu for User Pages
Any more ideas?
Thanks...

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 11 months ago #132847 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Setting Menu for User Pages
With sh404sef you can have the /user/user_name URLs. Without sh404sef if you do not add menus you need to follow this method (which also affects tags).

Create a menu link to K2 categories and don't select any category. This way, all unresolved links will be assigned to this menu, preventing duplicates.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Matthew Gray
  • Matthew Gray's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago #132848 by Matthew Gray
Replied by Matthew Gray on topic Re: Setting Menu for User Pages
Hi Krikor,

Thanks for your help...
Does the blank menu link have to be in a hidden menu, otherwise it just displays everything under the alias when clicked on?
I've worked out in the K2 SH404SEF options how to change the URL prefix for the users though.

Also, with K2 and SH404SEF, how did you display the user URL using the username as opposed to the user's Name?

Thanks again,
Matt

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 11 months ago #132849 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Setting Menu for User Pages
Yes, it would have to be on a hidden menu.
If you are using sh404sef you do need to add this menu item.

By default you cannot change the way the user urls are handled.
You can edit the administrator/com_k2/sef_ext/com_k2.php file at your own risk.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum