Applying custom template view through config

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2008 06:57 AM
Using ftls to create custom views for spaces has worked great for us, but are a bit stuck in how to apply these custom views to certian spaces for ALL users using config, not clicking through the UI.
Can this be done in the custom web config?
Can this be done in the custom web config?
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-29-2008 09:17 AM
No, unfortunately not.
An alternative is to write a server side JavaScript that iterates through your spaces and makes the necessary changes.
An alternative is to write a server side JavaScript that iterates through your spaces and makes the necessary changes.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2008 05:12 AM
Can i do this through JSP page? I made a custom JPS page for displaying just that custom space i made.
How can I apply template to folder through jsp page?
How can I apply template to folder through jsp page?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2008 05:34 AM
Ok, here's how i did it.
Made custom jsp to display my custom folder.
In Templates section in jsp page:
removed:
<a
anel id="custom-wrapper-panel" rendered="#{NavigationBean.hasCustomView && NavigationBean.searchContext == null}">
added:
<a
anel id="custom-wrapper-panel" rendered="#{NavigationBean.searchContext == null}">
removed:
<r:template id="template" template="/alfresco/templates/poteza-company-preview.ftl" model="#{NavigationBean.templateModel}" rendered="#{!NavigationBean.hasWebscriptView && NavigationBean.hasTemplateView}" />
added:
<r:template id="template" templatePath="/Company Home/Data Dictionary/Presentation Templates/my.ftl" model="#{NavigationBean.templateModel}"/>
Made custom jsp to display my custom folder.
In Templates section in jsp page:
removed:
<a

added:
<a

removed:
<r:template id="template" template="/alfresco/templates/poteza-company-preview.ftl" model="#{NavigationBean.templateModel}" rendered="#{!NavigationBean.hasWebscriptView && NavigationBean.hasTemplateView}" />
added:
<r:template id="template" templatePath="/Company Home/Data Dictionary/Presentation Templates/my.ftl" model="#{NavigationBean.templateModel}"/>

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2009 05:50 AM
msroven => Thank you very much for your participation. It satisfy perfectly my needs.
gavinc => I think this functionnality (apply a template for ALL all users) is really missing. We can't let end users to parameterize there custom view through UI, it is useless for them.
gavinc => I think this functionnality (apply a template for ALL all users) is really missing. We can't let end users to parameterize there custom view through UI, it is useless for them.
