pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3221 posts · 18 topics · 1023 reputation
Badges
Recent posts
-
Install in folder, browse from webroot
· 8 years ago
Never tried it myself, but maybe this could be of some help: Scenario 1, run in the domain root folder Grav is installed in http://localhost:8080/grav-develop but you want it to respond on http://loc
-
Display image url from file custom field
· 8 years ago
Some questions: Are you sure the page contains the frontmatter mainImage and it has a value? What value do you expect it to be? Would you mind sharing the frontmatter? Where do you store your images?
-
Display image url from file custom field
· 8 years ago
Shouldn't you be using a field with type filepicker instead of file? File in Admin, File is specialized to be used in plugin and theme configurations (blueprints). Handles uploading a file to a locat
-
Browser can't find/doesn't display fonts
· 8 years ago
@siebenstein Using SCSS is a bit more tricky... You could do the following: Create a child theme using inheritance Add font files to /user/themes/mytheme/fonts In the child theme create folder /user/
-
/app/user/data does not exist when deploying on heroku
· 8 years ago
@XizzoR Found these pages through Google Why are my file uploads missing/deleted? Ephemeral filesystem Do these make sense?
-
Browser can't find/doesn't display fonts
· 8 years ago
@siebenstein There are several ways to customize a theme. Have a look at Customization in the Grav docs. It shows the different options. The quick and dirty way for testing: Add the font files In /us
-
Browser can't find/doesn't display fonts
· 8 years ago
@siebenstein Would your mind posting your question/answer in English so the entire community can benefit and/or help you? I would appreciate it.
-
Display image url from file custom field
· 8 years ago
On closer look... Grav defines the header object which is a shortcut to page.header(). Therefor header.mainImage could return the right value in the code provided in the initial post. Could, because i
-
Display image url from file custom field
· 8 years ago
@Michael, On first sight I would guess you have gotten the reference to the frontmatter wrong. It should be page.header.mainImage. The entire code becomes: {{ page.media[page.header.mainImage].url }}
-
Canonical link is different between version 1.4.5 and 1.4.6
· 8 years ago
@teamraider13 I am using the exact same code but do not get the port appended to the url. Have you tried 1.4.7? Could it be a conflicting plugin? My config is relatively clean: Grav 1.4.7 (but haven'