pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3196 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
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....
-
Turning fonts.googleapis.com off
· 8 years ago
@ryan Sorry, I mistakenly used SCSS style comments (//) inside my answer. I have corrected it in my answer. Although // @import ... works (the statement just fails I guess), the proper way of using c
-
Turning fonts.googleapis.com off
· 8 years ago
@ryan To switch of Google fonts for both back-end (Admin) and front-end you will have to make some changes in two area's: Admin: By default, the Admin panel does not use any Google fonts. The setting
-
Line break problems
· 8 years ago
@coll88 I can see two reasons why paragraphs appear differently in different pages, or different templates. 1) Auto Line Breaks configuration setting for Markdown. This Mardown setting controls the i