- Posts: 71
- Thank you received: 0
OS Property support center
Is feature on propertyedit.php fronthead
- Imotrust
- Topic Author
- Offline
- Senior Member
-
Less
More
10 years 9 months ago - 10 years 9 months 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?
Attachments:
Last edit: 10 years 9 months ago by Imotrust.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13058
- Thank you received: 1696
10 years 9 months ago #47630
by Mr. Dam
Replied by Mr. 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
10 years 9 months ago - 10 years 9 months ago #47656
by Imotrust
Replied by Imotrust on topic Is feature on propertyedit.php fronthead
i Cant Find,
can you see?
can you see?
Attachments:
Last edit: 10 years 9 months ago by Imotrust.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13058
- Thank you received: 1696
10 years 9 months ago #47661
by Mr. Dam
Replied by Mr. 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: Mr. 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.