Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Customising build.r core blocks

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I need to edit some core blocks in the build.r template.

For example the off canvas nav files. Do i need create overides for these files or are they excluded if the template was updated?

I cannot find any reference to them in the documentation.

Thanks

Jamie
  • JY Web Solutions's Avatar
  • JY Web Solutions
  • LIfetime Developer - Big Bamboo
  • 29 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Jamie,

What are you looking to change in the canvas nav files?
and in the other blocks?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

I have changed the markup in off-canvas.php, off-canvas-trigger.php and off-canvas-trigger-mobile.php
  • JY Web Solutions's Avatar
  • JY Web Solutions
  • LIfetime Developer - Big Bamboo
  • 29 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Jamie,

Apologies for the delay and apologies that this isn't documented yet.

But you can just drop the file with your edits into the custom/blocks folder and the template will use that file rather than the one in the tpls/blocks folder.

So copy the off-canvas.php from tpls/blocks to custom/blocks and it will pick your edits up there and those files will not get overwritten in any updates.

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
The following user(s) said Thank You: JY Web Solutions

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers