1

I have already copied the renderfield.php and renderlabel.php files from ~/layouts/joomla/form/ to ~/modules/mod_mymodule/layouts/joomla/form but the overrides don't seem to be recognised.

I have taken info from here, but what am I missing?

I have tried switching my template (latest Helix3 template) to Protostar, but the issue persists.

1

If you want to override anything from your template the override needs to be in the templates /html directory. In this case your override should be at:

YOUR_TEMPLATE/html/layouts/joomla/form/
  • I was just hoping there was a way to do this straight from my module, without having to override for the whole template. I find it weird that this behaviour is allowed for components, but not modules? – Anriëtte Myburgh Jun 12 '17 at 11:48
  • If my answer helped then perhaps you can mark it as correct? – Seth Warburton Aug 7 '17 at 15:58

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.