Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Ron Wardenier Regular
@bleutzinn · Joined 9 years ago · 252 posts · 14 topics · 75 reputation
Badges
Recent posts
-
Problems with select field
· 6 years ago
Thanks for the investigation. I managed to track the problem down to the Grav core, in the 'filterArray' function in /system/src/Grav/Common/Data/BlueprintSchema.php line 170 to be specific. When I do
-
Problems with select field
· 6 years ago
For some reason the selected_types select field in a blueprints file won't save to the config file. This is part of the blueprints file: media_types: type: list label: Medi
-
Create the corresponding twig file of the md file
· 6 years ago
A page uses a Twig template for it's HTML structure which defines the page layout. Styling on the other hand is done via CSS. The Quark theme already has a place for custom styles: /user/themes/quark/
-
Pass data from one page to another
· 6 years ago
Hello @lucapu88, welcome to the Grav Forum. Assuming the forum with page_B does not have an API there is only one way to pull content into Grav and that's by 'web scraping'. One approach could be to c
-
Help wanted on initializing a "named" form (plus solution)
· 6 years ago
I have a page "page_1" with a form "form_1" which uses a custom template which initialises the text input field. This is the most important part of form_1: title: 'Form page 1' template: custom_form_t
-
Grav external requests
· 6 years ago
Posts in the forum are not read by the Grav developers as far as I can tell. So, the best you can do is to create an issue in the main Grav repository on GitHub. There it will be seen and not forgotte
-
Show message IF no posts
· 6 years ago
You could try: {% if page.find('/insights').children|length == 0 %} Or: `{% if not page.find('/insights').children|length %}` PS I didn't test this I must admit.
-
Is there a way to create interactive flow charts?
· 6 years ago
Did you do a search on "diagrams" in the Grav Plugin repository?
-
Content security policy
· 6 years ago
Ad a) Personally I think this is beyond the core business of a CMS. Besides that it would be very hard to create a generic solution for all combinations of server operating system and web server make
-
Content security policy
· 6 years ago
One way could be to have a plugin look for the JS code in the HTML Grav outputs in the onOutputGenerated event. And then maybe pass each JS code block on to a shell script which calculates the hashes