Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-12945

Update template query names to match the new default

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Won't Do
    • None
    • None
    • essentials
    • None

    Description

      The new Template Query Generator plugin tool uses a default naming for template queries. For type "mytype" it can create "new-mytype-document" and "new-mytype-folders" queries.

      The generate button for a query that already exists by that name is disabled. To make this work nicely with the template queries that are bootstrapped by the exisiting features (News, Events etc) the names of these queries should be updated to match the new default. Note: the names of the properties should match, the values don't have to be changed. Another note: all query definition nodes seem to have a hippostd:icon property. I could not find any code that reads that property. Removing it does have no effect: the template queries work as before. This property can be removed from all hippostd:templatequery nodes in all plugins.

      Not only the names of the queries must be changed, but also where they are used in the sample data folders in the hippostd:foldertype properties.

      Also the translation names for the queries must be updated that are bootstrapped at /hippo:configuration/hippo:translations/hippo:templates.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bleunis Bert Leunis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: