Xmap as a Module
2 posts
• Page 1 of 1
Xmap as a Module
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:
Any help will be appreciated. Thanks in advance.
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
<?php
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.
- mamamia
- Fresh Boarder

- Posts: 3
- Joined: Mon Jul 28, 2008 7:52 am
Re: Xmap as a Module
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
yoursite.com/index2.php?option=com_xmap&sitemap=1
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.
yoursite.com/index2.php?option=com_xmap&sitemap=1
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.
- mac-city
- Fresh Boarder

- Posts: 1
- Joined: Sat Aug 30, 2008 11:43 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 2 guests