[Home]WikiPatches/AutoBackLinks

UseModWiki | WikiPatches | RecentChanges | Preferences

Patch

add: 

$UseBackLink

to:

# Configuration/constant variables:
use vars qw(...

---

add:

$UseBackLink  = 1;      # 1 = show 'Backlinks to' line in footer, 0 = dont show

to:

config part , "Minor Options"

---

add: 

 if ($UseBackLink) {
   $result .= ' | Backlinks to ';
   $result .= &GetBackLinksSearchLink($id);
   }

to: 'sub GetFooterText'

Now you should see "Backlinks to <page>" in the bottom on every page automatically.

mutante of [S23]

Comments

I am curious about the motivation for this patch. Why do you desire that there be a backlinks link in the footer of every page, when the page title at the top of every page is already a backlinks link? Is it that you think the link at the top is not obvious enough? -- RichardP

Funny,but true , somehow its not obvious enough for me, because i patched it without noticing its already there :) but still i dont want to remove it again,because i think i might not be the only one -- mutante

It took me 4 month to find out the title is a link and a very useful one, with mutates patach it would only have been three. -- MattisManzel


UseModWiki | WikiPatches | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited November 12, 2007 12:51 am by MarkusLude (diff)
Search: