> i am not really very proficient in c++, but i read in the archives
>that to change the _homeextra_ macro, you need to edit some c++ code
>in the source [and, i'm assuming, recompile it.] it seems it can be
>edited in pageaction.cpp.
> what we would want is to display the collection description ([which
>as i understand is defined by _collectionextra_ macro] <--is this
>right?) along side the collection image. so far, we have edited in
>the receptionist.cpp file the HomePageCols to be 1, and tried to
>declare and put into the formatting collectionextra in
>pageaction.cpp... so far, this has got us errors during make.
>could anyone give us some help here? it would be greatly appreciated.
Yes, you're right that changing _homeextra_ involves editing the C++
code, and what you describe sounds about right.
An easier alternative is to customise the home.dm macrofile instead of
the C++ code. Doing this allows you to customise the home page to show
whatever you want -- but it won't be as dynamic. For example, Greenstone
CD-ROMs have a customised home page with the 11 documented example
collections listed with an icon and a description. To achieve this, the
_content_ macro in the home.dm was changed to include a bunch of HTML
for the table containing the icons and descriptions. You can see the
customised home.dm file here:
Of course, if you do it this way your home page becomes more static, and
you'll have to update it when your collections change. But it's a lot
simpler, and you don't have to touch the code.
If you'd rather go the C++ route, let me know and I'll look into it further.