Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Col Member
@col · Joined 7 years ago · 18 posts · 4 topics · 3 reputation
Badges
Recent posts
-
Using TinyMCE plugin
· 6 years ago
As in, something you had to install manually as well? No, I've never had to do that before. I usually install the plugin and it just works.
-
Installing Grav | general what do I do now problem
· 6 years ago
I have always installed into the root directory rather than a sub folder, but I'd be surprised if that wasn't possible. Does this help? /forum/archive/grav-in-subfolder-without-site-visitors-ever-kn
-
Installing Grav | general what do I do now problem
· 6 years ago
Yes, I agree with @dan-james. Just copy the complete contents of grav-admin (including hidden files) into the root folder (public_html) and then visit the site in the browser. This should automatical
-
How to get page title from footer when it’s included as a partial?
· 6 years ago
Hi. If I understand your question correctly, you would like the modular footer to display the title of the 'parent' page, rather than the title of the modular page? If so, something like this should
-
If file added to page, is it possible to filter by type?
· 7 years ago
Of course not @pamtbaau, I agree that my 'solution' wasn't the most elegant. 👌 Thanks once again!
-
If file added to page, is it possible to filter by type?
· 7 years ago
I've used @pamtbaau's suggestion like so, to achieve what I needed... {% if p.media|first.extension == "svg" %} <img src="{{ p.media.files|first.url }}"/> {% elseif p.media|first.extension == "j
-
If file added to page, is it possible to filter by type?
· 7 years ago
Brilliant, thanks @pamtbaau! That seems exactly what I'll need. I had no idea those properties even existed! Would you also know if there is a reference of which are available?
-
If file added to page, is it possible to filter by type?
· 7 years ago
I'm selecting the first image attached to a post and using it in an img tag within my Twig template, like so: <img src="{{ p.media.images|first.cropZoom(1200, 500).url }}"/> If this is an SVG, t
-
Has anyone successfully added their own classes to the TinyMCE integration?
· 7 years ago
Hi @hughbris I’ve managed to get this working, basically by adding a couple of extra lines to the TinyMCE config file. In essence, you copy /user/plugins/tinymce-editor/tinymce-editor.yaml file to /u
-
Has anyone successfully added their own classes to the TinyMCE integration?
· 7 years ago
Still not showing sadly.. I’ve made a post on the Github issue thread so hopefully we can get to the bottom of this. Once again, many thanks for your help so far!