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 2 replies, 2 voices, and was last updated 10 years, 3 months ago by
Rupert Trigg.
-
AuthorPosts
-
02/19/2013 at 12:39 pm #251834
Rupert Trigg
ParticipantThis is more of a wondering than a request, would it be possible to create a new entry type (i.e. organization 2) or – failing that – edit the existing entry types to read differently?
Our client wishes to display two types of listings on different pages of their site. They are both for businesses/organisations although one of them is for businesses that have subscribed to their services (given a full listing using the ‘cMap’ template) and the other is for businesses who have not (given a lesser listing using a different template i.e. ‘card’).
I’ve been currently using the ‘individual’ tab to get the entries to display differently but because they are both for businesses I could really do with the entry fields being the same (i.e same entry type), however I don’t think you can currently assign two templates to one entry type.
I appreciate this may be rather complex but if you have any advice we would be grateful to hear from you.
Thanks in advance.
02/19/2013 at 8:07 pm #251870Steven Zahm
KeymasterYou can drop this it of code in the theme’s functions.php file to rename the individual entry type:
function trigg_gettext( $translated_text , $text , $domain ) { if ( $domain == 'connections' && $translated_text == 'Individual' ) { $translated_text = 'Org 2'; } return $translated_text; } add_filter( 'gettext', 'trigg_gettext', 20, 3 );
02/20/2013 at 6:51 am #251887Rupert Trigg
ParticipantFantastic, thank you for your prompt response.
Ideally what we would like is two entry types, one called ‘BBTA Members’ and the other called ‘Non-BBTA Members’, as this site we’re developing is going to be content-managed by the client it would help for it to be as straight-forward for them as possible.
These two entry types would each utilise the fields that appear in the default ‘organization’ entry type (e.g. no name fields, just organization, department etc.)
Would this be at all possible?
Thanks again for your help.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.