Monday, 26 January 2015 16:30

Xmap as a Module

An open forum for opinions and general questions

Xmap as a Module

Postby mamamia » Sat Aug 09, 2008 4:37 pm

Hi All,
I am attempting to display my XMap at the bottom of all my website pages. To do this, I assume that I need to create a module that will output the Xmap component and then I can simply insert that module into my template. But I need a little help in writing the module. From what I understand, it shouldn't be too difficult. But I'm having some trouble with it--no matter what I do the module doesn't seem to output the Xmap component.

Here is one attempt:

Code: Select all
defined( '_VALID_MOS' ) or die( 'Restricted access' );
include( $mosConfig_absolute_path . '/components/com_xmap/xmap.html.php' );

Any help will be appreciated. Thanks in advance.
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Mon Jul 28, 2008 7:52 am

Re: Xmap as a Module

Postby mac-city » Sat Aug 30, 2008 11:47 pm

me too! i finally found a very sloppy way to do it, but it works. no site css though. make a new module, wrapper, site link to

and place the module where you like. the 2 added to the index shows a page with only the output of xmap.

i need a real module too, but don't know how to write it.
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Sat Aug 30, 2008 11:43 pm

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest