mharc-users

Re: Customizing the index.html page for each list?

2003-11-03 15:16:09
On Friday, October 31, 2003, at 04:31 PM, Richard Morse wrote:

On Friday, October 31, 2003, at 12:22 PM, Earl Hood wrote:

On October 31, 2003 at 11:37, Richard Morse wrote:

Hi!  How do I create a different template for the index.html page for
the various archives? This is the page that you get to after the "all lists" page, which has the big search bar at the top and a list of all
the different months that you can look at.  I need to remove the "all
lists" link, and would like to change the look of the search part.
Also, I need to be able to customize this for each list...

Customization can only be for all top index pages.  This is done
by editing the $HTML_DIR/.PNM.head.in and $HTML_DIR/.PNM.foot.in
files (and running 'make configure' afterwards).

Per archive customization is not currently supported.

Does the following seem like it would work? I've added three variables to config.sh, one to turn on the feature, the other two to specify the file names. Then, I made the following change to web-archive:
[snip]
I freely admit that I haven't tried this -- I'm entirely guessing as to whether this is the correct way to do things...

I haven't actually put this into action -- I thought I'd ask and see if it made sense first...

That previous patch won't work -- I didn't realize how thoroughly the directory was deleted and recreated. I've modified it to use .PNM.head.$list (or .PNM.foot.$list) in the main html directory. Obviously, this is not ideal...

Perhaps this could be added to the next version in some more supported way?

Thanks,
Ricky

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

<Prev in Thread] Current Thread [Next in Thread>