pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3197 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
Creating a new event on a calendar
· 6 years ago
Hi can i ask you something else? I think that warrant for a new topic with its own suitable title...
-
Extending class from another plugin
· 6 years ago
@Jrbdog, I was trying to setup autoloader again and noticed something that may have set things up for failure... I initialially created plugins 'Xx' (parent) and 'Yy' (child) which worked fine. For
-
Load CSS/JS assets with theme_url or do assets.JS/CSS
· 6 years ago
@pmoreno, After looking at the repo, it appears to be an issue of the order in which javascripts were loaded using the Asset Manager. jQuery was being loaded after the other scripts needed it and erro
-
Possible solutions for TOC on long pages?
· 6 years ago
@sue, From a search on this forum on 'toc anchors', I found Grav Anchors Plugin. Could that plugin serve your needs?
-
Extending class from another plugin
· 6 years ago
@Jrbdog, I'm using localhost using Windows Subsystem for Linux with Apache inside Ubuntu 20.04 Did you debug and set a breakpoint inside function autoload() to check if vendor/autoload is indeed load
-
Load CSS/JS assets with theme_url or do assets.JS/CSS
· 6 years ago
@pmoreno, Can I have a look at your repo?
-
Extending class from another plugin
· 6 years ago
@Jrbdog, That seems like a hack for an issue with 'autoload'... From your solution I guess: Grav has not called '/vendor/autoload.php' in your plugin or your 'psr-4' section in composer.json isn't c
-
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.