ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Display section based on record count

touretteroma 01 Apr, 2018
Dear all,
how is possible to show/hide a component (eg a button or header) when the record count of a table is equals to N ?
Regards
Max_admin 02 Apr, 2018
Answer
Hi touretteroma,

This is possible but not straight forward in the current version (a planned update should make it simpler), but you can do it by following the steps below:
  1. Disable the "Deactivate permissions" setting under the form general settings.
  2. Process the record count using a PHP action and return a value true/false.
  3. In your button settings under "Permissions", use {var:php_name} to control if the button should be displayed or not.
Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com