civicrm / org.civicrm.volunteer

CiviVolunteer extension.
40 stars 64 forks source link

shoreditch is not applied on all pages #560

Open yashodha opened 3 years ago

yashodha commented 3 years ago

All the menu items of the Volunteers menu created by the extension are not displayed in the correct theme.

The page should be displayed with the shoreditch theme, which is used for all the CiviCRM back-end pages. For example, when we click on "Manage Volunteer Projects" the page is displayed with the front-end theme. Screenshot from 2021-04-09 20:36:10

menu as well yuyu

Screenshot from 2021-04-09 20:41:49

ginkgomzd commented 3 years ago

Thanks for creating the issue.

I'm guessing this is an easy change, but I have a shortage of Shoreditch knowledge.

nganivet commented 3 years ago

@ginkgomzd See commit above for a fix. I cannot be merged though as the 'Search for Volunteer Opportunity' page is then also switched to the back-end theme. I believe this is what you eluded to in #509.

jdelon02 commented 1 year ago

This is happening on our site as well, irregardless of the theme assigned. What we have realized is that the civicrm/vol#/volunteer/manage and the civicrm/vol#/volunteer/manage/0 paths are both using the front end theme, completely ignoring whatever the backend theme is set to. We don't use shoreditch, but switching the backend theme to seven, bartik, or gin has no effect. When you inspect those pages, the theme being rendered is the front end theme.

This is for a D9 site running civi 5.57.5 and volunteer 2.4.3

nickperkins commented 11 months ago

This is likely related to https://github.com/civicrm/org.civicrm.volunteer/issues/509