Jump to content

Recommended Posts

Posted

I build a test app in IC5, and I want to edit the template core/front/global/htmlDataAttributes,

on the IC5 Templates system dropdown, there is only core/front/global/globalTemplate, it contains at the top:

<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}" {template="htmlDataAttributes" app="core" group="global" location="front" params=""}>

I want to add at the very end of one attribute, for example, data-app-attr="{{php code}}”, how can I do it in IC5?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...