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.
Tagged: 8.21, Certifications, Disciplines, extension
- This topic has 5 replies, 2 voices, and was last updated 4 years, 10 months ago by
Steven Zahm.
-
AuthorPosts
-
07/06/2018 at 6:16 am #466940
Age de Jong
ParticipantHello Steven,
I modified the certification extension and renamed all parts in it so we can register disciplines.
I added it in the menu as a sub item of Connections using
$menu[67]
.
Certifications was using 66.It all shows up okay and we can register the disciplines good.
But I’m wondering if 67 is a safe choice? Because in the future you’ll probably create a new extension which could use that number.
What is the best way to use ‘own’ extensions so they wont get overwritten in the future?
I’ve included the zip file of it.
Kind regards, Age
Attachments:
You must be logged in to view attached files.07/06/2018 at 12:31 pm #466979Steven Zahm
Keymaster@ Age
RE: I modified the certification extension and renamed all parts in it so we can register disciplines… I’ve included the zip file of it.
Thanks!
RE: What is the best way to use ‘own’ extensions so they wont get overwritten in the future?
Making you own extension is the only/bets way. As you;ve done.
In regards to the menu position, there is the possibility of an index collision in the future. If I remember of the top of my head correctly, you could use a decimal value for the index, such as
66.9123
. Which would have a far less risk of a collision.Hope that helps!
07/09/2018 at 5:18 am #467080Age de Jong
ParticipantTried the decimal but that didn’t work. Also tried a comma, but that breaks up the website :)
So I’ll keep using 67 and keep a close eye on any new extensions you’ll make.
-
This reply was modified 4 years, 11 months ago by
Age de Jong.
07/09/2018 at 11:09 am #467112Steven Zahm
Keymaster@ Age
I took a look in the code… I was almost right use this as the meua key
"66.9123"
. Notice I added quotes around the number.07/09/2018 at 4:02 pm #467126Age de Jong
ParticipantYes, it’s working! Thanks!
07/19/2018 at 12:33 pm #467928Steven Zahm
Keymaster@ Age
I put this up on github with the rest. Thanks Again!
https://github.com/Connections-Business-Directory/Disciplines
-
This reply was modified 4 years, 11 months ago by
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.