Joomla account activation string

I'm looking to understand the Joomla account activation string. It ends with 'menuid' and 'Itemid' numbers. But I've played with these, and they don't seem to do anything. I was hoping that changing these would enable me to land the activating user on whatever page I wanted, but this doesn't seem to be the case.

Here's an example:

https://site.com/component/users/?task=registration.activate&token=d0f0b518c5597e26c4bba17cf5fce984&menuid=319&Itemid=256

Open in new window


What is the purpose of the 'menuid' and 'Itemid' numbers in the Joomla activation link query string?

Thanks,
Jonathan
Jonathan GreenbergAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lenamtlCommented:
This is usually referring to the user menu, see the login module.

Here is the API documentation in case you need it.
https://api.joomla.org/cms-3/classes/JUserHelper.html#method_activateUser
0
Andrew DerseOwnerCommented:
Basically the menuid and itemid in general render the specific menu item and then the item id of a component.

If you want to redirect users to a different page after registration there's a few modules/components for that.

If you want to redirect users once they login, then you can use this as a reference:
https://docs.joomla.org/How_do_you_redirect_users_after_a_successful_login%3F

Are you developing the code yourself? If so, you can use this as a reference.
https://www.mysysadmintips.com/other/web/127-joomla-redirection-after-user-registration

Please let us know if this doesn't help. I used to develop custom registration modules that redirected users to a different page after registration, but it's been a few years.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jonathan GreenbergAuthor Commented:
Thanks to you both for your very helpful answers!

Regards,
Jonathan
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.