On the ministry pages, there is an "Online Event Registration" link that always shows. It looks like there's some php in the panel that is supposed to show this link only when there are events listed for this ministry, right (I don't have strong coding skills, so this is a guess)? If that's true, then something's not working right - I'm finding that the link always shows, even when there are no events. If it's not true, then consider this a feature request :)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drupalninja99’s picture

ok i need to fix this

drupalninja99’s picture

OK I fixed this in the openchurch tarball. I added a visibility rule to keep the upcoming events block from showing when there aren't any events found for that particular ministry.

I am also attaching the specific file I changed that you can use to update your existing install. You will need to rename it from .txt and overwrite the file in your openchurch_ministry feature folder.

drupalninja99’s picture

Status: Active » Needs review

changing to needs review

michellezeedru’s picture

I replaced openchurch_features/openchurch_ministry/openchurch_ministry.pages_default.inc with the file attached above, and cleared caches. But it didn't seem to change anything - the Online Event Registration link is still showing on all of my ministry pages and I have no events on the calendar.

drupalninja99’s picture

Oh OK you need to go to admin/build/features and make sure you revert the Openchurch ministry feature, I think that will fix it. I know it works on the fresh instance I tested.

drupalninja99’s picture

Status: Needs review » Closed (fixed)

closing