Hugh Barnes Veteran
Regular
Grav Forum Moderators
@hughbris · Joined 8 years ago · 577 posts · 12 topics · 127 reputation
Badges
Recent posts
-
Best practice for plugin dependencies
· 8 years ago
I looked up google-maps, a plugin I've used that I know depends shortcode core, and saw that it uses the plugin blueprint as per Ole's comment.
-
QUARK- Navbar SVG issues
· 8 years ago
Are you editing Quark itself or a theme that inherits it? Your attachment/link doesn't work for me BTW. If this is urgent, you might have a faster solution by asking in the Grav Slack general channel.
-
Any XSS code can be stored?
· 8 years ago
Thanks for this. Within Admin, by trusted users, this is no issue. Have you found a way to exploit any forms that random Mallories from the public can input? That would be a concern.
-
Comment count on article/blog listing
· 8 years ago
OK I think I follow this. A few Twig things: you've sliced that page collection twice (lines 1 & 2) - I'd recommend removing all that slicing and ordering while you debug this look into using {%
-
Dynamic metatag
· 8 years ago
Please provide more contextual template code, specifically I am wondering from your examples: what is the the value of meta - is there somewhere you've set this to page.header.metadata? There are a
-
Theme tutorial problem
· 8 years ago
No, editing custom.css in your inherited theme should work fine.
-
Theme tutorial problem
· 8 years ago
What's the pure.css method?
-
404 Not Found other than homepage
· 8 years ago
Did you base your .htaccess off the sample provided with your Grav install under webserver-configs ? Someone recently posted the same problem in Slack and that's all the problem was.
-
Changing Logo gives black image
· 8 years ago
Agree that hardocding is a sucky way to do it. Sorry my suggestion was from memory. Looks like you need to do something more like what you see on https://learn.getgrav.org/content/media#url for the sa
-
Changing Logo gives black image
· 8 years ago
Oh wow, I've never used Quark but I looked up the template and there's this line: <a href="{{ home_url }}" class="navbar-brand mr-10">{% include('@images/grav-logo.svg') %}</a> which is a