|
From: Jamie C. <jca...@we...> - 2001-01-26 13:22:35
|
Joe Cooper wrote:
>
> Hi folks,
>
> Ok, I've added a submodule to the Squid module, that provides user
> tracking data (ie, who visited what and when). I've got everything
> working great...but I can't make it appear in the Squid mainpage.
>
> I've editted the index.cgi to include a reference to it in each page
> layout section (i.e. basic, simple, all options). I just copied the
> stuff that was already there so I guess it's OK. I've put an icon in
> the images dir, and I've added the necessary entries in lang/en.
>
> Here's an example of the modified lines in index.cgi, just in case I did
> something wrong:
> @otitles = ( $text{'index_portsnets'}, $text{'index_mdusage'},
> $text{'index_actrl'},
> ($auth ? ( $text{'index_proxyauth'} ) : ( ) ),
> $text{'index_rebuild'},
> $calamaris ? ( $text{'index_calamaris'} ) : ( ) ),
> $text{'index_usertrack'};
> @olinks = ( "edit_sports.cgi", "edit_smem.cgi", "edit_acl.cgi",
> ($auth == 1 ? ( "edit_auth.cgi" ) :
> $auth == 2 ? ( "edit_nauth.cgi" ) : ( ) ),
> "clear.cgi",
> $calamaris ? ( "calamaris.cgi" ) : ( ) ),
> "usertrack.cgi";
> }
>
> So what am I missing here? How do I make it show up?
>
> Thanks for any enlightenment anyone can provide.
Shouldn't the $text{'index_usertrack'} go inside the bracket before it?
Same for "usertrack.cgi" .. otherwise you are creating a comma expression
those meaning I am unsure of :)
- Jamie
|