I would like to add a button in every post that before clicking on it will be gray and after clicking on it will be green for all users !!
This means that as soon as one user clicks on it he will color for everyone.
And that I can know who pressured him ...
Is it possible to insert such an element with the user ID that clicked on it?
Is it possible to add scripts into a widget template
I have a widget template called "carousel-3d.tpl", and because carousel-3d depends on jquery, modenizr and other front-end components, I guess is there any way to add scripts into this widget? I tried, but never able to render
extends->widgetspage, it freezes. I know I am a newbie, does anyone could help me solve this problem?
psychobunny last edited by
You could try adding those scripts in the Custom Header section from an external CDN
extends->widgetsfreezes, if you are trying to render the widget in the ACP, you may need to add the dependent scripts to the
acpScriptssection of your
I don't think the Custom Header is executed in the ACP.
@psychobunny Custom header is a way, but not good enough, in fact I am writing a plugin which act somewhat like
nodebb-plugin-widgets-essential, that is to add one of our custom widget.