Martes, 21 Octubre 2014 16:47
beggarly

for joomla 3 xmap backend template compatibility

Report Xmap bugs on this forum.

for joomla 3 xmap backend template compatibility

Postby mhehm » Sun Jan 27, 2013 2:40 pm

in file: \administrator\components\com_xmap\views\sitemap\tmpl\edit.php

search:
Code: Select all
JHtml::_('behavior.formvalidation');

add after it:
Code: Select all
if(version_compare(JVERSION,'3.0.0','ge')) {
  JHtml::_('formbehavior.chosen', 'select');
}


in file: \administrator\components\com_xmap\views\sitemaps\tmpl\default.php
search:
Code: Select all
JHtml::_('bootstrap.tooltip');

add after it:
Code: Select all
if(version_compare(JVERSION,'3.0.0','ge')) {
  JHtml::_('formbehavior.chosen', 'select');
}
User avatar
mhehm
Senior Boarder
Senior Boarder
 
Posts: 71
Joined: Sun Jan 20, 2013 1:22 pm
Location: Iran

Re: for joomla 3 xmap backend template compatibility

Postby mhehm » Sun Jan 27, 2013 2:53 pm

in file: in file: \administrator\components\com_xmap\views\sitemap\tmpl\edit.php

search:
Code: Select all
<?php echo $this->form->getInput('introtext'); ?>

change it to:
Code: Select all
<div class="controls">
<?php echo $this->form->getInput('introtext'); ?>
</div>


search:
Code: Select all
<div class="span6">

change it to:
Code: Select all
<div class="span10">
User avatar
mhehm
Senior Boarder
Senior Boarder
 
Posts: 71
Joined: Sun Jan 20, 2013 1:22 pm
Location: Iran

Re: for joomla 3 xmap backend template compatibility

Postby mhehm » Mon Jan 28, 2013 5:55 am

I pulled this to https://github.com/guilleva/Xmap
User avatar
mhehm
Senior Boarder
Senior Boarder
 
Posts: 71
Joined: Sun Jan 20, 2013 1:22 pm
Location: Iran


Return to Bugs



Who is online

Users browsing this forum: No registered users and 1 guest