OS Property support center

Register to Become Agent Page, Padding...

  • andersen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 8 months ago #34320 by andersen
hi,

i updated my OS Property! the new version is off the chain. considerable imporvements both functionality and style.

one request;
- in my previous version i hacked the padding, around image, leading to "registration" form
* in which file, can i edit the code, to reduce the padding?

see attached for clarification.

thanks!
Attachments:

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

More
10 years 8 months ago #34327 by Mr. Dam
Replied by Mr. Dam on topic Re: Register to Become Agent Page, Padding...
Hi Andersen,
You now can download version 2.1.2 to fix the issue with the button OS_BECOME_AGENT.
Regarding to space around the button, you can remove it by follow these steps.
1 Open file
components > com_osproperty > classes > default.html.php
2. find
<?php
$user = JFactory::getUser();
if((intval($user->id)==0) and ($configClass)){
?>
<BR />
<?php echo JText::_('OS_REGISTER_NEW_AGENT_ACCOUNT')?>
<BR /><BR /><BR />
<?php
$needs = array();
$needs[] = "agent_register";
$needs[] = "aagentregistration";
$itemid2 = OSPRoute::getItemid($needs);
?>
<a href="<?php echo JRoute::_('index.php?option=com_osproperty&view=aagentregistration&Itemid='.$itemid2);?>" title="<?php echo JText::_('OS_BECOME_AGENT')?>" class="btn"><i class="icon-user"></i><?php echo JText::_('OS_BECOME_AGENT')?></a>
<?php
}elseif($configClass==1){
?>
<BR />
<?php echo JText::_(OS_PUBLISH_YOUR_PROPERTIES_IN_THE_SITE_BY_CLICK_ON_THE_BELLOW_BUTTON)?>
<BR /><BR /><BR />
<a href="<?php echo JRoute::_("index.php?option=com_osproperty&task=property_new");?>" title="<?php echo JText::_('OS_ADD_NEW_PROPERTY')?>" class="btn"><i class="icon-edit"></i><?php echo JText::_('OS_ADD_NEW_PROPERTY')?></a>
<?php
}
?>
<BR /><BR />
and remove some <BR /> tag to suit you need.

Good luck
Dam

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

Moderators: Mr. DamNguyen Phu Quan