pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3185 posts · 17 topics · 1019 reputation
Badges
Recent posts
-
Count-views records unusually many visits on the "error" page
· 6 years ago
@falkm, I installed and took a quick look at the count-views plugin and did some tests... Every request to a non-existing url seems to add to the count of the /error page. Because of the sudden large
-
Shortcode Core: Markdown not parsed inside column tags
· 6 years ago
@hschneider, Start the content of the shortcode on a new line... [columns count=2 gap=40px rule="1px dashed #d6d6d6"] ## Headline2 Some Text [/columns]
-
Create form with fields side by side
· 6 years ago
@jason, If the following responsive layout reflects your requirement, read-on, else I'm sorry... I did the following using a fresh Grav 1.6 install, Quark and the sample Contact form from the docs (
-
Admin Panel - Can users create or edit image.meta.yaml files?
· 6 years ago
@clivebeckett, Your plugin won't crash if there is no 'classes' folder. To preserve the 'classes' folder, a common practice is to add a '.gitkeep' file to it. The actual name doesn't matter, it is onl
-
Admin Panel - Can users create or edit image.meta.yaml files?
· 6 years ago
@clivebeckett, If I'm not mistaken, the function 'autoload' will only be called by Grav 1.7.x. When creating a plugin using Devtools it shows the following warning: Make sure to run composer update t
-
Admin Panel - Can users create or edit image.meta.yaml files?
· 6 years ago
@syntaxErrr, It's best to create an issue at the repository of the plugin. That will help the developer in managing, discussing and fixing issues...
-
Add the text "no posts found" in archives
· 6 years ago
@bleutzinn, 'items' is an array, so the correct syntax should be: {% if (items | length) == 0 %} ... {% endif %} The syntax {% if items = 0 %} would have thrown an error: 0 - Unexpected token "ope
-
Add the text "no posts found" in archives
· 6 years ago
@maria, Having taken a look at the Archives plugin, I get the impression that the array 'archives_data' only contains year/month combinations for which at least 1 item exist. That means that {% if (it
-
Form plugin : how to dynamically initialize form value depending on header data from a plugin
· 6 years ago
@randoum I would not use the second one though cause static functions are meant to be static. For my understanding, would you mind elaborating? As an alternative: public static function getDefault(
-
Is grav suitable for advance needs?
· 6 years ago
@randoum, Grav is build to be lean with a small, fast and efficient core. To keep it lean and fast, it depends on plugins for extended functionality. Plugins can be build upon and extend almost everyt