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

allow overriding of existing template operators

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 4.1.3
    • None

    Description

      It would be a great way to sneak in cool stuff like:

      'extend the ezimage operator to add support for custom vhosts (recommended eg. by yslow for the best user-experience" without having to recode the complete site replacing ezimage() calls with ezextimage()'

      How to do it:

      • add a new ini setting: template operator -> php class (eg. in template.ini)
      • declare deprecated (but not remove support yet for) eztemplateautoload.php file
      • when loading the list of registered tpl operators, load eztemplateautoload 1st and the new ini settings 2nd (the 2nd one taking precedence)
      • remove existing eztemplateautoload.php from kernel/commonf and move it to std ini settings

      Attachments

        Activity

          People

            unknown unknown
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: