Closed edwery closed 7 months ago
We have an existing routine to locate all the events and groups which reference a contact. We use that in 'delete contact' to prevent deletion if referenced. Clicking on a venue brings up a page with venue details and presenting a place to say where the venue is referenced. Clicking in a contact brings up the contact page, which is not a suitable place to show details of the contact, so another form of display would be required. I suggest that the contact display would have a "?" button included so that every time a contact is displayed ( for example in the group page) - and the display is to an administrator - then the "?" button is shown, and clicking it would produce a popup showing where the contact is referenced.
I also wonder if it would be sufficient to show this information in the page reached by clicking 'view' from the admin console contacts list - rather than showing it as a popup from the group information page? That seems easier to me. Now I come to look at it - this is already done - do we need to do more?
Yes indeed!!
This output is already produced by the filter //Add display of all xrefs to this post in other posts. add_filter('the_content', array(self::class, 'display_xrefs'), 20, 1); and the filter function display_xrefs is in trait ManageCrossRefs
I'd forgotten all this.
Mike C
------ Original Message ------ From: "edwery" @.> To: "u3a-siteworks-development/u3a-siteworks-theme" @.> Cc: "Subscribed" @.***> Sent: 26/03/2024 17:07:19 Subject: Re: [u3a-siteworks-development/u3a-siteworks-theme] Feature 1013: Allow admin to find where a contact is used (Issue #10)
I also wonder if it would be sufficient to show this information in the page reached by clicking 'view' from the admin console contacts list - rather than showing it as a popup from the group information page? That seems easier to me.
— Reply to this email directly, view it on GitHub https://github.com/u3a-siteworks-development/u3a-siteworks-theme/issues/10#issuecomment-2021005997, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIYLLIBOVSPG2Z3LMHIA4TY2GMLPAVCNFSM6AAAAABDGRHW2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRRGAYDKOJZG4. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks - I went searching for a place to implement it - and found it already there :)
Agreed with change board that no action required.
Relates to https://project.u3awp.uk/projects/testing/work_packages/1013