Fullscreen
Loading...
 
[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:

9 pages link to Documentation
Page Hits User
Documentation TOC 623589 ricks99
Documentation,cs 4705 luci
Documentation,pt-br 2782 macarena
Dokumentation TOC de 11521 gta74
HomePage,es 19213 xavidp
HomePage,nl 12999 Muizeman
Installation 611380 ricks99
Installation,de 3341 marclaporte
Tutorials 150168 lindon


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: lindon137 points  , sylvie7387 points  and mlpvolt4388 points  .
Page last modified on Wednesday 04 January, 2012 03:43:33 UTC by lindon137 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