Same old question about slider

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

Same old question about slider

Postby Prashant » 22 Jan 2014, 04:01

I want to change the price value that appears in the "slider" to the field "price" in the search form.
I want to put 50.000,00 (fifty thousand) minimum and 10.000.00,00 (ten million maximum)
Where could I set this up?


I can't find 1) file spesified by previous post even not code any of them
Prashant
Stranger
 
Posts: 5
Joined: 22 Jan 2014, 03:56
Reputation point: 0

Re: Same old question about slider

Postby fisher » 23 Jan 2014, 12:35

the file protected/views/site/_search_field_price.php
you need to turn this code
Code: Select all
$priceAll['price_min'] = isset($priceAll['price_min']) ? $priceAll['price_min'] : 0;
$priceAll['price_max'] = isset($priceAll['price_max']) ? $priceAll['price_max'] : 1000

into
Code: Select all
priceAll['price_min'] = 50000;
$priceAll['price_max'] = 1000000
fisher
Citizen
Citizen
 
Posts: 63
Joined: 15 Apr 2013, 09:30
Reputation point: 1


Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 43 guests