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

block_view_gui for a manual fetched block don't use override templates

    XMLWordPrintable

Details

    Description

      If you fetch a block manually in a template with
      "$block = fetch( 'ezflow', 'block', hash( 'block_id', <BLOCK_ID>) )"

      and than afterwards using
      "block_view_gui block=$block"

      always the default "block/view/view.tpl" is used. No override rules are used.

      If you look into the block object inside a block template, you can see that this block object differs from one that you have manually fetched.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours, 10 minutes
                2d 4h 10m