Jump to content

search form with category selection


slave
 Share

Recommended Posts

I would like to create a search form with a category selection.
I do not get the selector, I need help

my selector

$katId = $pages->find("template=leftnav_kat, h1_h6_1%=$kat"); its ok
$matches = $pages->find("template=site, has_parent=$katId"); its ok
myresult this pages (templates = site):

MedLab ML +2 °C bis +8 °C 41 Liter
MedLab ML +2 °C bis +8 °C 41 Liter
MedLab ML +2 °C bis +8 °C 45 Liter
MedLab ML +2 °C bis +8 °C 82 Liter
MedLab ML +2 °C bis +8 °C 82 Liter
LabStar Sanguis +2 °C bis +6 °C 100 Liter
MedLab ML +2 °C bis +8 °C 107 Liter
LabStar Sanguis +2 °C bis +6 °C 100 Liter
MedLab ML +2 °C bis +8 °C 82 Liter

but I'm looking for a text in the template = site, this template has a field search_cache

$katId = $pages->find("template=leftnav_kat, h1_h6_1%=$kat"); its ok
$matches = $pages->find("template=site, has_parent=$katId, search_cache%=Industrie"); not work

I need help

 

 

 

search.fw.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...