cl components configuration page missing Paths field

Created on 16 February 2023, over 1 year ago
Updated 17 February 2023, over 1 year ago

Problem/Motivation

I am trying to set a path for clMeta and it looks like the configuration page is missing that "Paths" field. If this is purposeful, how can I set clMeta to have values?

Steps to reproduce

1. Visit admin/config/user-interface/cl-components and observe that the Paths field is missing?

πŸ› Bug report
Status

Fixed

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States michele_grace

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @michele_grace
  • Status changed to Fixed over 1 year ago
  • e0ipso Can Picafort

    This setting was removed. Now, instead, just place your components in any module/theme under a folder /templates/components.

  • πŸ‡ΊπŸ‡ΈUnited States michele_grace

    Is that also true for adding an image into a component? I was going off the example in this component in gitlab:

    <button {{ clAttributes.addClass('button') }}>
      {{ text }}
      {{ source(clMeta.path ~ '/img/' ~ iconType|default('power') ~ '.svg') }}
    </button>
    

    Or should this now be done with some sort of relative path?

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024