#1
|
|||
|
|||
![]()
hi all,
in the old version of HP, i modified the hotproperty.html.php file. this hack was to "echo" a text if the value of the price was = 0 (zero). right now, on the new versione 1.0, i'd like do the same. i think the file is views/property/tmpl/default.php line 125 e so on... but i can't manage the variable and the code in the same way. PHP Code:
thanks in advance. d |
#2
|
|||
|
|||
![]()
find in \views\properties\tmpl\property.php
PHP Code:
PHP Code:
|
#3
|
|||
|
|||
![]()
thanks gray,
this hack works fine on the property detail page. ![]() but i'd need that "YOUR TEXT" also been publishe in the front page, where HP pubblish the list of properties. here can you help me? thanks Last edited by denisp; 12-23-2010 at 05:36 PM. |
#4
|
|||
|
|||
![]()
in HP1.0 and HP1.0.1
components\com_hotproperty\views\properties\tmpl\p roperty.php |
#5
|
|||
|
|||
![]() Quote:
please, can you help for the frontpage list of properties? (i edited the post) |
#6
|
|||
|
|||
![]()
Here's a slight change from gray's replacement code that has a missing <dd> enclosure:
PHP Code:
Last edited by dknight; 11-21-2011 at 12:58 PM. Reason: Fixed bug where price is always showing 'YOUR TEXT' |
#7
|
|||
|
|||
![]()
Hi all,
This works well in the Property Detail page but doesn't change the price in the browse property list (where you only get a thumbnail of the property). Can you tell us how to chnage the price to text in the property list view (including 'Latest Property - 'Featured Properties' etc...) Thanks in advance Kind regards Steve |
#8
|
|||
|
|||
![]()
Hi all,
I just did a little more testing on the code in this thread. I set a property price to zero (although it then defaults to 0.00 on the back end form. The price then shows 'Price on Application' (replaced 'YOUR TEXT'). However, I then open any other property and all of them have changed to 'Price on Application' ?? Have I misconfigured something fundemental here? Thanks for any help in advance. Kind regards Steve |
#9
|
|||
|
|||
![]()
Hi Steve,
To have the same behaviour in properties view, edit the following file: components\com_hotproperty\views\properties\tmpl\_ summary.php LINE: 44 CODE: PHP Code:
PHP Code:
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Price in text format | Fabian.Leferink | Discussions, Troubleshooting and Problems | 11 | 05-15-2010 05:54 PM |
Text in price field | maurizio | Discussions, Troubleshooting and Problems | 2 | 04-07-2009 02:08 PM |