pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3131 posts · 12 topics · 1012 reputation
Badges
Recent posts
-
Create own plugin with shortcode
· 6 years ago
@keks, I see no reason to doubt the answer given by the lead designer of Grav... ;-) You will have to create a plugin to execute your own PHP logic to read the json file. If I understand you correct
-
How to disable append URL extension for folders
· 6 years ago
@Turum, Before commenting on your story containing multiple questions, I would like to suggest the following: Grav isn't Wordpress If not already, it is best to start with getting acquainted with the
-
Add image height/width
· 6 years ago
@msa, Apparently I didn't understand your exact issue... What are you trying to achieve? How should the end result look like? When are the images automatically scalled? Are you using derivatives()?
-
Add image height/width
· 6 years ago
@msa, According the docs, the ImageMedium has methods height() and width(): height(string/mixed $value='auto') : \Grav\Common\Page\Medium\$this width(string/mixed $value='auto') : \Grav\Common\Page\Me
-
Help with checkbox
· 6 years ago
@seb3000, I cannot reproduce your issue... I did the following: Create file 'user/blueprints/pages/default.yaml' I copied the first page blueprint example from the docs Example: Page Blueprints into
-
Markdown: Link does not open in new tab
· 6 years ago
@pmoreno Note the syntax of query strings: There can only be one ? in the url. It separates the path from the query string. Separate the second, third, and any subsequent parameters with & Not
-
Manipulating site taxonomy via plugin (php)
· 6 years ago
@matt-j-m, if (!$event['object'] instanceof Page) { You didn't declare the use of 'Page'. By the way, didn't 'Page' get a red wavy/squiggly underline in your editor with an error message 'Undefined
-
Manipulating site taxonomy via plugin (php)
· 6 years ago
@matt-j-m, It's your lucky day... Storing data The following steps will create a separate Admin page for editing authors, whereby the authors are stored in '/user/data/authors/authors.yaml': Run $
-
Markdown: Link does not open in new tab
· 6 years ago
Ah, your answer refers to creating a link with the target attribute in Markdown... [Link in new Tab](../some-page?target=_blank) That wasn't clear to me...
-
Manipulating site taxonomy via plugin (php)
· 6 years ago
@matt-j-m, Caching metadata As a hint for saving extra data to the header of the page when Admin saves the page, try the following in your Grav test/dev installation: Run $ bin/gpm install devtools