This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Troiscent
Troiscent

Hello,

I'm planning to create a plugin that add contextual links to models listed in frontend with components. That contextual links would allow to do some basic actions on models directly from frontend see that image for example

For people who knows Drupal CMS, I'm trying to do the exact same thing than the contextual core module.

I'm new to laravel and october CMS, but by reading the doc, I understood that the way to go is to listen an event on the boot() method of my plugin.

My question is, what is the event I should listen to be able to alter all components that display models in order to alter them to add some markup, css and JS for my contextual links to appear ?

In addition, I think it would be perfect if I can add an option to all that components, a "[x] display contextual links" checkbox, that you could check or un check if you want some contextual links for that component.

Thanks for your help

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.