Search

Hi,

I have a markdown field as part of a section and would like to create a datasource that gives me all of the entries that have content in the markdown field. Is this possible through the admin interface or would I have to write a custom datasource?

Thanks.

I'm thinking you could filter that field with a regular expression (regexp:), checking for one or more characters.

yep indeed usually I use a regexp: .* filter on the field I'd like to have content. That would match anything where the markdown field in your case has content.

Awesome! That worked perfectly. Thanks guys.

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