Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Link to tab

  • dtws2008
  • dtws2008
  • OFFLINE
  • Posts: 18
  • Thanks: 1
  • Karma: 0
8 years 11 months ago - 8 years 10 months ago #274283 by dtws2008
[SOLVED] Link to tab was created by dtws2008
Hello,
I need to link a joomla menu item directly to a specific CB profile tab.
I use this: cb-profile-edit/userdetails#cbtabpane=32 . This is the url of the specific tab at the edit profile.
This link always go to the canvas edit tab (cb-profile-edit/userdetails#cbtabpane=7) which is the first one in the edit profile pane.
Is there a way to achieve this?
Last edit: 8 years 10 months ago by nant.
The topic has been locked.
  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 11 months ago #274300 by nant
Replied by nant on topic Link to tab

dtws2008 wrote: Hello,
I need to link a joomla menu item directly to a specific CB profile tab.
I use this: cb-profile-edit/userdetails#cbtabpane=32 . This is the url of the specific tab at the edit profile.
This link always go to the canvas edit tab (cb-profile-edit/userdetails#cbtabpane=7) which is the first one in the edit profile pane.
Is there a way to achieve this?


You should be able to link to a specific tab using a URL like:

index.php?option=com_comprofiler&view=userprofile&tab=TAB_ID_GOES_HERE
The topic has been locked.
  • dtws2008
  • dtws2008
  • OFFLINE
  • Posts: 18
  • Thanks: 1
  • Karma: 0
8 years 11 months ago - 8 years 11 months ago #274301 by dtws2008
Replied by dtws2008 on topic Link to tab
Thanks!
But I do not succeed to do it with edit profile. I need to go directly to a tab in the edit profile pane.
your link takes me to the view profile pane
Last edit: 8 years 11 months ago by dtws2008.
The topic has been locked.
  • dtws2008
  • dtws2008
  • OFFLINE
  • Posts: 18
  • Thanks: 1
  • Karma: 0
8 years 11 months ago #274311 by dtws2008
Replied by dtws2008 on topic Link to tab
Done!
The topic has been locked.
  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 11 months ago #274359 by nant
Replied by nant on topic Link to tab

dtws2008 wrote: Done!


Great - please post back url for others reading.
The topic has been locked.
  • dtws2008
  • dtws2008
  • OFFLINE
  • Posts: 18
  • Thanks: 1
  • Karma: 0
8 years 11 months ago #274428 by dtws2008
Replied by dtws2008 on topic Link to tab
I have just found this:
www.joomlapolis.com/forum/153-professional-member-support/224592-solved-cb-frontend-fields-questionaire

shortly:
The edit page can be reached with the below base URL.

index.php?option=com_comprofiler&task=userdetails

You can then append &tab=TAB_ID_OR_TAB_NAME to link to a specific tab. Example as follows.

index.php?option=com_comprofiler&task=userdetails&tab=Contact%20Info
The following user(s) said Thank You: nant
The topic has been locked.
Moderators: beatnantkrileon
Powered by Kunena Forum