| From | Ponerulappan |
| Date | Tue Aug 12 23:03:20 2008 |
| Subject | [greenstone-users] Re: Revert home link to separate page |
| In-Reply-To | (caa538920808110210y6bc23021w1e8dd0a7439cf8d3-mail-gmail-com) |
| > Dear Richard
> > I fmissied out to provide local host name instead of IP in server . is > there any alternative way to provide the same as it's not working thro gli > prefereneces option. > > > > > On 8/8/08, Richard Managh <richard@dlconsulting.com> wrote: >> >> Hi Pons, >> >> >> 2008/8/7 Ponerulappan <sppons@gmail.com> >> >>> Hi Richard >>> >>> it works fine, Is there any way to add more links in the collection page >>> like HOME, PREFERENCES >>> >>> Thanks for your help, >>> >>> >> >> (assuming greenstone 2.8) >> >> Yes it is possible. You need to *override* the macro _globallinks which >> is in <gsdl>/macros/nav_css.dm >> >> So to do this you would add something like the following under "package >> Global" (without the quotes) in your extra.dm previously described. >> >> HOME HELP PREFERENCES {<a href="http://www.google.com">My Link</a> >> HOME HELP PREFERENCES} >> >> Note: >> The original globallinks macro in nav_css looks like the following: >> >> HOME HELP PREFERENCES {HOME HELP PREFERENCES} >> >> >> For more information about macros please see the following pages in the >> greenstone wiki: >> >> http://wiki.greenstone.org/wiki/index.php/Customizing_your_Greenstone_library >> http://wiki.greenstone.org/wiki/index.php/All_about_macros >> >> http://wiki.greenstone.org/wiki/index.php/A_basic_introduction_to_using_CSS_in_Greenstone >> >> >> Regards, >> >> Richard. >> -- >> DL Consulting Ltd >> Greenstone Digital Library, Web Development, Hosting and Digitization >> Specialists >> www.dlconsulting.com >> >> >>> >>> >>> >>> On 8/5/08, Richard Managh <richard@dlconsulting.com> wrote: >>> >>>> Hi Pons, >>>> >>>> 2008/7/31 Ponerulappan <sppons@gmail.com> >>>> >>>>> >>>>>> Hi >>>>>> >>>>>> We have created a separate library home page using asp. we would like >>>>>> to re-direct greenstone home page to library homepage while clicking >>>>>> home link from greenstone collection . we have used some script to do the >>>>>> same before, but I would like to know how it can be done using greenstone >>>>>> format features or any other way. >>>>>> >>>>>> >>>>> >>>> You could try adding the following to: >>>> >>>> <gsdl install dir>/collect/<your collection dir>/macros/extra.dm >>>> >>>> Create the file if it doesnt exist. >>>> >>>> Add the following two lines to the extra.dm >>>> >>>> package Global >>>> >>>> HOME {http://www.google.com >>>>" title=""> ,HOME,Home page)} >>>> >>>> >>>> -This would work if you wanted to link to google.com. Insert your >>>> desired URL instead of www.google.com >>>> >>>> >>>> Hope this helps, >>>> >>>>> >>>> Richard >>>> -- >>>> DL Consulting Ltd >>>> Greenstone Digital Library, Web Development, Hosting and Digitization >>>> Specialists >>>> www.dlconsulting.com >>>> >>>> >>>> >>>> _______________________________________________ >>>> greenstone-users mailing list >>>> greenstone-users@list.scms.waikato.ac.nz >>>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users >>>> >>>> >>> >>> >>> -- >>> Thanks & Best Regards >>> Pons (Ponerulappan) >>> Library & Information Services, Cognizant Academy >>> >> >> >> >> >> >> >> _______________________________________________ >> greenstone-users mailing list >> greenstone-users@list.scms.waikato.ac.nz >> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users >> >> > > > -- > Thanks & Best Regards > Pons (Ponerulappan) > Library & Information Services, Cognizant Academy >
--
| |