Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Multi Domain with Admin Tool?
· 9 years ago
Multisite setup is a very advance topic, and it's not 100% compatible with the admin plugin. I would not suggest it if your a novice with Grav or if you need to rely on the admin plugin. You are be
-
Multi Domain with Admin Tool?
· 9 years ago
I have a Grav setup with the Admin Plugin. The site has multiple languages and each is accessed via a separate domain. So I tried to setup this but failed on the folder structure which was not updated
-
Column in vertical list
· 9 years ago
I cannot recreate this problem. The style option only sets a class that i used for styling, it doesn't do any more than that. If you continue to have issues, please open a ticket on the Admin repo:
-
Column in vertical list
· 9 years ago
Hello, I found something and don't know if it's a bug. When i put columns in a vertical list type: list style: vertical Field values are not retrieved in admin. Does anyone get this previously and ge
-
Custom page blueprint. Help with twig template for image display
· 9 years ago
Try something like this: {{ page.media[page.header.image|first.path].html('My title', 'Some ALT text', 'myclass') }} By passing your custom image into page.media you gain all the functionality of the
-
Custom page blueprint. Help with twig template for image display
· 9 years ago
after a bit more debugging i could see from a working image (using the default media) I could see that the path had a leading slash /user.... where as my output was <img src="user...... if I m
-
Custom page blueprint. Help with twig template for image display
· 9 years ago
thanks for the input guys. I am a step closer. When I use: <img src="{{ page.header.image|first.path }}" alt="{{page.title}}" /> I can see that the img gets the path to the file, but when i pas
-
Custom page blueprint. Help with twig template for image display
· 9 years ago
You can tell exactly how it's stored in the page by using {{ dump(page.header) }} in your twig template and looking at the results in the debug bar. https://learn.getgrav.org/advanced/debugging Once y
-
Custom page blueprint. Help with twig template for image display
· 9 years ago
Should be something like {{ header.myimage|first.path }}
-
Custom page blueprint. Help with twig template for image display
· 9 years ago
How is it stored in your page header?