Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules

Search

Donate to XOOPS!

Please select an amount to donate


Do you want your username revealed with your donation?
Yes - List me as a Generous Donor
No - List my donation as from an Anonymous Donor


Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

admin Arabic banner block Christmas comments cumulus DayDawn dhsoft e-Commerce E-Learning Git Google GUI hacks instant-zero jQuery module mygalleries news Nordic Olédrion oxygen PageRank PHP rmcommon security SEO simple-XOOPS Smarty sport tag Theme tutorial wiki WOX xoops XoopsEngine ZendFramework

New Users

Registering user

# 133947

website_make

Welcome to XOOPS!
[Main Page]

Help:Embed page

From XOOPS Web Application System

Main Page | Recent changes | Edit this page | Page history | Switch to MediaWiki mode

Printable version | Disclaimers | Privacy policy

This page describes the steps necessary to embed a page within another page. See also Help:Template.

Contents

Syntax

{{Namespace:Pagename}}

If you do not provide a namespace, the Template namespace will be used. For the pages in the main namespace, add a colon before the page name.

Example

{{:Sample Page}} produces the following:

Sample Page

the content of which, as you can see, is located at Sample Page.

Embedded Special Pages

The default install of MediaWiki allows you to embed only selected special pages. (See Help:Special_pages#Miscellaneous.) To include an otherwise "unembedable" special page, you must edit the $mList array in the file includes/SpecialPage.php. Each entry is in the format

'Pagename' => array( 'PageType', 'Pagename')

The possible values for PageType are SpecialPage, UnlistedSpecialPage, and IncludableSpecialPage.

Find the entry for the page you want to embed and change the PageType to IncludableSpecialPage. You will now be able to include/embed the special page using the include syntax: {{Special:Pagename}}.

Note: changing an UnlistedSpecialPage will show it in Special:Specialpages. (Can this array be changed to allow multiple page types?)

Generated Lists

See: Help:Generated lists

Embedded Images

See: Help:Images

Retrieved from "http://xoops.org/modules/mediawiki/index.php/Help:Embed_page"

This page has been accessed 1,673 times. This page was last modified 19:19, 20 November 2007. Content is available under XOOPS Web Application System.