- Posts: 2
- Thank you received: 0
Bind Custom Properties Search to a CP field?
- metropolska
- Topic Author
- Offline
- New Member
Less
More
10 years 7 months ago - 10 years 7 months ago #1766
by metropolska
Bind Custom Properties Search to a CP field? was created by metropolska
I am trying to create two different CP search modules bound to different CP fields. Is this possible and if yes, please advise on a method. Thanks!
Last edit: 10 years 7 months ago by metropolska.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
10 years 7 months ago #1768
by andrea_4g
Replied by andrea_4g on topic Bind Custom Properties Search to a CP field?
It's doable.
You have a good example here:
www.solidsystem.it/demo1720
There are 3 modules:
- a comprehensive one with all fields
- a search module only for food (under the food menu)
- a search module only for wine (under wine menu)
In short:
- create 2 Custom Properties Search modules (e.g. search wine, search food)
- create as many CP fields as you need
- assign some fields to a module and other fields to other module, by means of the 'Modules' param in Field edit window
(optional) You can also restrict the scope of the search of a CP search module, with the dedicated parameter within the module itself.
This additional step is useful if you have some tags (e.g. Price) that applies to both your set of articles (Wine, Food).
You would want the Food search module to search 'Price' only inside Food-articles.
You have a good example here:
www.solidsystem.it/demo1720
There are 3 modules:
- a comprehensive one with all fields
- a search module only for food (under the food menu)
- a search module only for wine (under wine menu)
In short:
- create 2 Custom Properties Search modules (e.g. search wine, search food)
- create as many CP fields as you need
- assign some fields to a module and other fields to other module, by means of the 'Modules' param in Field edit window
(optional) You can also restrict the scope of the search of a CP search module, with the dedicated parameter within the module itself.
This additional step is useful if you have some tags (e.g. Price) that applies to both your set of articles (Wine, Food).
You would want the Food search module to search 'Price' only inside Food-articles.
Please Log in or Create an account to join the conversation.
- metropolska
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
10 years 7 months ago #1771
by metropolska
Replied by metropolska on topic Bind Custom Properties Search to a CP field?
Yes, thanks. Solved! That worked well.
Please Log in or Create an account to join the conversation.
Time to create page: 0.126 seconds