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

eZTemplate error in timeline view.

    XMLWordPrintable

Details

    Description

      Hi. having last versions from github of ez publish core and ezflow, timeline view throws a eZTemplate error in debug output

      No such attribute for array(3): uri
      Choose one of following: title, design, http_equiv
      

      error comes from page_header_languages.tpl

      ...
       {else}
              {def $avail_translation = language_switcher( $site.uri.original_uri)}
       {/if}
      

      it happens timeline.php does not add uri key to the site array

      $site = array( 'title' => $ini->variable( 'SiteSettings', 'SiteName' ),
                     'design' => $ini->variable( 'DesignSettings', 'SiteDesign' ),
                     'http_equiv' => array( 'Content-Type' => 'text/html; charset=' . $httpCharset,
                                            'Content-language' => $languageCode ) );
      

      Probably we could just add uri to this array?

      Steps to reproduce

      install ez publish with ezflow and go to timeline view.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: