Paul Hibbitts Regular
@paulhibbitts · Joined 9 years ago · 462 posts · 3 topics · 113 reputation
Badges
Recent posts
-
Add extra page headers automatically to every page
· 9 years ago
Looks like you are making progress @rvreugde! You should be able to define the default right in that Blueprint you are editing, at least I would think so. More info here : https://learn.getgrav.org/f
-
Add extra page headers automatically to every page
· 9 years ago
I've looked into this a bit more and while I was hoping a Blueprint change would do what you want it does not look like page access items are there by default. A custom Blueprint might still be an opt
-
Add extra page headers automatically to every page
· 9 years ago
Do you mean when a Page is added via the Admin Panel? With a custom Blueprint I think you should be able to set defaults for those values: https://learn.getgrav.org/forms/blueprints/example-page-bluep
-
How to render data from footer.md when it's included as a partial?
· 9 years ago
Here is one of my favorite ways: {% set content = pages.find('/footer').content %} {% if content %} {{ content }} {% endif %} This should work for Partials too...
-
Adding page in Admin: Change default to blog & item
· 9 years ago
I have not found any way to change the default parent page except to modify the YAML for the Admin Panel plugin, but this change can be lost when updating the Admin😕 Here is an example where I changed
-
Adding page in Admin: Change default to blog & item
· 9 years ago
Hi @endogen, you can set the default child page type for page, which should help you out a fair bit. In the page frontmatter of your Blog Markdown file, add the following: child_type: item The above
-
Content that goes again on several pages
· 9 years ago
You might find the Page Inject plugin handy for this - https://github.com/getgrav/grav-plugin-page-inject
-
Hide Home in navigation menu
· 9 years ago
Hi @gravus, to use the visibility option you would add this setting to the page frontmatter of the Markdown page which is your homepage. If you are using the Admin Panel visible is usually a setting o
-
Make Certain Fields Visible to Only Logged in Users
· 9 years ago
Awesome, so glad you got it working. Grav is brilliantly designed, and the use of Twig opens up customization possibilities for a lot more people (including myself, I am not a 'dev')🙂
-
Make Certain Fields Visible to Only Logged in Users
· 9 years ago
Hi @tmilktoast, perhaps this post might help? /forum/archive/display-in-menu-only-if-logged-in-t7073