- Posts: 71
- Thank you received: 0
OS Property support center
Is feature on propertyedit.php fronthead
- Imotrust
- Topic Author
- Offline
- Senior Member
-
Less
More
11 years 1 month ago - 11 years 1 month ago #47626
by Imotrust
Is feature on propertyedit.php fronthead was created by Imotrust
Hello, i want to add the ability of agent to select if is feature or not on new property page
i add this code
But when i save this dont work
Can you help me?
i add this code
Code:
<div class="control-group">
<label class="control-label">
<span class="hasTip" title="<?php echo JText::_('OS_FEATURED');?>::<?php echo JText::_('OS_FEATURED');?>">
<?php echo JText::_('OS_FEATURED')?> *
</span>
</label>
<div class="controls">
<?php echo $lists['featured']; ?>
</div>
</div>
But when i save this dont work
Can you help me?
Last edit: 11 years 1 month ago by Imotrust.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
11 years 1 month ago #47630
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Is feature on propertyedit.php fronthead
Hi,
<?php echo $lists; ?> is array, if you only show this, it won't work.
Please check function save function in file classes > listing.php to see the variable isFeatured is uploaded or not
Thanks
Dam
<?php echo $lists; ?> is array, if you only show this, it won't work.
Please check function save function in file classes > listing.php to see the variable isFeatured is uploaded or not
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Imotrust
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 71
- Thank you received: 0
11 years 1 month ago - 11 years 1 month ago #47656
by Imotrust
Replied by Imotrust on topic Is feature on propertyedit.php fronthead
i Cant Find,
can you see?
can you see?
Last edit: 11 years 1 month ago by Imotrust.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
11 years 1 month ago #47661
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Is feature on propertyedit.php fronthead
Hi,
Why do you sent me this file? In OS Property, agent can't change the Featured status at front-end. So you need to hack into 2 places to add this feature
1. Function edit : Use to show the property modification form
2. Function save : Use to save property information
Thanks
Dam
Why do you sent me this file? In OS Property, agent can't change the Featured status at front-end. So you need to hack into 2 places to add this feature
1. Function edit : Use to show the property modification form
2. Function save : Use to save property information
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.