OS Property support center

OSP btn-nav-bar

  • Paul Pütz
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #41912 by Paul Pütz
OSP btn-nav-bar was created by Paul Pütz
Hello Dam,

the fallow pic schould the objektform for agents after he wants changings some things in the objekt offer. There is a three color bottonbar. Green(saving) -->> Blue(to adobt) and Orange(cancel). In the form this button bar is still right and it´s go right overlapping to the right colum. So, how i can change it to left or middle, thats after the buttonbar is out from the right colum?

See pic here:

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #41922 by Mr. Dam
Replied by Mr. Dam on topic Re: OSP btn-nav-bar
Hi,
Please submit ticket and send your site information with super admin acc. I will help you to make those buttons centered
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Paul Pütz
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #41938 by Paul Pütz
Replied by Paul Pütz on topic Re: OSP btn-nav-bar
Hello Dam,


Thanks that you would like to help me by quickly you are performing the changes.

But would it not be better if you me briefly explain it here? So I would learn to better understand the script and you would have more time for other support requests. Should I it still does not, I can understand you yes then still ask for help.

If not possible for explaining, so i will send you account information.


Best regards
Paul

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #41943 by Mr. Dam
Replied by Mr. Dam on topic Re: OSP btn-nav-bar
OK Paul,
Please go to file
components > com_osproperty > helpers > layout > propertyedit.php
find
<div class="btn-group pull-right">

<button type="button" class="btn hasTooltip btn-success" title="<?php echo JText::_('OS_SAVE');?>" onclick="javascript:submitftForm(1);">
<i class="osicon-save"></i> <?php echo JText::_('OS_SAVE');?>
</button>

<button type="button" class="btn hasTooltip btn-info" title="<?php echo JText::_('OS_APPLY');?>" onclick="javascript:submitftForm(0);">
<i class="osicon-apply"></i> <?php echo JText::_('OS_APPLY');?>
</button>
<button type="button" class="btn hasTooltip btn-warning" title="<?php echo JText::_('OS_CANCEL');?>" onclick="javascript:gotoDefaultPage();">
<i class="osicon-unpublish"></i> <?php echo JText::_('OS_CANCEL');?>
</button>
</div>

and change to

<div class="btn-group pull-left">

<button type="button" class="btn hasTooltip btn-success" title="<?php echo JText::_('OS_SAVE');?>" onclick="javascript:submitftForm(1);">
<i class="osicon-save"></i> <?php echo JText::_('OS_SAVE');?>
</button>

<button type="button" class="btn hasTooltip btn-info" title="<?php echo JText::_('OS_APPLY');?>" onclick="javascript:submitftForm(0);">
<i class="osicon-apply"></i> <?php echo JText::_('OS_APPLY');?>
</button>
<button type="button" class="btn hasTooltip btn-warning" title="<?php echo JText::_('OS_CANCEL');?>" onclick="javascript:gotoDefaultPage();">
<i class="osicon-unpublish"></i> <?php echo JText::_('OS_CANCEL');?>
</button>
</div>

Good luck
Dam
The following user(s) said Thank You: Paul Pütz

Please Log in or Create an account to join the conversation.

  • Paul Pütz
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #41944 by Paul Pütz
Replied by Paul Pütz on topic Re: OSP btn-nav-bar
Hello Dam,

Thanks a lot, its done.Perfect!

Best regards
Paul

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan