This is the historical archive of the now-inactive 'grubstreet' list.
Discussion on OpenGuides development
has now moved to OpenGuides-Dev.
Discussion on The Open Guide to
London now takes place on OpenGuides-London.
Re: [grubstreet] Layout, and issues therewith
[prev] [thread] [next] [lurker] [Date index for 2002/11/12]
From: Earle Martin
Subject: Re: [grubstreet] Layout, and issues therewith
Date: 15:46 on 12 Nov 2002
Subject: Re: [grubstreet] Layout, and issues therewith
Date: 15:46 on 12 Nov 2002
Frames? FRAMES?! Who do you think I am ;) > The code where the edit link is, is in sub GetFooterText. I suggest you try > C&Ping this into your new bits of left column formatting. Oh, no no no my friend. It couldn't be that easy. Feel my pain: GetFooterText() calls upon GetMinimumFooter(), which in turn returns $q->endhtml (why *do* people bother with these cgi.pm methods instead of just printing the damn text themselves?). GetMinimumFooter() is called on in several other places, so I can't modify it. That means I have to copy most of GetFooterText() into a new sub. Now, GetFooterText() is normally called from within BrowsePage() with arguments $id and $goodRevision. $goodRevision is decided by a chunk of code at the top of BrowsePage() (that relies on GetParam()!), which means I have to take *that* and paste it into the top of GetGotoBar(), which is where I crudely hacked in the bit that opens the table for the structure and puts the toolbar links in the LHS column. And then.... Sorry. As Kake commented to me on IRC, 'hacking UseMod will make you hate Perl'. > You might be better leaving the edit link in at the bottom of the page as > well. Yes. -- ermine altar -- grubstreet mailing list http://london.openguides.org/old-list-archives/
-
RE: [grubstreet] Layout, and issues therewith
Ivor Williams 14:56 on 12 Nov 2002
cool! I'm glad you refrained from frames though.-
Re: [grubstreet] Layout, and issues therewith
Earle Martin 15:46 on 12 Nov 2002
Frames? FRAMES?!
-
Re: [grubstreet] Layout, and issues therewith
Earle Martin 15:46 on 12 Nov 2002
-
RE: [grubstreet] Layout, and issues therewith
Ivor Williams 15:55 on 12 Nov 2002
I think the solution might be quite simply the following:-
Re: [grubstreet] Layout, and issues therewith
Earle Martin 16:42 on 12 Nov 2002
Oho. It looks like I was barking up the wrong end of the stick. I had to
-
Re: [grubstreet] Layout, and issues therewith
Earle Martin 16:42 on 12 Nov 2002
-
RE: [grubstreet] Layout, and issues therewith
Ivor Williams 14:04 on 13 Nov 2002
What's with the two search boxes? -
Ivor Williams
14:16 on 13 Nov 2002
hacking,-
Re: [grubstreet] Layout, and issues therewith
Earle Martin 22:36 on 16 Nov 2002
test.pl uses the active content - the search box exists on HomePage, ergo it
-
Re: [grubstreet] Layout, and issues therewith
Earle Martin 22:36 on 16 Nov 2002
-
Kate L Pugh
13:57 on 26 Nov 2002
Finally got around to giving this a fair trial today. I think I can-
Earle Martin
16:10 on 26 Nov 2002
Hooray :)
-
Earle Martin
16:10 on 26 Nov 2002