pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3196 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
Markdown: Link does not open in new tab
· 7 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)
· 7 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)
· 7 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
· 7 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)
· 7 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
-
Markdown: Link does not open in new tab
· 7 years ago
Would you mind explaining why a link like <a href="/path/to/page?target=_blank">Title</a> should work? I haven't found any reference to this.
-
Manipulating site taxonomy via plugin (php)
· 7 years ago
@matt-j-m, I have had a look at both of your plugins and got the feeling you have a WordPress background. I recognise a style of "find an event that fires early enough" and "lookup the api to code th
-
Filename above the Indented code
· 7 years ago
To paraphrase a proverb: give a man a fish and you feed him for a day; let him find out himself how to fish and you feed him for a lifetime You might want to pick your preferred solution and mark it
-
Page find with wildcard
· 7 years ago
@SjoerdSmeets, Have you considered using taxonomy collections for this? pages/courses/soup-chicken/default.md : --- title: Chicken soup taxonomy: category: soup tag: chicken --- # Chicken soup
-
Markdown: Link does not open in new tab
· 7 years ago
@pmoreno The link to Google is malformed. <a href="https://support.google.com/chrome/answer/95647?hl=es&ref_topic=3421433%3Ftarget%3D_blank"> It should be: <a href="https://support.googl