You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most template overrides are done to hide one or two fields. And since the whole file is overridden it breaks in upgrades.
Instead follow a strategy where each form field is wrapped in a tag like <ktml:block name="owner">
The overrides would just have hide directives and then include the original file, something like: <ktml:blocks hide="owner" /> <ktml:import:original:file:somehow>
The text was updated successfully, but these errors were encountered:
@ercanozkaya This is not a bad idea, wouldn't it make more sense to make the templates fields configurable using the new config approach we introduced? You need the path of the template, and an array of fields to hide?
See: https://support.joomlatools.com/forums/topic/7163
Most template overrides are done to hide one or two fields. And since the whole file is overridden it breaks in upgrades.
Instead follow a strategy where each form field is wrapped in a tag like
<ktml:block name="owner">
The overrides would just have hide directives and then include the original file, something like:
<ktml:blocks hide="owner" />
<ktml:import:original:file:somehow>
The text was updated successfully, but these errors were encountered: