Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Intro Black Friday Offer for a lifetime*

[SOLVED] GJ group metas

5 years 6 months ago - 5 years 6 months ago #312344 by victoriakim
[SOLVED] GJ group metas was created by victoriakim
Hi,

From a previous ticket, I was able to set meta (title and description) for each group category. Now I'd like to set meta for each group. I followed the same way as I did for categories but it doesn't work for groups, so I wonder if the 'Custom Value' Field might be different for group meta-setting, which is [var3_name] for a category name.

Thanks.
Last edit: 5 years 6 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48556
  • Thanks: 8292
  • Karma: 1445
5 years 6 months ago #312355 by krileon
Replied by krileon on topic GJ group metas
If adding the meta data using CB Auto Actions ensure you're acting on the gj_onAfterDisplayGroup trigger. Its variables are as follows.

Code:
$_PLUGINS->trigger( 'gj_onAfterDisplayGroup', array( &$return, $row, $users, $invites, $user ) );

$row is the group object. So you'll need to use [var2_name] for the group name using that trigger.


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: victoriakim

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

5 years 6 months ago #312368 by victoriakim
Replied by victoriakim on topic GJ group metas
Thanks, it works.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum