Skip to content
Grav 2.0 is officially stable. Read the announcement →

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3181 posts · 17 topics · 1019 reputation

Badges

Grav Core Team ModSquad Team Member ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Set Category and Tag (Taxonomies) as required · 4 years ago

    @pireba, To respond to your issue wrt the empty Taxonomy values in your static function... Try the following function inside your theme (or plugin): public static function taxonomyValues(string $tax

  • Invalid input in "Content" Failed to save entry: Form validation failed, please check your input · 4 years ago

    @spamhater, The question is not whether 65536 is plenty enough for most people. The question is also not about the user experience when using large documents. The question is why the size validation h

  • Set Category and Tag (Taxonomies) as required · 4 years ago

    @pireba, Instead of trying to implement a "custom" Taxonomy field by yourself, you can add some validation using a plugin. Try and adapt the following: In case not all Taxonomy taxons are required, a

  • Invalid input in "Content" Failed to save entry: Form validation failed, please check your input · 4 years ago

    Please have look at issue https://github.com/getgrav/grav/issues/3643. For some reason, Grav 1.7.32 has added a default max size of 65536 bytes for text (multiline) and textarea fields of pages. Admin

  • Set Category and Tag (Taxonomies) as required · 4 years ago

    @pireba, Have a look at Using Function Calls (data-*@)

  • How to debug using dump and xdebug? · 4 years ago

    @myscha, Because one didn’t know that it’s possible :see_no_evil: Uh... wasn't that part of course Programming 101 ? ;-) Are you talking about Xdebug, too? Yes. See Xdebug docs. Here is a screensh

  • How to debug using dump and xdebug? · 4 years ago

    The reason why dump() doesn't show during onAdminSave is because the Save action is performed by multiple task requests to the server. When hitting Save on a page: The first request: onAdminSave is

  • How to delete tag · 4 years ago

    OK, here is a proof of concept for the plugin I suggested. What can it do: CLI $ bin/plugin taxonomy-case-guard set-case --case capitalize # one of capitalize|uppercase|lowercase This command will

  • How to delete tag · 4 years ago

    Taxonomies are case-sensitive. Have a look at the code that adds taxonomy/values to the taxonomy_tree when looping through all pages: Taxonomy::addTaxonomy() lines 59-86 The taxonomy tree has the fol

  • Duplicate content · 4 years ago

    @NataliaB, There are even more urls pointing to the same content. Try: https://mydomain/typography https://mydomain/typography.html https://mydomain/typography.htm https://mydomain/typography.xml http