Skip to Content Skip to Menu

Search Results (Searched for: Triggers:)

  • liaskas
16 Nov 2024 13:01
Replied by liaskas on topic OpenGraph tags in activity posts?
Thank you for your reply Krileon but not so helpful for me that i am not a programmer!

So let me put things in an order so that i can understand what to do...

Created type Code auto action. Triggers: activity_onDisplayActivity, User: Automatic, Access Everybody.
Conditions... Field: Value, Custom Value: [var3_isRow], Operator: Equal To, Value: 1.

Now regarding your blog post, you mention...

Simply add &format=jsonapi to the auto action URL

Where do i have to add it? Somewhere inside the above Code Auto Action? Where is the Auto Action URL?

Thank you.
  • krileon
08 Nov 2024 16:01 - 08 Nov 2024 16:02
Replied by krileon on topic SEO CB plug in
The below should work for outputting whatever metadata you like on profiles.

Global
Triggers: onBeforeUserProfileDisplay
Type: Code
User: Automatic
Access: Everybody
Action
Method: Metadata
Row 1
Name: description
Content: [cb_description]

The above for example would set the metadata description to the field with a name of cb_description. You may need to use the onAfterUserProfileDisplay trigger instead though if menu metadata is being applied to be able to override the menu metadata.
Displaying 31 - 32 out of 32 results.
Powered by Kunena Forum