Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
phi ARCHITECT Member
@phi · Joined 8 years ago · 23 posts · 0 topics · 7 reputation
Badges
Recent posts
-
How do I get an H1 title to appear on my form page?
· 6 years ago
hi @dave ~ Assuming you are using the forms plugin, copy form.html.twig in the forms plugin templates folder to the templates folder of your theme. This will override the plugin's template. Open the c
-
Accessing metadata of images outside a pages folder does not work
· 6 years ago
Fantastic @Markus! Glad it's working and I learned some things too! phi
-
Accessing metadata of images outside a pages folder does not work
· 6 years ago
Hi @Markus Sorry if I confused you at first. I was intending to put the dumps somewhere in your twig template. But you figured out a nice work around and taught me something in the meantime 🙂 So - the
-
Blog children not accessible
· 6 years ago
@Khrys - At this point I would have a lot of questions about your system setup - starting with theme and plugins. Then specifically, what is the template of the blog children doing? SInce the page is
-
User/Groupe Dependent Content
· 6 years ago
Hi @simonliechti - To get started - you could add something like this to your template: {% if config.plugins.login.enabled and grav.user.username %} Hello
-
Blog children not accessible
· 6 years ago
I suspect there are errors showing up in your <grav-root>/logs/grav.log that would give you some insight. Have you checked here? How about switching on the debugger?
-
Accessing metadata of images outside a pages folder does not work
· 6 years ago
To be clearer, try dump( pages.find('/images') ) dump( pages.find('/images').media['secondpicture.jpg'] ) to see if you are in the right place.
-
Accessing metadata of images outside a pages folder does not work
· 6 years ago
Does your /images folder actually represent a page (does it have a .md file)?
-
TWIG: Display/Access module from modular in a non-modular page
· 6 years ago
Since the legal info will occur on all pages, I would consider moving the content to a global config file like user/config/legal.yaml and populate the template from this. You could also make a corresp
-
Anyone using Tailwindcss? How do I style markdown chunks like page.content?
· 6 years ago
The easiest thing to do is insert some custom css into the head of your page that uses css selectors to identify the elements you want to style. I don't know the structure of your html - but if your c