Skip to Content Skip to Menu

CB Groupjive Menu Item Type

  • NicoFaaij
  • NicoFaaij
  • OFFLINE
  • Posts: 114
  • Thanks: 10
  • Karma: 1
9 years 7 months ago #261175 by NicoFaaij
Replied by NicoFaaij on topic CB Groupjive Menu Item Type
So, is there really no way with super CB Action to get nice URL´s like www.MyWebsite.com/group/Groupname ?

With a CB Auto Action SQL I can create such an alias in my SEF sh404sef component alias tabel. So when I call www.MyWebsite.com/group/Groupname it will execute something like index.php?option=com_comprofiler&action=groups&cat=1&func=show&grp=5&lang=nl&plugin=cbgroupjive&task=pluginclass and the URL stays www.MyWebsite.com/group/Groupname so everything looks fine. This is nice for groupmembers who want to share their Group URL on social media etc.

But now the other way around. When I have the group listing from GroupJive, and you click on one of the groups I want to get that alias URL in the browser. The only way I can think at this moment is a core hack by editing the group listing script and do for each URL a sql to the SEF database to get the alias url of it and give that to the listing print. Or does somebody know a better approach for me to jump in.

@Kyle, thanks for sharing the current status of the GJs upgrade, which I didn't dare to ask you ;-)

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 7 months ago - 9 years 7 months ago #261176 by krileon
Replied by krileon on topic CB Groupjive Menu Item Type
CB GroupJive is a plugin component. It's a CB plugin that can provide a frontend component like usage. Multiple plugins are designed this way. The issue that comes from this is typically a pretty long URL to path to the plugin. Unfortunately we can't make SEF rules for these endpoints as they're entirely up to the plugin. This means you can end up with some ugly URLs depending on what variables are needed. For now there is no solution except maybe custom rewrite rules using a 3rd party SEF extension. However, we've plans to allow CB plugins to supply their own router rules so they can properly be SEFed.

In addition to the above once you can generate internal menu items to GJ it will also help as the alias will function correctly. Currently you can create Joomla menu items to plugin component pages, but the plugin still needs to provide and XML file for its endpoints (e.g. see CB Blogs plugin menutype usage).


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.
Last edit: 9 years 7 months ago by krileon.

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

  • NicoFaaij
  • NicoFaaij
  • OFFLINE
  • Posts: 114
  • Thanks: 10
  • Karma: 1
9 years 7 months ago #261179 by NicoFaaij
Replied by NicoFaaij on topic CB Groupjive Menu Item Type
What do you mean with:

This is done by selecting Community Builder > Plugin and set Plugin to "CB GroupJive".


Are you telling that I have to rename a menu item, directory or something else?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 7 months ago #261231 by krileon
Replied by krileon on topic CB Groupjive Menu Item Type
When you create a Joomla menu item there are multiple types available. CB 2.x offers a new menu type called "Plugin". This links directly to a plugins component page, but if the plugin provides the appropriate XML file it can add parameters to that menu type. This will be fixed in the next release of GJ to provide this (getting rid of the no longer needed GJ > Menus) and allow for proper internal Joomla menu items. For now you need to use External menu items or GJ > Menus to generate them.


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.
The following user(s) said Thank You: NicoFaaij

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

Moderators: beatnantkrileon
Powered by Kunena Forum