OS Property support center

ANSWERED!!! Two questions

  • Jose Sanchez Martin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago - 9 years 9 months ago #66294 by Jose Sanchez Martin
ANSWERED!!! Two questions was created by Jose Sanchez Martin
Hi, I've recently buyed osproperty and I have two questions, sorry if this it's answered in forum but I don't have found any topic.

1) It's possible to make extra fields dependant on category?: I want to make extra fields dependant on category or category + type , not only on type.
Example:

- categories "homes" and "apartments", types "for sale" and "for rent" need some extra fields.
- category: "terrain" with types "for sale" and "for rent" need different ones.

2) Where is the template file for view=ldefault? the tmpl folder does not contain any .php file

Thank you and excuse me for my english.
Last edit: 9 years 9 months ago by Mr. Dam.

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

More
9 years 9 months ago #66336 by Mr. Dam
Replied by Mr. Dam on topic Two questions
Hi Jose,
First off all, thank you very much for purchasing OS Property from our site. Regarding to your question, i would like to answer as below
1. It's impossible to make the extra fields to be depend on categories. Currently, the extra fields are only depend on Property types. Reason: because one property can be assigned to more than one Category. So we can't make the extra fields depend on Categories to avoid the conflict.
2. The code structure of OS Property is a bit difference. With view "default", you can find the source code in file: components > com_osproperty > classes > default.php and default.html.php
Function: defaultLayout (default.php) and defaultLayout (default.html.php)
If you have any question, please let us know.
Sincerely,
Dam

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

  • Jose Sanchez Martin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago #66344 by Jose Sanchez Martin
Replied by Jose Sanchez Martin on topic Two questions
1) It makes sense.
2) Perfect.

Thank you for the fast response.

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

Moderators: Mr. DamNguyen Phu Quan