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

Predefined Output Format for a newsletter_type ist not preselected on Newsletter creation

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • None
    • None
    • Version: 3.8.3
      PHP Version: 4.4.4
      Webserver: Apache 1.3.37
      Database: MySQL 4.1.x

    Description

      Hello,
      when i create a new newsletter from a newsletter_type where "Allowed output formats" is only HTML, then in the newsletter creation phase (content/edit) always Text is selected.

      My suspicion is that the code in
      extension/ezxnewsletter/design/standard/templates/ezxnewsletter/edit_newsletter_object.tpl

                {foreach $newsletter.output_format_name_map as $value => $name}
              <option value="{$value|wash}" {cond( $newsletter.output_format|explode(',')|contains($value), 'selected="selected"', '')}>{$name|wash}</option>
                {/foreach}
      

      will produce the problem.
      After i inserted an attribute show on $newsletter.output_format, the output is always empty.

      Attachments

        Activity

          People

            tos tos
            eckhardschnell eckhardschnell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: