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

As a user I would like technical doc for ez_render_field()

    Details

    • Sprint:
      Stetind Sprint 4
    • Story Points:
      1

      Description

      Code is here https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/ContentExtension.php

      Documentation should include:

      • how to use it
      • default behaviour of default field templates
      • how to override default template
      • parameters available in the block template
      • options of the default template

        Activity

        Hide
        Damien Pobel (Inactive) added a comment -

        It's working as expected... The notice are not related to this.

        Please make sure that:

        • you are really testing on the eng siteaccess or put the configuration at the siteaccess group level (ezdemo_site_group in a default ezdemo install)
        • the path to the ezstring_field.html.twig is correct on your filesystem. It should be vendor/ezsystems/demobundle/EzSystems/DemoBundle/Resources/views/fields/ezstring_field.html.twig
        • the template where you call ez_render_field is really being used
        Show
        Damien Pobel (Inactive) added a comment - It's working as expected... The notice are not related to this. Please make sure that: you are really testing on the eng siteaccess or put the configuration at the siteaccess group level (ezdemo_site_group in a default ezdemo install) the path to the ezstring_field.html.twig is correct on your filesystem. It should be vendor/ezsystems/demobundle/EzSystems/DemoBundle/Resources/views/fields/ezstring_field.html.twig the template where you call ez_render_field is really being used
        Show
        Jérôme Vieilledent (Inactive) added a comment - - edited Added the following documentation pages: https://confluence.ez.no/display/EZP/ez_render_field https://confluence.ez.no/display/EZP/FieldType+template Updated: ContentView page FieldType main documentation page

          People

          • Assignee:
            Unassigned
            Reporter:
            Bertrand Dunogier
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 day Original Estimate - 1 day
              1d
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 days, 1 hour
              2d 1h

                Agile