-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CiviVolunteer Search for Opportunities page loads on front-end theme following update #494
Comments
More detail on this:
|
Hello, |
I have reviewed permissions (this was not the issue), and have aggressively cleared caches, civicrm/menu/rebuild?reset=1. None of these things has had an effect on the situation. |
I do see now that I am getting this:
Not sure what exactly it is referring to, or if it is directly effecting (or indicating) what I am seeing with this issue. |
Also as a control, I disabled all modules except for CiviCRM (and CiviCRM Theme) and admin_menu. This had no effect, outcome is the same. |
This is the same error from this post I made: "CiviVolunteer error after upgrade to Civi 5.11.0 on joomla" |
We ended up figuring out that there's an XML file inside the Volunteer extension that tells Civi whether pages should be considered "public" (use the public theme) or not (use the admin theme). So we implemented another tiny extension to override the instructions that CiviVolunteer gives about public/private pages. The error, however, is unrelated to the issue described in my original post; thank you @karenannx for the update about the code fix for that though! I will wait until the next release to apply the fix, as it does not seem to be causing any serious repercussions afaict. |
Hi @kelizoliva , The "menu" config for manage volunteer opportunities looks to be configured properly for displaying in the back-office theme: Thanks, Cheers. |
This extension simply designates the pages under |
Thanks for sharing the code it helped me to understand finally what happened. I think I've been looking at too many instances that a) make the Manage form semi-public and b) don't use admin-themes. I created issue #509 which I think is pretty non-trivial. Thanks for reporting the issue. |
I had initially thought that issue #485 related to the issue I am experiencing, but it is not.
A client has CiviCRM 5.7.3 on Drupal 7, Angular Profiles 4.6-1.0.2, and CiviVolunteer 4.7.21-2.2.2. I updated them to the current releases: Angular Profiles 4.7.31-1.1.2 and CiviVolunteer 4.7.31-2.3.1. Now the "Manage Volunteer Projects" page loads front end theme rather than back-end theme.
I have aggressively cleared the caches, and have disabled and reenabled both extensions. None of this has had any effect. All other CiviCRM pages load the back-end theme, so this is isolated just to CiviVolunteer following these updates.
I don't have any explanation for why this is happening, the manage page should not be loading with the public theme, and up until the extension updates it was loading the back-end theme. This feels like a bug, but perhaps it is a configuration issue that I am just not recognizing?
The text was updated successfully, but these errors were encountered: