Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Helium theme - how to insert a plugin

Solved by elisabetta View solution

Started by David Jakob 6 years ago · 9 replies · 1738 views
6 years ago

Hi I've installed the Helium skeleton and added a few particles. I'm familiar with this from the joomla/rockettheme sites I've built, but I don't understand how I can insert, e.g. the tag cloud plugin into the helium sidebar or anywhere else.

Any help appreciated.

Regards
David

6 years ago

Have I upset someone here? 1 Answer which has been deleted.

I apologise if I've made a mistake, although what it is is unclear.

6 years ago

@coolman01, When reading the docs from plugin 'Tag Cloud' I thought its use was quite straightforward and therefor asked at what point you were struggling.

While downloading Helium to do some research for you, I discovered the theme is based on Gantry... I only know Gantry from skimming its docs recently and realised that adding a plugin might not be as straightforward as it seemed from the docs.

For my simple needs (hence my love for Grav), an extra framework layer like Gantry isn't appealing enough to invest any time in. My possible contribution to your post became therefor very limited if not nihil. Hence the withdrawal of my post...

6 years ago

That makes sense. Thanks for the that info.
I did look at the documentation, but it isn't clear to me where all the bits needed actually go, i.e. the path to the files needed and if a new file has to be created.

I'm new to Grav, so am struggling withe different concepts.

Regards
David

6 years ago

@coolman01, To get a basic understanding about the concepts of Grav, you might consider reading the docs chapters 1 - 4 and try the examples on Plugins and Themes using the most up to date theme Quark.

That insight in the building blocks of Grav development might help with the use of Gantry.

6 years ago

Thanks. I've looked at that, but I'll look again ;-)

But maybe someone else can offer an insight in how to use GRAV plugins with Gantry 5

Regards
David

last edited 02/19/20 by David Jakob
6 years ago Solution

you must copy the html.twig file of the plugin ( plugin_folder/templates/partials) in a custom html particle, enable the "process twig" field of the particle and then put your particle in the desired position of your layout (sidebar etc.)

👍 2
6 years ago

Thank you so much. That solves it.
Regards
David

6 years ago

You can also use "positions" see here if your particle must be used in every page (for example the search particle): create a position (find it beside "Outlines" at the top of Gantry ) pick up a particle using + and then assign this position to the page/pages you want. You can then recall your particle in the layout.
For same (unknown, at least to me!! 😉) reason, this method doesn't always work properly.

6 years ago

Great stuff - I'll try that out.

best regards
David

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 43 1 week ago
Plugins · by Xavier, 4 weeks ago
2 54 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1181 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 48 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 73 2 months ago