5 users online. Create an account or sign in to join them.Users

Search

I'm currently updating Subsection Manager and I need a way to find and delete entries that do not contain any values – all created, but empty entries.

What's the best way to do so? Is there a fancy function I'm not aware of?

I suppose you'll need to pick a field in that section and use that as the condition — if that field has a value or not. So you could get all the known entry IDs in that section from sym_entries, loop over these selecting the field's value from its table for that entry ID. If a row exists, and the row's value column is not empty.

There's nothing built-in to the core as far as I know. Seems like an edge case. Why do you need this?

I need to find abandoned tab entries that don't have content.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details