Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-9587

hardcoded values in template

    XMLWordPrintable

Details

    Description

      In extension/ezwebin/design/ezwebin/templates/parts/editor_toolbar.tpl
      There is a list of hardcoded values:

      {if array( 'documentation_page', 'folder', 'article', 'event' )|contains( $current_node.class_identifier )} {set $disable_oo=false()} {/if}

      It's better to read this list from a configuration file.
      Thanks.

      Attachments

        Activity

          People

            ls ls
            ezors ezors
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: