pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3221 posts · 18 topics · 1023 reputation
Badges
Recent posts
-
How to get file date/time in twig?
· 6 years ago
@myscha, Nice! By the way... Variable system is already defined in Twig as an alias to grav.config, like many others.
-
How to get file date/time in twig?
· 6 years ago
@myscha, Have you tried dumping the image object in Twig to reveal its properties: {{ dump(page.media['myimage.jpg']) }} This will yield something like: Array(1) object: Grav\Common\Page\Medium\ImageM
-
Creating a new event on a calendar
· 6 years ago
@klaes, Glad it helped... You should make a quick video you know… That is a task I'll leave for the owner of the plugin. You might give him feedback on his repo about the documentation issues.
-
Load CSS/JS assets with theme_url or do assets.JS/CSS
· 6 years ago
@pmoreno , Are you working on a fresh install of the latest Grav v1.7.0-rc.20? If so, did you add the |raw filter to the output of assets, like {{ assets.js('bottom') | raw }}? Since Grav v1.7.0-rc.
-
Extending class from another plugin
· 6 years ago
@Jrbdog I've tried the following which seems to extend another plugin and override its parent's methods. In fresh install of Graf 1.7 Create plugin Base: $ bin/plugin devtools new-plugin Add event h
-
Creating a new event on a calendar
· 6 years ago
@kleas, Regarding iCal, there is an open issue on the repo of the plugin: Can not read ICS file. I also, cannot get it to work. Setup: Fresh install of Grav 1.7 Install of plugin Event: $ bin/gpm ins
-
Installing Grav outside of document root
· 6 years ago
@dinomed, Unless symlinking or one of these scenarios is what you are after, I have no idea... Curious about what you are trying to achieve though...
-
How to create two menus
· 6 years ago
@myscha, Each menu is nothing but a listing of a page collection. In Twig the variable pages is a collection of descendants of folder 'user/pages' and is usually used in the horizontal top menu. In Tw
-
Creating blank page
· 6 years ago
@icamps, Looking at the demo of Gateway is seems that page Full Width is quite clean... From the skeletons repo, the frontmatter of the page looks as follows: --- title: Fullwidth body_classes: page
-
Lightbox in docs
· 6 years ago
@adv, No it was me saying that jokingly... What's preventing you from enriching the docs? ;-)