OS Property support center

error in config.... i guest....

  • elkin cano
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #41746 by elkin cano
error in config.... i guest.... was created by elkin cano
in the config database the index are out order ,

delete an index or jump leaving everyone else are a number out of order

for example in the facebbook bottom

the osproperty ask for the position
Code:
//the 88 position is search_show_agent in my osproperty if ($configs[88]->fieldvalue == 1) {

i change manually to 89 in my template ant the listin.html.php file

please check ... os ir my mistake ?

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

More
11 years 2 months ago #41752 by Mr. Dam
Replied by Mr. Dam on topic Re: error in config.... i guest....
Hi,
Can you tell me what's the source file that you modified?
Thanks
Dam

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

  • elkin cano
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #41758 by elkin cano
Replied by elkin cano on topic Re: error in config.... i guest....
in components/com_osproperty/classes/listing.html.php

and my template y make a copy the deffault tempate and customize.

components/com_osproperty/templates/default/details.html.tpl


in my config database this are the data...
Code:
128 show_compare_task 1 130 show_rating 1 175 map_view_width 900 176 max_view_height 650 178 show_just_add_icon 1 180 show_just_update_icon 1 181 energy 1 182 show_walkscore 1

so i think some register are delete... but in the code the program check by the id and always is in -1

i fixed in the page i found ... i check this in all my app and send the file to you ...

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

More
11 years 2 months ago #41763 by Mr. Dam
Replied by Mr. Dam on topic Re: error in config.... i guest....
Hi Elkin,
It's very weird, because in version 2.6.1, we already don't have that source code line in those files.
Thanks
Dam

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

  • elkin cano
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #41956 by elkin cano
Replied by elkin cano on topic Re: error in config.... i guest....
i dont check the version 2.6.1 this my next step... i use 2.4 because i change a few things in my site www.sucasainmobiliaria.com

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

More
11 years 2 months ago #41967 by Mr. Dam
Replied by Mr. Dam on topic Re: error in config.... i guest....
OK Elkin, and you can solve that issue?
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan