Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 3 replies, 2 voices, and was last updated 9 years, 10 months ago by
Steven Zahm.
-
AuthorPosts
-
10/13/2016 at 11:22 am #395587
Mike Raccine
ParticipantWhat is the best/safest way to edit the PHP code in the Links plugin?
I was hoping I could just make edits to the “connections_pro.php” file and place that in my themes folder, but that didn’t work.
I’ve also tried to place the file in “/my-theme/connections-link/” folder, similar to a template override I used for editing cMap, but that didn’t work either.
Any suggestions?
10/13/2016 at 12:19 pm #395647Steven Zahm
Keymaster@ Mike
Sorry, but you can not edit the Link extension as it has not template files like the Templates do. This is not a bug or limitation with Connections … that’s pretty much the way every for WordPress plugin is (unless they provide some type of method for override template files).
There’s really nothing in Link that should be overridden as it al all fairly critical code that could break the plugin if changed. What are you are trying to override, exactly?
10/13/2016 at 12:23 pm #395648Mike Raccine
ParticipantMy client requires that the form sends an email with the information that has changed, when a member updates their listing.
10/13/2016 at 12:58 pm #395686Steven Zahm
Keymaster@ Mike
Oh, so this relates to Form and not Link? My answer, unfortunately, remains the same.
That said…
I’m guessing that you are modifying the
submission()andemail()methods, correct? Send me a copy of your code. I’ll do a diff so I can see your changes. Perhaps I can add some actions and/or filters that you can hook into instead of altering the code. -
AuthorPosts
- You must be logged in to reply to this topic.
