pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3184 posts · 17 topics · 1019 reputation
Badges
Recent posts
-
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.
-
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...