Re: [greenstone-users] problem displaying macros

From Galina Bachmanova
DateSun, 12 Nov 2006 18:44:40 -0600
Subject Re: [greenstone-users] problem displaying macros
In-Reply-To (56669-130-217-244-2-1163366335-squirrel-webmail-scms-waikato-ac-nz)
Hi Shaoqun,
Thank you for trying to help. However it is not what I mean.
The problem persisted after Greenstone updating to 2.71.
You can see macros code on the English page as well
http://lib.kabbalah.info/cgi-bin/library?site=localhost&a=p&p=about&c=newtest&l=en&w=utf-8

Somehow it stops to pull out the macros text.

Regards,
Galina

----- Original Message -----
From: <sw64@cs.waikato.ac.nz>
To: <rafael.antonio@sapo.pt>
Cc: "Galina Bachmanova" <myself@egoists.info>;
<greenstone-users@list.scms.waikato.ac.nz>
Sent: Sunday, November 12, 2006 3:18 PM
Subject: Re: [greenstone-users] problem displaying macros


> Hello Rafael,
>
>>> we just updated the library to 2.71 and got a problem with displaying
>>> macros.
>>> Instead a macros content, the macros code shows up
>>>
>>> a.. _textSearchhelp_
>>> a.. browse documents by Type by clicking the Types button
>>> a.. browse documents by Creator by clicking the Authors A-Z button
>>>
> Those three macors are stored in GSDLHOME/macros/english.dm, could you
> find them in that file?
>>> Buttons (creator, types) are not translated to other languages.
>>> http://lib.kabbalah.info/?a=p&p=about&c=russianc&l=ru&w=utf-8
>
> These buttons hasn't been translated. However you can add your translation
> in russian.dm
> _labelXXX_ [l=ru] {the russian traslation}
> _textdescrXXX_ [l=ru]{the russian traslation}
> where XXX is the button name. For example,
>
> _labeltype_ [l=ru] {the russian traslation for the type button} //for
> button label
> _textdescrtype_ [l=ru]{the russian traslation for the type button}
> //for button tooltip
>
> Actually, there is Creators defined in russian.dm, but to use it you
> need to change your button name to "creator" because the buttone name is
> case sensitive.
>
> For more information on macros, please look at
> http://greenstone.sourceforge.net/wiki/index.php/All_about_macros
> (unfinished)
> http://greenstone.sourceforge.net/wiki/gsdoc/tutorial/en/using_macro_files.htm
>
> Regards
> Shaoqun
>
> _______________________________________________
>> greenstone-users mailing list
>> greenstone-users@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>
>
>