pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3129 posts · 12 topics · 1012 reputation
Badges
Recent posts
-
Order pages within a collection in admin
· 8 years ago
@ThosGreen You might take a look at the System tab of the configuration panel in Admin and play with some settings. There you can set the field 'Default ordering' to: 'default', 'folder', 'title', or
-
Making a youtube or other query string link open in new tab
· 8 years ago
@jkproperty I have no experience with this, but did have a quick look at the docs for you... Shouldn't the second question mark be an ampersand? See Attribute Combinations in the Grav docs. [interview
-
Third-level menu
· 8 years ago
@pavel Uhhh, please enlighten me... what exactly is not working about the menu at the moment? By the way, is this nav intended to be used as the main navigation bar? Like the one used by Quark? If so,
-
Dynamic slug generation in custom page creation modal
· 8 years ago
@christhorn Instead of the formatDate() function you might try the single line: new Date().toISOString().slice(0, 10) // 2018-11-07
-
Dynamic slug generation in custom page creation modal
· 8 years ago
@christhorn Good to hear! It was an interesting exercise... I was just about asking if you would mind sharing the final solution... You beat me to it. Thanks for sharing. You might even consider cre
-
Dynamic slug generation in custom page creation modal
· 8 years ago
Update: On rereading you last post, the below sample might not be what you are looking for... And maybe it does lead to something anyway... @christhorn I tried the following which seems to work. It 's
-
What is the best way to work with dynamic images?
· 8 years ago
@gen035 The answer depends... What are 'dynamic images'? SVG images, or jpg/png images which are loaded depending on some logic in a twig template? Which theme are you using? What is the 'index page'
-
Using 2 themes for one site
· 8 years ago
@mlacunza Just a wild guess.... A theme/plugin can use the Asset Manager to addCss and removeCss. Maybe, by checking the url requested by the user, you can add/remove css depending on the url. Never t
-
Dynamic slug generation in custom page creation modal
· 8 years ago
@christhorn The Grav 'add' page modal uses some Javascript for this. I think you can find it at Github in https://github.com/getgrav/grav-plugin-admin/blob/develop/themes/grav/app/pages/page/add.js
-
Vote for Grav as "Best Flat File CMS"!
· 8 years ago
Bumping up this post... I think Grav deserves a higher score then October CMS....