Fullscreen
[Show/Hide Right Column]

This page needs review, in particular to make sure the information in the parameter table is accurate.


This Wiki Plugin will list all pages that link to a specific page in the site. Information about the pages may also be displayed.

Usage

Here is an example of the syntax to use to display a list of backlinks for a page:
{BACKLINKS(page=>HomePage, info=>hits|user, exclude=>SomePage|SandBox, include_self=>1, noheader=>1)}{BACKLINKS}


Parameter Accepted values Effect Since
page Page name. Default is the name of the page containing the plugin code. The page that the pages being listed are linked to
info Pipe-separated page field names (maximum of 4). For example: hits|user. Fields available: hits, user (last author), version, lastModif (last modification), creator, flag (status). Displays page information in the list of backlinks
exclude Pipe-separated page names. For example: HomePage|Sandbox Excludes pages from the list
include_self 0 or 1 (default is 0) Set to 1 to include in the list the page that the other pages link to
noheader 0 or 1 (default is 0) Default or 0 setting will add this header to the list: "x pages link to {Page Name}". Set to 1 to eliminate the header.


Example

If page information (such as hits or user) is specified, then a simple table will be produced. So this code,
{BACKLINKS(page=>Documentation, info=>hits|user, exclude=>SandBox)}{BACKLINKS}

Would produce:

10 pages link to Documentation
Page Hits User
Documentation TOC 600510 ricks99
Documentation,cs 4668 luci
Documentation,pt-br 2730 macarena
Dokumentation TOC de 7738 gta74
HomePage,es 18640 xavidp
HomePage,nl 12615 Muizeman
Installation 607229 ricks99
Installation,de 2649 marclaporte
Restore Help Pages 7x 2772 marclaporte
Tutorials 146934 hanbav


Example

If only the page name is to be listed, then a bulleted list is produced. So this code,
{BACKLINKS()}{BACKLINKS}

Would produce:

5 pages link to PluginBacklinks




Contributors to this page: lindon5651 points  , sylvie7154 points  and mlpvolt4266 points  .
Page last modified on Wednesday 04 January, 2012 03:43:33 UTC by lindon5651 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki