D
D
DeeUs2018-08-20 07:34:18
Yii
DeeUs, 2018-08-20 07:34:18

How to make a CNC search (filter)?

Hello!
How to implement CNC for search (filter)?
For example:
mysite.ru/category/filter/filter1/value_filter1/filter2/value_filter2/filter3/value_filter3/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-08-20
@slo_nik

Good morning.
You will most likely need to write your own urlManager class.
To get started, watch this video (the sound is a little lame, but you can understand).
Then you can look at the documentation . How to create your own rules, but it would not hurt to read the entire article.
An example of the urlManager class , and a couple of my topics on the forum on a similar topic:
once or
twice

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question