Hello Everyone!
I have 2 fields title and slug. I wan’t make helper trigger check data before pass to Slug behavior.
Hello Everyone!
I have 2 fields title and slug. I wan’t make helper trigger check data before pass to Slug behavior.
What’s “helper trigger check”?
I sorry, I mean:
User -> Submit data -> Check
If empty slug
return title;
else
return slug;
-----------And because in SluggableBehavior of Yii2 not working fine with Unicode Vietnamese. Example: Đã Kiểm Tra -> a-kiem-tra. Miss word Đ.
Yes, it’s not working properly with all Polish characters as well.
I’m using https://github.com/zelenin/yii2-slug-behavior instead - try this one.