Search

Hello,
I'd like to get all entries from a section, save one I really dislike. In the datasource filter by name I tried these:

not foo
! foo
is not foo
isnt foo
<> foo
!= foo 
heck foo

but none worked. Any hint?

Thanks!

What about not-regexp:

Check this conversation

not: foo or not: {$foo}, if that's a variable

Thanks guys,
@cotiunix tried your suggestion, but it seems not working on 2.3.2 ("No records found.")

agains what kind of field you've added the filter?

i've made a test on 2.3.2 with default text input field

  • i have an articles section
  • with two entries
  1. Article 1: This is an apple
  2. Article 2: That is an apple

with no filtering i get both entries

if i filter with not-regexp:^that, i'll get only the first one

home that helps

Ok now I caught the nuance, not-regexp is for textfields, which is my case.
In what context is not: foo used?..

it works on select box link field

also for text fields, you shoul use text box field; it createas unique handles if you have entries with the same title

it works on select box field

It works on a Select Box Link field, but not a Select Box field :( Tried both fields just now.

To use not on the Select Box or Taglist fields, you need to use not-regexp :)

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details