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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Richard Hainsworth Member

@finanalyst · Joined 9 years ago · 96 posts · 30 topics · 9 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Setting plugin variables with a Form · 8 years ago

    I cannot get twig/md to recognise a dynamic variable. In a plugin file, I have class MyPlug extends Plugin { protected $plugvar; ... public function onPluginsInitialized() { $this->grav['myplug']

  • Redirect from inside a modular page · 8 years ago

    There is another problem associated with modular pages!!! To deal with the situation above, I have been altering templates/modular.html.twig. But ... At the top of templates/modular.html.twig in Antim

  • Redirect from inside a modular page · 8 years ago

    I did not entirely understand your question. I have cloned Antimatter and created my own theme with fairly minor alterations. For example, I have added a minimal templates/modular/defaut.html.twig. T

  • Redirect from inside a modular page · 8 years ago

    I am trying to have a modular page inside an outer structure. (see below) Within the modular page, I want to have navigation links pointing to parts of the page. This can be done with onpage_menu: tru

  • Asset path with Multilingual set · 8 years ago

    Adding this note in case someone else hits a similar problem. I implemented a plugin which needs to load a JS file. Initially, I added the js file in onPluginsInitialized with the line (datatables bei

  • getFlashObject documentation · 8 years ago

    This method is called in the Form plugin. However, I cannot find any documentation about it other than a definition of the methods parameters in the API documentation. I am trying to call a Form after

  • Formatting date ranges · 8 years ago

    My Issue are resolved. a) <input type="date"> is standard html5 and the interface is implemented differently by different browsers. b) A default (starting date) can be set by assigning to value,

  • Formatting date ranges · 8 years ago

    I've been trying to get this to work and failed. a) Antimatter does seem to use datepicker and not datetimepicker (grepping datepicker yields hits in the themes directory, whilst datetimepicker does n

  • Formatting date ranges · 8 years ago

    I created form.md file and created a date field, then put id=dob_select into the yaml for the date field. I copied the script section above, and no result. I also changed $(function() to $(document).r

  • Formatting date ranges · 8 years ago

    Thank you. This helps alot. Putting an I'd on the date field is what I was missing