Re: [greenstone-devel] Applying 2 interfaces to one Greenstone (2) collection

From Richard Managh
DateFri, 18 May 2007 18:09:39 +1200
Subject Re: [greenstone-devel] Applying 2 interfaces to one Greenstone (2) collection
In-Reply-To (75CF552F30ECFA439D9B3008906F2A37016E5DE0-STAWINCOMAILCL1-staff-vuw-ac-nz)
Hello Daniel

Do you want to use two interfaces in two languages? or two interfaces different in some other way?

If you want to have a multilingual site you create multiple language versions of macros like this:


_sampletext_ [l=en] { Sample text }
_sampletext_ [l=fr] { Texte témoin en français }


If you want to have different versions of an interface, another way of specifying different versions of macros is something like this:

_sampletext_ [v=1] { Sample text version 1 }
_sampletext_ [v=2] { Sample text version 2 }


In the latest greenstone, you can modify the interface macros by modifying a file you create in your collection specific macro directory called extra.dm. <greenstone install dir>collect<your collection dir>macrosextra.dm

See

http://greenstonewiki.cs.waikato.ac.nz/wiki/index.php/All_about_macros

and

http://greenstonewiki.cs.waikato.ac.nz/wiki/index.php/How_to_format_the_output of your_collection

for more information about modifying greenstones interface.

There is a lot of other relevant information on the wiki also, such as

http://greenstonewiki.cs.waikato.ac.nz/wiki/index.php/Customizing_collections


Good luck,

Richard
-- 
DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.com
www.dlconsulting.com


Daniel Matthews wrote:

Hello all,

 

I am currently making adjustments to greenstone for the Victoria University of Wellington and want to apply two interfaces to one Greenstone Collection.

 

I am currently using Greenstone 2 and would like to know which macros/files need to be adjusted.

 

Does anybody have any ideas???  If someone could please point me into the correct direction that would be a big help.  In the meantime I will continue to poke around.

 

Kindest Regards,

 

Daniel Matthews


_______________________________________________ greenstone-devel mailing list greenstone-devel@list.scms.waikato.ac.nz https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel