For running J!5.1 you must https://fabrikar.com/forums/index.php?wiki/update-from-github/ or include the new file manually https://fabrikar.com/forums/index.php?threads/joomla-5-1-and-fabrik-cannot-find-files-error.54473/post-285151 See also Announcements
Please see our announcement here.
No. Create one custom template and modify default_buttons.php by adding a condition to the PDF button.Do you intend to use a custom template for front end side and a back end side?
Ah OK! do you mean to create a condition to show or hide the button based on the access level?No. Create one custom template and modify default_buttons.php by adding a condition to the PDF button.
$user = JFactory::getUser();
if (in_array(number, $user->groups)) {
//the button code
}
This is great and works perfectly.I use something like:
Code:$user = JFactory::getUser(); if (in_array(number, $user->groups)) { //the button code }
where 'number' is the ID of group that will have access to the button
if (in_array(number, $user->groups) || in_array(othernumber, $user->groups)) {