pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3196 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
How to get the slug url using the LangSwitcher plugin?
· 7 years ago
@michael, @reboom If my issues were the same as yours, I might have a solution to point you in the right direction... Grav has a function Page::translatedLanguages() (see docs on Page) which is said
-
Cloud service to drop files but not read them
· 7 years ago
@hughbris I'm not familiar with Dropbox and I'm not sure if I understand your requirement properly, but while building my own static website generator (based on Grav pages) I experimented with several
-
Modify Maintenance plugin page
· 8 years ago
@jerry, Since the message will probably be multi-lingual, try 'user/plugins/maintenance/languages.yaml'
-
Frontmatter global setting for Default page
· 8 years ago
@mikulabc If you are using the Admin panel to create pages, the following might be a solution. If you create pages manually using an editor I would not know of any Grav solution. Grav allows you to ex
-
Access image meta.yaml for Alt in markdown?
· 8 years ago
@metbril, I'm not sure how that will fly with images embedded in the content of pages... At the very top or bottom of the page, OK, but anywhere else would be inefficient (e.g. regex) in Twig templat
-
Access image meta.yaml for Alt in markdown?
· 8 years ago
@Ckka If I understand Grav's caching correctly.... The processing of Twig in Markdown only happens when the cache needs to be (re)build (e.g. page change, system.yaml change, ...). Once cached, the pa
-
Caching implications for nicetime twig function
· 8 years ago
@metbril As far as I know, 'nicetime' will not have any impact on caching. Grav does not cache the resulting HTML file, which will indeed change over time. Instead, Grav caches the php file generated
-
Access image meta.yaml for Alt in markdown?
· 8 years ago
@Ckka I am afraid the above mentioned example from the docs will not work by its own. For performance reasons, by default, Grav does not process Twig inside Markdown. By default Grav will process ma
-
Custom page plugin
· 8 years ago
@luigimassa The docs you are referring to is only about defining and registering blueprints extending existing blueprints ('default') or creating custom blueprints ('example' in '/user/plugins/yourplu
-
Select only 3 children from a page
· 8 years ago
@Junek According the docs on Grav's API page.children(): is of type \Grav\Common\Page\Collection which has method order( ), returning a Collection which extends \Grav\Common\Iterator which has method