Notice

FORUM CLOSED! This forum is permanently read-only. No registration can be made. It's also not possible to write new contributions. This forum only serves as an archive.

HACK - OSMap (Xmap) Login XML

  • Gamer-Templates
  • Gamer-Templates's Avatar Topic Author
  • Online
More
4 years 9 months ago #3340 by Gamer-Templates
If you want invisible the login form in OSMap (formerly: Xmap for Joomla) sitemap xml view, do this:

FTP -> components -> com_osmap -> views -> xml -> tmpl -> default_xsl.php

If you want to make changes to this sitemap, login with a "Super User" account in the frontend and then come back to this page.


1) search for:
#instructions>div {
        border-radius: 5px;
        padding: 10px;
        background-color: #ccc;
    }
and change to:
#instructions>div {
        border-radius: 5px;
        padding: 10px;
        background-color: #fff;
    }
2) search for:
<p><?php echo JText::sprintf('COM_OSMAP_LOGIN_AS_ADMIN_EDIT_SITEMAP', JRoute::_('index.php?option=com_users&view=login&return='.call_user_func($function, $sitemapUrl))); ?></p>
and delete this line!

IMPORTANT: Do this after OSMap update again!

No support via e-mail!
Powered by Kunena Forum

Looking for something? Use search

© 2010 - 2020 by Gamer-Templates.com. All rights reserved.
All templates, psd, logos and all other materials on this site are copyrighted. To selling downloads is strictly prohibited. Pay attention to the respective licenses.
The names Joomla!, Wordpress, Drupal and all other CMS Names are used under limited licenses. We do not sell anything!
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience or to advertise. You can decide yourself whether you want to allow cookies or not. Please note that in the event of a rejection, not all functionalities of the site may be 100% available.