Relocated jsp template to avoid code duplication and copy&paste errors (part 2 navigation & ccm-sci-bundle)

git-svn-id: https://svn.libreccm.org/ccm/trunk@5052 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2017-10-18 07:31:35 +00:00
parent d3bd74a418
commit 5cc5d39cb5
32 changed files with 199 additions and 86 deletions

View File

@ -26,6 +26,7 @@
classname="com.arsdigita.navigation.ui.GreetingItem"/> classname="com.arsdigita.navigation.ui.GreetingItem"/>
<define:component name="categoryPath" <define:component name="categoryPath"
classname="com.arsdigita.navigation.ui.category.Path"/> classname="com.arsdigita.navigation.ui.category.Path"/>
<define:component name="categoryMenu" <define:component name="categoryMenu"
classname="com.arsdigita.navigation.ui.category.Menu"/> classname="com.arsdigita.navigation.ui.category.Menu"/>
// Menu for mobile (responsive) Version theme UniHB // Menu for mobile (responsive) Version theme UniHB
@ -55,8 +56,8 @@
now.get(java.util.GregorianCalendar.MONTH), now.get(java.util.GregorianCalendar.MONTH),
now.get(java.util.GregorianCalendar.DATE))).getTime(); now.get(java.util.GregorianCalendar.DATE))).getTime();
// Im Event-CT ist das Datum als SQL-Type Date eingetragen, die Uhrzeit aber als SQL-Typ timestamptz. Leider wird von ccm im letzten // Im Event-CT ist das Datum als SQL-Type Date eingetragen, die Uhrzeit aber als SQL-Typ timestamptz. Leider wird von ccm im letzten
// das Datum nicht gesetzt, so daß der Timestamp immer eine Uhrzeit am 1.1.1970 angibt. Das ist ziemlich bescheuert und macht hier // das Datum nicht gesetzt, so daß der Timestamp immer eine Uhrzeit am 1.1.1970 angibt. Das ist ziemlich bescheuert und macht hier
// diesen kompliezierten Vergleich notwendig. Sonst könnte man einfach mit dem aktuellen Timestamp vergleichen. // diesen kompliezierten Vergleich notwendig. Sonst könnte man einfach mit dem aktuellen Timestamp vergleichen.
java.util.Date time = (new java.util.GregorianCalendar(70,0,1, // this is 01.01.1970 - start of UNIX timestamp java.util.Date time = (new java.util.GregorianCalendar(70,0,1, // this is 01.01.1970 - start of UNIX timestamp
now.get(java.util.GregorianCalendar.HOUR_OF_DAY), now.get(java.util.GregorianCalendar.HOUR_OF_DAY),
now.get(java.util.GregorianCalendar.MINUTE), now.get(java.util.GregorianCalendar.MINUTE),

View File

@ -1,8 +1,18 @@
<!--
The default content item page (index page) provided by ccm-navigation package.
Sites will probably use a customized index page.
Set the actual in dex page to be used by parameter
com.arsdigita.london.navigation.default_template
##Title: Default Content Items Page
##Descr: Navigation Index Page, ordering items in ascending order, manually adjustable
##Path : /templates/ccm-navigation/navigation/def-page.jsp
-->
<jsp:root <jsp:root
xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:define="/WEB-INF/bebop-define.tld" xmlns:define="/WEB-INF/bebop-define.tld"
xmlns:show="/WEB-INF/bebop-show.tld" xmlns:show="/WEB-INF/bebop-show.tld"
version="1.2"> version="1.2">
<jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/> <jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/>
<jsp:directive.page import="com.arsdigita.bebop.parameters.BigDecimalParameter"/> <jsp:directive.page import="com.arsdigita.bebop.parameters.BigDecimalParameter"/>
@ -11,23 +21,26 @@
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/> <jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
<jsp:scriptlet> <jsp:scriptlet>
long age = Navigation.getConfig().getIndexPageCacheLifetime(); long age = Navigation.getConfig().getIndexPageCacheLifetime();
if (age == 0) { if (age == 0) {
DispatcherHelper.cacheDisable(response); DispatcherHelper.cacheDisable(response);
} else { } else {
DispatcherHelper.cacheForWorld(response, (int)age); DispatcherHelper.cacheForWorld(response, (int)age);
} }
</jsp:scriptlet> </jsp:scriptlet>
<define:page name="defaultItemPage" application="navigation" <define:page name="defaultItemPage" application="navigation"
title="Navigation" cache="true"> title="Navigation" cache="true">
<define:component name="greetingItem" <define:component name="greetingItem"
classname="com.arsdigita.navigation.ui.GreetingItem"/> classname="com.arsdigita.navigation.ui.GreetingItem"/>
<define:component name="categoryPath" <define:component name="categoryPath"
classname="com.arsdigita.navigation.ui.category.Path"/> classname="com.arsdigita.navigation.ui.category.Path"/>
<define:component name="categoryMenu" <define:component name="categoryMenu"
classname="com.arsdigita.navigation.ui.category.Menu"/> classname="com.arsdigita.navigation.ui.category.Menu"/>
// Menu for mobile responsive version // Menu for mobile responsive version
<define:component name="categoryNav" <define:component name="categoryNav"
classname="com.arsdigita.navigation.ui.category.Hierarchy"> classname="com.arsdigita.navigation.ui.category.Hierarchy">
@ -38,6 +51,7 @@
<define:component name="itemList" <define:component name="itemList"
classname="com.arsdigita.navigation.ui.object.SimpleObjectList"/> classname="com.arsdigita.navigation.ui.object.SimpleObjectList"/>
<jsp:scriptlet> <jsp:scriptlet>
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).setDefinition(new CMSDataCollectionDefinition()); ((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).setDefinition(new CMSDataCollectionDefinition());
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).setRenderer(new CMSDataCollectionRenderer()); ((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).setRenderer(new CMSDataCollectionRenderer());
@ -69,5 +83,5 @@
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/> classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
</define:page> </define:page>
<show:all/> <show:all/>
</jsp:root> </jsp:root>

View File

@ -3,7 +3,14 @@
xmlns:show="/WEB-INF/bebop-show.tld" xmlns:show="/WEB-INF/bebop-show.tld"
version="1.2"> version="1.2">
<!-- JSP template to use a portal page as index page in navigation --> <!-- JSP template to use a portal page as index page in navigation
Currently the same as def-portal.jsp, may change in future to
support special features of a site's start page (home page)
##Title: A Portal Page usable as Index Page in Navigation
##Descr: Portal Page including navigation menu. Portlets must be added separately.
##Path : /templates/ccm-navigation/navigation/def-portal-welcome.jsp
-->
<jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/> <jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/>
<jsp:directive.page import="com.arsdigita.navigation.Navigation"/> <jsp:directive.page import="com.arsdigita.navigation.Navigation"/>

View File

@ -1,9 +1,16 @@
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" <jsp:root
xmlns:define="/WEB-INF/bebop-define.tld" xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:show="/WEB-INF/bebop-show.tld" xmlns:define="/WEB-INF/bebop-define.tld"
version="1.2"> xmlns:show="/WEB-INF/bebop-show.tld"
version="1.2">
<!-- JSP template to use a portal page as index page in navigation --> <!-- JSP template to use a portal page as index page in navigation
Currently the same as def-portal-welcome.jsp, may change in future.
##Title: A Portal Page usable as Index Page in Navigation
##Descr: A portal page including navigation menu. Portlets must be added separately.
##Path : /templates/ccm-navigation/navigation/def-portal.jsp
-->
<jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/> <jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/>
<jsp:directive.page import="com.arsdigita.navigation.Navigation"/> <jsp:directive.page import="com.arsdigita.navigation.Navigation"/>

View File

@ -1,9 +1,16 @@
<!--
Template to generate a sitemap. Page includes mavigation menu and
breadcrumps if available.
##Title: Sitemap Page
##Descr: Generates an overview about all navigation menu items.
##Path : /templates/ccm-navigation/navigation/def-sitemap.jsp
-->
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:define="/WEB-INF/bebop-define.tld" xmlns:define="/WEB-INF/bebop-define.tld"
xmlns:show="/WEB-INF/bebop-show.tld" xmlns:show="/WEB-INF/bebop-show.tld"
version="1.2"> version="1.2">
<!-- Anpassung sitemap-Seite, die auch Navigationsspalte und Breadcrumbs enthaelt. -->
<jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/> <jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/>

View File

@ -1,10 +1,10 @@
<jsp:root <jsp:root
xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:define="/WEB-INF/bebop-define.tld" xmlns:define="/WEB-INF/bebop-define.tld"
xmlns:show="/WEB-INF/bebop-show.tld" xmlns:show="/WEB-INF/bebop-show.tld"
version="1.2"> version="1.2">
<!-- JSP template for the welcome / start page using navigation --> <!-- JSP template for the welcome / start page using navigation -->
<jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/> <jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/>
<jsp:directive.page import="com.arsdigita.bebop.parameters.BigDecimalParameter"/> <jsp:directive.page import="com.arsdigita.bebop.parameters.BigDecimalParameter"/>
@ -20,6 +20,7 @@
} else { } else {
DispatcherHelper.cacheForWorld(response, (int)age); DispatcherHelper.cacheForWorld(response, (int)age);
} }
int maxItems = Navigation.getConfig().getIndexPageMaxItems();
</jsp:scriptlet> </jsp:scriptlet>
<define:page name="defaultItemPage" <define:page name="defaultItemPage"
@ -54,7 +55,7 @@
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().setDescendCategories(false); ((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().setDescendCategories(false);
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().addOrder("parent.categories.link.sortKey"); ((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().addOrder("parent.categories.link.sortKey");
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().setPageSize(30); ((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().setPageSize(maxItems);
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute("objectType"); ((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute("objectType");
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute("title"); ((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute("title");
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "definition"); ((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "definition");

View File

@ -1,12 +1,12 @@
<!-- <!--
A default item page (index page) provided by ccm-navigation package. Sites A minimal default item page (index page) provided by ccm-navigation package.
will probably use a customized index page. Sites will probably use a customized index page.
Set the actual in dex page to be used by parameter Set the actual in dex page to be used by parameter
com.arsdigita.london.navigation.default_template com.arsdigita.london.navigation.default_template
##Title: Default Items Page ##Title: Default Items Page (minimal functionality)
##Descr: Default Navigation Index Page, ordering items in ascending order ##Descr: Default Navigation Index Page, ordering items in ascending order
##Path : /templates/ccm-navigation/navigation/nav-default.jsp ##Path : /templates/ccm-navigation/navigation/min-default.jsp
--> -->
<jsp:root <jsp:root
xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:jsp="http://java.sun.com/JSP/Page"

View File

@ -1,3 +1,10 @@
<!--
Template to generate a sitemap page
##Title: Sitemap Page
##Descr: Same as def-sitemap, for backwards compatibility. To be deleted soon.
##Path : /templates/ccm-navigation/navigation/min-default.jsp
-->
<jsp:root <jsp:root
xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:define="/WEB-INF/bebop-define.tld" xmlns:define="/WEB-INF/bebop-define.tld"

View File

@ -0,0 +1,46 @@
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:define="/WEB-INF/bebop-define.tld"
xmlns:show="/WEB-INF/bebop-show.tld"
version="1.2">
<!--
Template to generate a sitemap page, Page includes mavigation mene and
breadcrump if available.
Same as def-sitemap.jsp, for backwards compatibility. Will be removed in the
next version.
##Title: Sitemap Page
##Descr: Generates an overview about all navigation menu items. Backwards compatibel. Don't use for new installations.
##Path : /templates/ccm-navigation/navigation/def-sitemap.jsp
-->
<jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/>
<jsp:scriptlet>
DispatcherHelper.cacheForWorld( response );
</jsp:scriptlet>
<define:page name="sitemapPage" application="navigation"
title="APLAWS" cache="true">
<jsp:scriptlet>
sitemapPage.setClassAttr("sitemapPage");
</jsp:scriptlet>
<define:component name="categoryPath"
classname="com.arsdigita.navigation.ui.category.Path"/>
<define:component name="categoryMenu"
classname="com.arsdigita.navigation.ui.category.Menu"/>
<define:component name="categoryNav"
classname="com.arsdigita.navigation.ui.category.Hierarchy">
<jsp:scriptlet>
((com.arsdigita.navigation.ui.category.Hierarchy) categoryNav).setShowItems(false);
</jsp:scriptlet>
</define:component>
</define:page>
<show:all/>
</jsp:root>

View File

@ -175,7 +175,7 @@ com.arsdigita.forum.use_wysiwyg_editor=true
com.arsdigita.navigation.category_menu_show_grand_children=false com.arsdigita.navigation.category_menu_show_grand_children=false
; com.arsdigita.navigation.category_menu_show_nephews=false ; com.arsdigita.navigation.category_menu_show_nephews=false
com.arsdigita.navigation.default_cat_root_path=/navigation/ com.arsdigita.navigation.default_cat_root_path=/navigation/
com.arsdigita.navigation.default_template=/templates/ccm-navigation/navigation/sci-default.jsp com.arsdigita.navigation.default_template=/templates/ccm-navigation/navigation/def-page.jsp
com.arsdigita.navigation.templates_file=bundle/navigation/sci-templates.txt com.arsdigita.navigation.templates_file=bundle/navigation/sci-templates.txt

View File

@ -1,9 +1,10 @@
ScientificCMS Default Items Page,Sci Default Navigation Index Page ordering items in ascending order,/templates/ccm-navigation/navigation/sci-default.jsp ScientificCMS Default Items Page,Sci Default Navigation Index Page ordering items in ascending order,/templates/ccm-navigation/navigation/def-page.jsp
ScientificCMS Recent Items Page,Sci List of items ordered with most recent first,/templates/ccm-navigation/navigation/sci-recent.jsp ScientificCMS Recent Items Page,Sci List of items ordered with most recent first,/templates/ccm-navigation/navigation/def-recent.jsp
ScientificCMS A-Z Items,Sci List of items paginated as A-Z,/templates/ccm-navigation/navigation/sci-atoz.jsp ScientificCMS A-Z Items,Sci List of items paginated as A-Z,/templates/ccm-navigation/navigation/def-atoz.jsp
ScientificCMS Events Page,Sci Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/sci-events.jsp ScientificCMS Events Page,Sci Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/def-events.jsp
ScientificCMS Portal Page,Sci Portal Page for embedding a portal page as navigation leaves page,/templates/ccm-navigation/navigation/sci-portal.jsp ScientificCMS Portal Page,Sci Portal Page for embedding a portal page as navigation leaves page,/templates/ccm-navigation/navigation/def-portal.jsp
ScientificCMS Portal Welcome Page,Sci Portal page meant as site welcome page,/templates/ccm-navigation/navigation/sci-portal-welcome.jsp ScientificCMS Portal Welcome Page,Sci Portal page meant as site welcome page,/templates/ccm-navigation/navigation/def-portal-welcome.jsp
ScientificCMS Navigation Welcome Page,Sci site welcome page created by navigation root term,/templates/ccm-navigation/navigation/sci-welcome.jsp ScientificCMS Navigation Welcome Page,Sci site welcome page created by navigation root term,/templates/ccm-navigation/navigation/def-welcome.jsp
ScientificCMS Specializing Items List,Sci Specialising List item page,/templates/ccm-navigation/navigation/SpecializingList.jsp ScientificCMS Specializing Items List,Sci Specialising List item page,/templates/ccm-navigation/navigation/def-specializing-list.jsp
ScientificCMS Publications List,Sci publications listing page,/templates/ccm-navigation/navigation/SciPublicationList.jsp ScientificCMS Publications List,Sci publications listing page,/templates/ccm-navigation/navigation/sci-publicationList.jsp
ScientificCMS Institut Project List,Sci project listing page,/templates/ccm-navigation/navigation/sci-institute-projectlist.jsp

View File

@ -13,4 +13,7 @@ provide a customised template.txt file replacing the default file
/src/WEB-INF/navigation/templates.txt /src/WEB-INF/navigation/templates.txt
This file must be specified in parameter This file must be specified in parameter
com.arsdigita.navigation.templates_file com.arsdigita.navigation.templates_file
It is usually stored in res/bundle/navigation It is usually stored in res/bundle/navigation
Please use a unique prefix for additional template files, e.g. my-defaultpage.jsp
and don't forget to add a usage comment.

View File

@ -175,7 +175,7 @@ com.arsdigita.forum.use_wysiwyg_editor=true
com.arsdigita.navigation.category_menu_show_grand_children=false com.arsdigita.navigation.category_menu_show_grand_children=false
; com.arsdigita.navigation.category_menu_show_nephews=false ; com.arsdigita.navigation.category_menu_show_nephews=false
com.arsdigita.navigation.default_cat_root_path=/navigation/ com.arsdigita.navigation.default_cat_root_path=/navigation/
com.arsdigita.navigation.default_template=/templates/ccm-navigation/navigation/sci-default.jsp com.arsdigita.navigation.default_template=/templates/ccm-navigation/navigation/def-page.jsp
com.arsdigita.navigation.templates_file=bundle/navigation/sci-templates.txt com.arsdigita.navigation.templates_file=bundle/navigation/sci-templates.txt

View File

@ -1,9 +1,10 @@
ScientificCMS Default Items Page,Sci Default Navigation Index Page ordering items in ascending order,/templates/ccm-navigation/navigation/sci-default.jsp ScientificCMS Default Items Page,Sci Default Navigation Index Page ordering items in ascending order,/templates/ccm-navigation/navigation/def-page.jsp
ScientificCMS Recent Items Page,Sci List of items ordered with most recent first,/templates/ccm-navigation/navigation/sci-recent.jsp ScientificCMS Recent Items Page,Sci List of items ordered with most recent first,/templates/ccm-navigation/navigation/def-recent.jsp
ScientificCMS A-Z Items,Sci List of items paginated as A-Z,/templates/ccm-navigation/navigation/sci-atoz.jsp ScientificCMS A-Z Items,Sci List of items paginated as A-Z,/templates/ccm-navigation/navigation/def-atoz.jsp
ScientificCMS Events Page,Sci Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/sci-events.jsp ScientificCMS Events Page,Sci Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/def-events.jsp
ScientificCMS Portal Page,Sci Portal Page for embedding a portal page as navigation leaves page,/templates/ccm-navigation/navigation/sci-portal.jsp ScientificCMS Portal Page,Sci Portal Page for embedding a portal page as navigation leaves page,/templates/ccm-navigation/navigation/def-portal.jsp
ScientificCMS Portal Welcome Page,Sci Portal page meant as site welcome page,/templates/ccm-navigation/navigation/sci-portal-welcome.jsp ScientificCMS Portal Welcome Page,Sci Portal page meant as site welcome page,/templates/ccm-navigation/navigation/def-portal-welcome.jsp
ScientificCMS Navigation Welcome Page,Sci site welcome page created by navigation root term,/templates/ccm-navigation/navigation/sci-welcome.jsp ScientificCMS Navigation Welcome Page,Sci site welcome page created by navigation root term,/templates/ccm-navigation/navigation/def-welcome.jsp
ScientificCMS Specializing Items List,Sci Specialising List item page,/templates/ccm-navigation/navigation/SpecializingList.jsp ScientificCMS Specializing Items List,Sci Specialising List item page,/templates/ccm-navigation/navigation/def-specializing-list.jsp
ScientificCMS Publications List,Sci publications listing page,/templates/ccm-navigation/navigation/SciPublicationList.jsp ScientificCMS Publications List,Sci publications listing page,/templates/ccm-navigation/navigation/sci-publicationList.jsp
ScientificCMS Institut Project List,Sci project listing page,/templates/ccm-navigation/navigation/sci-institute-projectlist.jsp

View File

@ -13,4 +13,7 @@ provide a customised template.txt file replacing the default file
/src/WEB-INF/navigation/templates.txt /src/WEB-INF/navigation/templates.txt
This file must be specified in parameter This file must be specified in parameter
com.arsdigita.navigation.templates_file com.arsdigita.navigation.templates_file
It usually stored in res/bundle/navigation It is usually stored in res/bundle/navigation
Please use a unique prefix for additional template files, e.g. my-defaultpage.jsp
and don't forget to add a usage comment.

View File

@ -185,7 +185,7 @@ com.arsdigita.forum.use_wysiwyg_editor=true
com.arsdigita.navigation.category_menu_show_grand_children=false com.arsdigita.navigation.category_menu_show_grand_children=false
; com.arsdigita.navigation.category_menu_show_nephews=false ; com.arsdigita.navigation.category_menu_show_nephews=false
com.arsdigita.navigation.default_cat_root_path=/navigation/ com.arsdigita.navigation.default_cat_root_path=/navigation/
com.arsdigita.navigation.default_template=/templates/ccm-navigation/navigation/sci-default.jsp com.arsdigita.navigation.default_template=/templates/ccm-navigation/navigation/def-page.jsp
; uncomment the following line and edit the file to use a custom set of templates. ; uncomment the following line and edit the file to use a custom set of templates.
com.arsdigita.navigation.templates_file=bundle/navigation/sci-templates.txt com.arsdigita.navigation.templates_file=bundle/navigation/sci-templates.txt

View File

@ -1,9 +1,10 @@
ScientificCMS Default Items Page,Sci Default Navigation Index Page ordering items in ascending order,/templates/ccm-navigation/navigation/sci-default.jsp ScientificCMS Default Items Page,Sci Default Navigation Index Page ordering items in ascending order,/templates/ccm-navigation/navigation/def-page.jsp
ScientificCMS Recent Items Page,Sci List of items ordered with most recent first,/templates/ccm-navigation/navigation/sci-recent.jsp ScientificCMS Recent Items Page,Sci List of items ordered with most recent first,/templates/ccm-navigation/navigation/def-recent.jsp
ScientificCMS A-Z Items,Sci List of items paginated as A-Z,/templates/ccm-navigation/navigation/sci-atoz.jsp ScientificCMS A-Z Items,Sci List of items paginated as A-Z,/templates/ccm-navigation/navigation/def-atoz.jsp
ScientificCMS Events Page,Sci Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/sci-events.jsp ScientificCMS Events Page,Sci Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/def-events.jsp
ScientificCMS Portal Page,Sci Portal Page for embedding a portal page as navigation leaves page,/templates/ccm-navigation/navigation/sci-portal.jsp ScientificCMS Portal Page,Sci Portal Page for embedding a portal page as navigation leaves page,/templates/ccm-navigation/navigation/def-portal.jsp
ScientificCMS Portal Welcome Page,Sci Portal page meant as site welcome page,/templates/ccm-navigation/navigation/sci-portal-welcome.jsp ScientificCMS Portal Welcome Page,Sci Portal page meant as site welcome page,/templates/ccm-navigation/navigation/def-portal-welcome.jsp
ScientificCMS Navigation Welcome Page,Sci site welcome page created by navigation root term,/templates/ccm-navigation/navigation/sci-welcome.jsp ScientificCMS Navigation Welcome Page,Sci site welcome page created by navigation root term,/templates/ccm-navigation/navigation/def-welcome.jsp
ScientificCMS Specializing Items List,Sci Specialising List item page,/templates/ccm-navigation/navigation/SpecializingList.jsp ScientificCMS Specializing Items List,Sci Specialising List item page,/templates/ccm-navigation/navigation/def-specializing-list.jsp
ScientificCMS Publications List,Sci publications listing page,/templates/ccm-navigation/navigation/SciPublicationList.jsp ScientificCMS Publications List,Sci publications listing page,/templates/ccm-navigation/navigation/sci-publicationList.jsp
ScientificCMS Institut Project List,Sci project listing page,/templates/ccm-navigation/navigation/sci-institute-projectlist.jsp

View File

@ -13,4 +13,7 @@ provide a customised template.txt file replacing the default file
/src/WEB-INF/navigation/templates.txt /src/WEB-INF/navigation/templates.txt
This file must be specified in parameter This file must be specified in parameter
com.arsdigita.navigation.templates_file com.arsdigita.navigation.templates_file
It usually stored in res/bundle/navigation It is usually stored in res/bundle/navigation
Please use a unique prefix for additional template files, e.g. my-defaultpage.jsp
and don't forget to add a usage comment.

View File

@ -1,9 +1,10 @@
ScientificCMS Default Items Page,Sci Default Navigation Index Page ordering items in ascending order,/templates/ccm-navigation/navigation/sci-default.jsp ScientificCMS Default Items Page,Sci Default Navigation Index Page ordering items in ascending order,/templates/ccm-navigation/navigation/def-page.jsp
ScientificCMS Recent Items Page,Sci List of items ordered with most recent first,/templates/ccm-navigation/navigation/sci-recent.jsp ScientificCMS Recent Items Page,Sci List of items ordered with most recent first,/templates/ccm-navigation/navigation/def-recent.jsp
ScientificCMS A-Z Items,Sci List of items paginated as A-Z,/templates/ccm-navigation/navigation/sci-atoz.jsp ScientificCMS A-Z Items,Sci List of items paginated as A-Z,/templates/ccm-navigation/navigation/def-atoz.jsp
ScientificCMS Events Page,Sci Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/sci-events.jsp ScientificCMS Events Page,Sci Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/def-events.jsp
ScientificCMS Portal Page,Sci Portal Page for embedding a portal page as navigation leaves page,/templates/ccm-navigation/navigation/sci-portal.jsp ScientificCMS Portal Page,Sci Portal Page for embedding a portal page as navigation leaves page,/templates/ccm-navigation/navigation/def-portal.jsp
ScientificCMS Portal Welcome Page,Sci Portal page meant as site welcome page,/templates/ccm-navigation/navigation/sci-portal-welcome.jsp ScientificCMS Portal Welcome Page,Sci Portal page meant as site welcome page,/templates/ccm-navigation/navigation/def-portal-welcome.jsp
ScientificCMS Navigation Welcome Page,Sci site welcome page created by navigation root term,/templates/ccm-navigation/navigation/sci-welcome.jsp ScientificCMS Navigation Welcome Page,Sci site welcome page created by navigation root term,/templates/ccm-navigation/navigation/def-welcome.jsp
ScientificCMS Specializing Items List,Sci Specialising List item page,/templates/ccm-navigation/navigation/SpecializingList.jsp ScientificCMS Specializing Items List,Sci Specialising List item page,/templates/ccm-navigation/navigation/def-specializing-list.jsp
ScientificCMS Publications List,Sci publications listing page,/templates/ccm-navigation/navigation/SciPublicationList.jsp ScientificCMS Publications List,Sci publications listing page,/templates/ccm-navigation/navigation/sci-publicationList.jsp
ScientificCMS Institut Project List,Sci project listing page,/templates/ccm-navigation/navigation/sci-institute-projectlist.jsp

View File

@ -13,4 +13,7 @@ provide a customised template.txt file replacing the default file
/src/WEB-INF/navigation/templates.txt /src/WEB-INF/navigation/templates.txt
This file must be specified in parameter This file must be specified in parameter
com.arsdigita.navigation.templates_file com.arsdigita.navigation.templates_file
It usually stored in res/bundle/navigation It is usually stored in res/bundle/navigation
Please use a unique prefix for additional template files, e.g. my-defaultpage.jsp
and don't forget to add a usage comment.

View File

@ -175,7 +175,7 @@ com.arsdigita.forum.use_wysiwyg_editor=true
com.arsdigita.navigation.category_menu_show_grand_children=false com.arsdigita.navigation.category_menu_show_grand_children=false
; com.arsdigita.navigation.category_menu_show_nephews=false ; com.arsdigita.navigation.category_menu_show_nephews=false
com.arsdigita.navigation.default_cat_root_path=/navigation/ com.arsdigita.navigation.default_cat_root_path=/navigation/
com.arsdigita.navigation.default_template=/templates/ccm-navigation/navigation/sci-default.jsp com.arsdigita.navigation.default_template=/templates/ccm-navigation/navigation/def-page.jsp
com.arsdigita.navigation.templates_file=bundle/navigation/sci-templates.txt com.arsdigita.navigation.templates_file=bundle/navigation/sci-templates.txt

View File

@ -114,7 +114,6 @@
<ccm:application name="ccm-cms-types-job"/> <ccm:application name="ccm-cms-types-job"/>
<ccm:application name="ccm-cms-types-legalnotice"/> <ccm:application name="ccm-cms-types-legalnotice"/>
<ccm:application name="ccm-cms-types-minutes"/> <ccm:application name="ccm-cms-types-minutes"/>
<ccm:application name="ccm-cms-types-organization"/>
<ccm:application name="ccm-cms-types-pressrelease"/> <ccm:application name="ccm-cms-types-pressrelease"/>
<ccm:application name="ccm-cms-types-service"/> <ccm:application name="ccm-cms-types-service"/>
<ccm:application name="ccm-cms-types-siteproxy"/> <ccm:application name="ccm-cms-types-siteproxy"/>

View File

@ -1,9 +1,10 @@
ScientificCMS Default Items Page,Sci Default Navigation Index Page ordering items in ascending order,/templates/ccm-navigation/navigation/sci-default.jsp ScientificCMS Default Items Page,Sci Default Navigation Index Page ordering items in ascending order,/templates/ccm-navigation/navigation/def-page.jsp
ScientificCMS Recent Items Page,Sci List of items ordered with most recent first,/templates/ccm-navigation/navigation/sci-recent.jsp ScientificCMS Recent Items Page,Sci List of items ordered with most recent first,/templates/ccm-navigation/navigation/def-recent.jsp
ScientificCMS A-Z Items,Sci List of items paginated as A-Z,/templates/ccm-navigation/navigation/sci-atoz.jsp ScientificCMS A-Z Items,Sci List of items paginated as A-Z,/templates/ccm-navigation/navigation/def-atoz.jsp
ScientificCMS Events Page,Sci Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/sci-events.jsp ScientificCMS Events Page,Sci Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/def-events.jsp
ScientificCMS Portal Page,Sci Portal Page for embedding a portal page as navigation leaves page,/templates/ccm-navigation/navigation/sci-portal.jsp ScientificCMS Portal Page,Sci Portal Page for embedding a portal page as navigation leaves page,/templates/ccm-navigation/navigation/def-portal.jsp
ScientificCMS Portal Welcome Page,Sci Portal page meant as site welcome page,/templates/ccm-navigation/navigation/sci-portal-welcome.jsp ScientificCMS Portal Welcome Page,Sci Portal page meant as site welcome page,/templates/ccm-navigation/navigation/def-portal-welcome.jsp
ScientificCMS Navigation Welcome Page,Sci site welcome page created by navigation root term,/templates/ccm-navigation/navigation/sci-welcome.jsp ScientificCMS Navigation Welcome Page,Sci site welcome page created by navigation root term,/templates/ccm-navigation/navigation/def-welcome.jsp
ScientificCMS Specializing Items List,Sci Specialising List item page,/templates/ccm-navigation/navigation/SpecializingList.jsp ScientificCMS Specializing Items List,Sci Specialising List item page,/templates/ccm-navigation/navigation/def-specializing-list.jsp
ScientificCMS Publications List,Sci publications listing page,/templates/ccm-navigation/navigation/SciPublicationList.jsp ScientificCMS Publications List,Sci publications listing page,/templates/ccm-navigation/navigation/sci-publicationList.jsp
ScientificCMS Institut Project List,Sci project listing page,/templates/ccm-navigation/navigation/sci-institute-projectlist.jsp

View File

@ -13,4 +13,7 @@ provide a customised template.txt file replacing the default file
/src/WEB-INF/navigation/templates.txt /src/WEB-INF/navigation/templates.txt
This file must be specified in parameter This file must be specified in parameter
com.arsdigita.navigation.templates_file com.arsdigita.navigation.templates_file
It usually stored in res/bundle/navigation It is usually stored in res/bundle/navigation
Please use a unique prefix for additional template files, e.g. my-defaultpage.jsp
and don't forget to add a usage comment.

View File

@ -6,4 +6,8 @@ Scientific CMS. The are activated by a customized template.txt file list.
These file may be overwritten or ammended by site specific templates stored These file may be overwritten or ammended by site specific templates stored
in den bundles subdirectory. In case of additional templates a customised in den bundles subdirectory. In case of additional templates a customised
template.txt must be provided and activated in the integrations.properties template.txt must be provided and activated in the integrations.properties
configuration file. configuration file.
Naming Convention
Please, use "sci-" to prefix the name of any added jsp and ensure to include
the usage comment!