[MGNLSTK-1131] stkRedirect should have control title for possibility defining a title in different languages. Created: 12/Mar/13  Updated: 02/Jul/18  Resolved: 02/Jul/18

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Christian Ringele Assignee: Ondrej Chytil
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

As the title can only be set over the adminCentral, therefor the page dialog should contain a title property. Without it the author can't set a title in different languages. The control should also have the 'i18n = true' property.



 Comments   
Comment by Christian Ringele [ 12/Mar/13 ]

In this revision I did it to the coop project: http://svn.magnolia-cms.com/view/?rev=59225&view=rev

Basically its just this control added to its dialog:

<sv:node sv:name="title">
      <sv:property sv:name="jcr:primaryType" sv:type="Name">
        <sv:value>mgnl:contentNode</sv:value>
      </sv:property>
      <sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
        <sv:value>mix:lockable</sv:value>
      </sv:property>
      <sv:property sv:name="jcr:uuid" sv:type="String">
        <sv:value>ad3e4640-c1a5-4166-8d47-c836db133426</sv:value>
      </sv:property>
      <sv:property sv:name="controlType" sv:type="String">
        <sv:value>edit</sv:value>
      </sv:property>
      <sv:property sv:name="description" sv:type="String">
        <sv:value>Titel der Page</sv:value>
      </sv:property>
      <sv:property sv:name="i18n" sv:type="Boolean">
        <sv:value>true</sv:value>
      </sv:property>
      <sv:property sv:name="label" sv:type="String">
        <sv:value>Titel</sv:value>
      </sv:property>
      <sv:node sv:name="MetaData">
        <sv:property sv:name="jcr:primaryType" sv:type="Name">
          <sv:value>mgnl:metaData</sv:value>
        </sv:property>
        <sv:property sv:name="mgnl:activated" sv:type="Boolean">
          <sv:value>false</sv:value>
        </sv:property>
        <sv:property sv:name="mgnl:authorid" sv:type="String">
          <sv:value>superuser</sv:value>
        </sv:property>
        <sv:property sv:name="mgnl:creationdate" sv:type="Date">
          <sv:value>2008-09-25T13:57:00.582+02:00</sv:value>
        </sv:property>
        <sv:property sv:name="mgnl:lastmodified" sv:type="Date">
          <sv:value>2013-03-12T09:00:14.154+01:00</sv:value>
        </sv:property>
      </sv:node>
    </sv:node>

(not using i18n key as in product is should)

Comment by Jan Haderka [ 02/Jul/18 ]

STK have been deprecated in September 2017. As part of this project nearing end-of-life, we are not planning to fix any of the existing issues except for the critical security issues. For more details, please consult documentation.

Generated at Mon Feb 12 07:33:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.