Details
-
Type:
Feature Request
-
Status:
Closed
-
Priority:
Major
-
Resolution: Implemented in Platform
-
Affects Version/s: 5.2.2
-
Fix Version/s: None
-
Component/s: WCM, WCM > Asset Publisher
-
Labels:None
-
Environment:5.2.*
-
Similar Issues:
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.

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!