Display Menus While Registering

15 years 8 months ago #69428 by rbryanh
Replied by rbryanh on topic Re:Display Menus While Registering
Hmmm.... Spaces, you say. Let's see what I can do, posting a line or so at a time...

I'm unable to get your suggestion to work. Perhaps if I provide details you can tell me what I'm doing wrong ?

Please Log in to join the conversation.

15 years 8 months ago #69432 by rbryanh
Replied by rbryanh on topic Re:Display Menus While Registering
I've created a menu item "cb-login" and noted its id, 62. (I assume the type of menu doesn't matter.)

Please Log in to join the conversation.

15 years 8 months ago #69434 by rbryanh
Replied by rbryanh on topic Re:Display Menus While Registering
I've edited the file modules/mod_cblogin/mod_cblogin.php, and changed

Please Log in to join the conversation.

15 years 8 months ago #69436 by rbryanh
Replied by rbryanh on topic Re:Display Menus While Registering
$ l o g i n P o s t = c b S e f ( " i n d e x . p h p ? o p t i o n = c o m _ c o m p r o f i l e r & a m p ; t a s k = r e g i s t e r s " )

to

$ l o g i n P o s t = c b S e f ( " i n d e x . p h p ? o p t i o n = c o m _ c o m p r o f i l e r & a m p ; t a s k = r e g i s t e r s & a m p ; i d = 6 2 " )

Please Log in to join the conversation.

15 years 8 months ago #69437 by rbryanh
Replied by rbryanh on topic Re:Display Menus While Registering
I've changed the menu assignments of a couple of modules to include "cb-login".

Finally, I've verified that the registration link does actually result a URL that ends in:

index.php? option=com_comprofiler&task=registers&id=62

Unfortunately, the resulting page contains only the registration content, without the menus I assigned. During testing I've observed that only modules with the All assignment appear.

Thanks for your help. CB's a great piece of work.

Please Log in to join the conversation.

15 years 8 months ago #69442 by beat
Replied by beat on topic Re:Display Menus While Registering
Try &Itemid=62 instead of &id=62

;)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.237 seconds

Facebook Twitter LinkedIn