Gives the number of entries in a listview


/ Published in: PHP
Save to your folder(s)

Instead of creating a list, this listview puts the number of entries into a variable


Copy this code and paste it in your HTML
  1. <we:listview type="object" name="documents" classid="123" catOr="true" order="we_id" triggerid="2797">
  2. <we:ifFound>
  3. <?php $totalD = $GLOBALS['lv']->anz_all; ?>
  4. </we:ifFound>
  5. </we:listview>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.