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

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3130 posts · 12 topics · 1012 reputation

Badges

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

Recent posts

  • The sign +In sub menu · 8 years ago

    I don't consider the following really as a solution, but rather a hacky override of 'jquery.treemenu.js' (which runs the menu) plus some required css compensation. Create inherited theme from quark-

  • How to get home url in a javascript file · 8 years ago

    @Micheal Are you referring to the function wp_localize_script( $handle, $name, $data ) from Wordpress? Please correct me when my info is outdated, but to my knowledge the variable is not injected magi

  • Condition based on page.collection.modular|length · 8 years ago

    I might start coming across as nagging... But ask you anyway: How do you know the code inside the for-loop is reached when the value of 'totalmodule' is zero? Why do I keep asking? The collection o

  • Condition based on page.collection.modular|length · 8 years ago

    @julien A few more questions: How do you know the code inside the for-loop is reached? Have you vardump-ed the value of 'totalmodule' inside the for-loop? Does it print anything? How does modular.md

  • Looping through all Images in Page Folder · 8 years ago

    @nembgen Here is a small sample that might send you in the right direction. Say you have a modular page with template 'templates/modular.html.twig', which loops through all child modules for the modul

  • How to get home url in a javascript file · 8 years ago

    @Michael Because your mention 'function.php', I presume your would like to add an inline script from within php of your theme or plugin. You could use the Asset Manager's method Assets::AddInlineJS fo

  • Condition based on page.collection.modular|length · 8 years ago

    Not sure what you mean by "The following condition does not work". What are your seeing?: Nothing is printed in the for-loop? Are you sure you enter the for-loop? In other words, does "page.collecti

  • How do I display a description of the category and tags on the output page? · 8 years ago

    @dydaevskiy What have you tried sofar and what was unsuccessful about those trials?

  • Sub menu in quark open · 8 years ago

    You may encounter an issue when hovering over a submenu. The submenu seems to disappears when hovering to the second submenu item. In the above mentioned issue user 'rpowers' suggest that adding the f

  • Sub menu in quark open · 8 years ago

    Great! And I'll update my step 3 to make things at bit more clear...