Details

    • Similar Issues:
      Show 5 results 

      Description

      It is a good idea to add velocity templates for views in Asset Publisher. In my opinion, it is doable, actually.

      Currently, the views are fixed in JSP files. But we can implement the views through templates. CSS and JavaScript should be available in templates, too. It would be easy for developers to customize velocity templates (including CSS and JavaScript) directly.

      Here is brief proposal:

      Step one: Predefine a set of templates (for different views: table, title list, abstracts, full content ) in the folder /vm (or other reasonable folder name) in Asset Publisher.

      Step two: in the Render action, pick up a proper template to generate the view.

        Activity

        Hide
        Cynthia Wilburn (Inactive) added a comment -

        Can you please update this ticket with a proper component selection?

        If you do not have edit permissions, please add it as a comment.

        Thanks!

        Show
        Cynthia Wilburn (Inactive) added a comment - Can you please update this ticket with a proper component selection? If you do not have edit permissions, please add it as a comment. Thanks!
        Hide
        Jonas Yuan added a comment -

        Hi Cynthia, thanks.

        It seems that I do not have edit permissions here. Please help.

        Jonas

        Show
        Jonas Yuan added a comment - Hi Cynthia, thanks. It seems that I do not have edit permissions here. Please help. Jonas
        Hide
        Randy Zhu added a comment -

        In preparation for Ideation; we are merging New Feature and Improvement tickets into a singular ticket type called “Feature Request”. Additional information to follow soon.

        Show
        Randy Zhu added a comment - In preparation for Ideation; we are merging New Feature and Improvement tickets into a singular ticket type called “Feature Request”. Additional information to follow soon.
        Hide
        Juan Fernández added a comment -

        Hi All:
        we have implemented this feature in Liferay Portal 6.2.
        We have called it ADT (Application Display Templates).
        You can read more about this in this blog entry: http://www.liferay.com/es/web/juan.fernandez/blog/-/blogs/introducing-the-new-adt-framework
        Or in its original Jira ticket: http://issues.liferay.com/browse/LPS-28328

        Thanks for proposing this: all the community will now benefit from your awesome idea!
        Juan Fernández

        Show
        Juan Fernández added a comment - Hi All: we have implemented this feature in Liferay Portal 6.2. We have called it ADT (Application Display Templates). You can read more about this in this blog entry: http://www.liferay.com/es/web/juan.fernandez/blog/-/blogs/introducing-the-new-adt-framework Or in its original Jira ticket: http://issues.liferay.com/browse/LPS-28328 Thanks for proposing this: all the community will now benefit from your awesome idea! Juan Fernández

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 7 weeks, 3 days ago

              Development

                Structure Helper Panel