afform: breadcrumbs present when flagged for frontend
If a form has been flagged for use on the frontend, breadcrumb links should not be visible, as we do with other frontend-facing forms. Currently they are present, even for non-admin role users.
If a form has been flagged for use on the frontend, breadcrumb links should not be visible, as we do with other frontend-facing forms. Currently they are present, even for non-admin role users.
Pretty sure we PR'd this one before, maybe a regression
added comp:Afform comp:FormBuilder triaged labels
I still see the code in place here and it looks correct: https://github.com/civicrm/civicrm-core/blob/007167dfb90eaaeb0c76f2c9e5b0327f0b3e22e9/ext/afform/core/CRM/Afform/Page/AfformBase.php#L22-L25
I've done a patch because that code looks like it could be improved.
@lcdweb can you check and see if this solves your problem? https://github.com/civicrm/civicrm-core/pull/24022
I did a quick test on WordPress instance and now the breadcrumbs are not displayed on the forms if Accessible on front-end of website
is checked.
PR has been merged
closed