1. Fabrik 3.5.2 is now available to download. Read the blog for highlights about this release.

    As always, please back up your site prior to updating and if possible test in a dev environment first.

    Also, our 3.5.1 package file was hacked, the effected dates were 1/15/2017 - 1/17/2017. If during those days you downloaded the 3.5.1 package file from the JED or our site download page, please re-install the package with a fresh copy or upgrade to Fabrik 3.5.2. Github downloads were not effected.

Can Edit Row list plugin

Oct 17, 2016
Can Edit Row list plugin
  • This plug-in provides a fine grained control over which records can be edited.

    The list's Access->edit records option takes precedence over this plugin. That is to say that if you are logged in as a registered user, and the list's delete records option is set to Special, then no records can be edited, regardless of any match that might be made with this plugin. In other words, this plugin can only be used to deny access to a row which the built in list ACL's would usually allow. It cannot permit edit access, if the normal list ACL's do not allow permission.

    If more than one can edit plugin is used, and any one of the plugins returns false, then the row will not be editable.

    caneditrow-options.png

    • Access - Which Joomla User 'Access level' will this plug-in be applied to
    • Element - The element whose data needs to make the value specified in the 'value' field.
    • Use Raw - Should we compare the element's raw data or the visible data (e.g. if using a user element, do we compare against the raw value '62' or the display value of 'Admin')
    • Value - The value to compare against. If the element's value matches this then the row IS editable
    caneditrow-example.png

    caneditrow-advanced.png
    • PHP (eval) - A PHP statement which needs to return the value to match against the element's data. Anything entered here takes precedence over the 'value' field. usual placeholders can be used, like {tablename___elementname}, {$my->id}, etc.
  • Loading...