Skip to Content Skip to Menu

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

CB Package Builder - Problem with links to individual packages

1 month 3 weeks ago #342007 by jamesmoeller
Yep, I've tried that too.
When I unpublish that menu item, all other package title links then go to a page that asks for a subscription.
See the attached screenshot.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49708
  • Thanks: 8497
  • Karma: 1465
1 month 3 weeks ago #342008 by krileon
Strange, will take a look at the URL structuring in CB Package Builder tomorrow. As a workaround you can override the URLs under the Info tab with the following to fix this.
Code:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbpackagebuilder&action=package&id=PACKAGE_ID_HERE&Itemid=MENU_ID_HERE

Replace PACKAGE_ID_HERE with the id of the package you're adding the URL to. Replace MENU_ID_HERE with the Joomla menu item id for that package. This should guarantee you end up on the right URL.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

1 month 2 weeks ago #342014 by jamesmoeller
Yes, the workaround functions correctly, but obviously isn't an ideal solution, as the links are hard-coded.
Let me know what you find after examining the code.
Thanks.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49708
  • Thanks: 8497
  • Karma: 1465
1 month 2 weeks ago #342015 by krileon
This is due to the fallback behavior for menu items. It's complicated to explain, but how we parse Itemids would need to be improved in core CB to really fix this, but we risk breaking more by fixing it. For now just use the URL parameter to explicitly tell it what menu item to use. That URL is safe to hardcode as it's non-SEF endpoint to the appropriate view. We'll be addressing these Itemid issues in CB 3.0 since we can remove a lot of this legacy behavior now.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

1 month 2 weeks ago - 1 month 2 weeks ago #342016 by jamesmoeller
Understood.
So, the URL over ride is how this is accomplished on the Joomlapolis site for the "Downloads" link?

Thanks
Last edit: 1 month 2 weeks ago by jamesmoeller.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49708
  • Thanks: 8497
  • Karma: 1465
1 month 2 weeks ago #342017 by krileon
Yes, we're explicitly setting package URLs as well.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum