Quote from: Aleksey at Mar 02, 2008, 07:48 AM
все-таки я поражаюсь людям.
ну читайте вы мануалы, ну полезное это занятие, времени займет не больше чем зависание на форуме + эксперименты
http://ditto.modxcms.com/tutorials/basic_filtering.html
Multiple Filter Clauses
A filter may include multiple clauses, separated by the global delimiter, in the form:
clause|clause|clause|etc. Where:
* "clause" is any filter clause as defined above.
* "|" (the pipe symbol) is the Global Filter Delimite, the character that tells Ditto where the division is between clauses.
* "etc." means there is no fixed limit to the number of clauses you may include.
Multiple clauses have an "OR" relationship. I.e. a document will be excluded if it meets the criterion of any one clause (clause-1 OR clause-2 OR clause-3, etc.).
Example
The filter
id,50,2|id,52,2
means "exclude any document whose id field equals 50 or 52."
Мануалы мы читаем.
Если я делаю $filter = "longtitle,15.4",7";
то он выводит все страницы у которых longtitle содержит 15.4" но вот если я делаю
$filter = "longtitle,15.4",7|longtitle,16.4",7";
Multiple clauses have an "OR" relationship так написано в документации, но не работает.
С английским у меня все в порядке.
И документацию читал, перепробовал все, ни х не работает.
И в апострофы пробовал засовывать.