pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3203 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
Site refuses to update on server
· 3 years ago
@TonHaarmans, Without proper information there is not much we can do apart from mind guessing... Please have a look at these suggestions on how you can enrich your question.
-
Data from "user://data" folder in TWIG templates
· 3 years ago
@VadiOs, Have you had a chance to read the docs on Twig Tags, Filter & Functions and the available functions and filters? Btw. You can also use stream user-data:// to get the data folder.
-
Only use canonical tag when page is set to index
· 3 years ago
@Thorst3n, I have a resume.de.yaml file but it won’t change anything [..] Don't use language extensions like .de.yaml to blueprints. The field's label and help properties will automatically be tran
-
Plugin: How to get url of media in current page's folder
· 3 years ago
@seanparko, Sorry, if you make me spent time while you take the lazy route, I'm out...
-
Plugin: How to get url of media in current page's folder
· 3 years ago
@seanparko, I see you already have a $page in your code. I presume it contains an instantiation of \Grav\Common\Page\Page. Have you tried calling $page->media()?
-
Plugin: How to get url of media in current page's folder
· 3 years ago
@seanparko, Where do you get stuck? Any errors?
-
Plugin: How to get url of media in current page's folder
· 3 years ago
@seanparko, Have you tried Page::media() and Media::files()? See Page and the MediaCollectionsInterface of Media
-
Theme Akazie-Wood: No tinymce editor in modules
· 3 years ago
@speendo, Try the following to conditionally set the type of editor to be used: Update blueprint /user/themes/myakazie/blueprints/modular/text.yaml: extends@: type: text context: blueprints://page
-
Only use canonical tag when page is set to index
· 3 years ago
@Thorst3n, Please format your post correctly. Code snippets are not shown without proper use of backticks or triple backticks. Also please explain what you are trying to achieve.
-
Running bin/gpm index gives med option to associate programs
· 3 years ago
@zyn, Not working on Windows myself, but I believe you shouldn't associate it with anything and call PHP cli commands using $ php bin/gpm list