changeset 23:dd7f423292ee

Added adjusted config to handle main menu differently.
author samer
date Fri, 13 Feb 2015 20:23:14 +0000
parents 4de310ede251
children 597a396b876a
files var/dml/config-enabled/isearch.pl var/dml/config-enabled/isearch.pl.disabled var/dml/config-enabled/skos_browser.pl
diffstat 3 files changed, 26 insertions(+), 50 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/var/dml/config-enabled/isearch.pl	Fri Feb 13 20:23:14 2015 +0000
@@ -0,0 +1,25 @@
+:- module(conf_isearch, []).
+:- use_module(library(http/http_dispatch)).
+:- use_module(isearch(applications/isearch)).
+
+/** <module> Interactive search
+
+Provide interactive search based on   property-chains and multi-facetted
+browsing.
+
+@author Michiel Hildebrand
+*/
+
+% Hijack the search-field, redirecting the queries to the interactive
+% search page.
+
+% SA- disabled
+% :- http_handler(cliopatria(isearch_literal),
+% 		isearch_page([ header(false),
+% 			       query_type(literal)
+% 			     ]),
+% 		[id(list_triples_with_literal), priority(10)]).
+% :- http_handler(cliopatria(isearch),
+% 		isearch_page([ header(false)
+% 			     ]),
+% 		[id(search), priority(10)]).
--- a/var/dml/config-enabled/isearch.pl.disabled	Fri Feb 13 18:46:12 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-:- module(conf_isearch, []).
-:- use_module(library(http/http_dispatch)).
-:- use_module(isearch(applications/isearch)).
-:- use_module(cliopatria(hooks)).
-
-/** <module> Interactive search
-
-Provide interactive search based on   property-chains and multi-facetted
-browsing.
-
-@author Michiel Hildebrand
-*/
-
-% Hijack the search-field, redirecting the queries to the interactive
-% search page.
-
-% SA- disabled
-% :- http_handler(cliopatria(isearch_literal),
-% 		isearch_page([ header(false),
-% 			       query_type(literal)
-% 			     ]),
-% 		[id(list_triples_with_literal), priority(10)]).
-% :- http_handler(cliopatria(isearch),
-% 		isearch_page([ header(false)
-% 			     ]),
-% 		[id(search), priority(10)]).
-
-
-
-
--- a/var/dml/config-enabled/skos_browser.pl	Fri Feb 13 18:46:12 2015 +0000
+++ b/var/dml/config-enabled/skos_browser.pl	Fri Feb 13 20:23:14 2015 +0000
@@ -1,20 +1,1 @@
-:- module(conf_skos_browser, []).
-
-:- use_module(library(semweb/rdf_library)).
-:- use_module(library(skos_schema)).
-:- use_module(cliopatria(hooks)).
-
-/** <module> SKOS vocabulary browser
-*/
-
-http:location(skosbrowser, cliopatria(skos/browse), []).
-http:location(skosapi, cliopatria(skos/api), []).
-
-:- use_module(api(skos_concepts)).
-:- use_module(applications(skos_browser)).
-
-% I rather have the application do stuff like this:
-% :- rdf_attach_library(vocs). 
-
-% SA - Added menu item for browser
-cliopatria:menu_item(900=places/http_skos_browser, 'SKOS Concept browser').
+../cpack/skos_browser/config-available/skos_browser.pl
\ No newline at end of file