Re: [greenstone-users] Language option...

From Michael Dewsnip
DateFri, 02 Mar 2007 16:32:51 +1300
Subject Re: [greenstone-users] Language option...
In-Reply-To (dfb4b74f0702282345xb358e86laeec6aba951f9317-mail-gmail-com)
Hi Graeme,

What page are you trying to display the languageoption macro on? The
languageoption macro is defined in set_language_encoding_macros() in
src/recpt/pageaction.cpp, which is only called for the "preferences" and
"homepref" pages. If you want this macro defined in another page you
will need to modify the C++ code to do this.

Regards,

Michael

graeme wrote:
> I want to use the languageoption macro, but it doesn't appear to be
> set up when I want to use it. How can I ensure that it is properly
> populated? Using the following doesn't display anything:
>
>
>
> And in the pref.dm <http://pref.dm> file it says:
>
> # set from within pageaction
> _languageoption_ {}
>
> So what is pageaction?
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>