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 8 replies, 2 voices, and was last updated 7 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
09/12/2014 at 5:28 am #303711
Antonio
ParticipantHi, Steven.
I have searched for answers in the forums, but I have not found and need your help.
1.-How I can sort categories ?. Automatically are sorted by name and not want that. I would like to sort by ID, for example, or by the order in which I entered.
2.- Plugin Google Language Translate, translates the name of the organization. How can I avoid it?
3.-How I can put another color in the link fields ?. Default takes the theme colors and do not like. Can I change them?
Thank you very much and best regards,
09/12/2014 at 11:32 am #303720Steven Zahm
Keymaster@ Inomid
re: How I can sort categories ?. Automatically are sorted by name and not want that. I would like to sort by ID, for example, or by the order in which I entered
Sorry but categories are only sortable by name.re: Plugin Google Language Translate, translates the name of the organization. How can I avoid it?
Sorry, I am not at all familiar with this plugin. You might be better off asking that plugin’s dev to see if there is a way to prevent specific text from being translated.re: How I can put another color in the link fields ?. Default takes the theme colors and do not like. Can I change them?
Yes this is possible … the default is to inherit from the theme to provide tighter integration with the style of the theme. If you can share a link to you directory page and the color you want to the links to be, I’ll take a look and give you the CSS that’ll be required to be added to the theme’s custom CSS area.NOt too much of a help, sorry! But I hope it helps a little.
09/17/2014 at 4:31 am #304330Antonio
ParticipantHi, again, Steven.
I found, about the plugin of translations (Google Language Translator), … to prevent translation, I can add a Css class called “nontranslate” to any html element, like <body class=”home notranslate”> . Can you tell me what is the “element” for the organization name?
Thank you09/17/2014 at 8:55 am #304337Steven Zahm
Keymaster@ Inomid
You can add the class to these places:
- https://github.com/Connections-Business-Directory/Connections/blob/develop/includes/entry/class.entry-output.php#L581
- https://github.com/Connections-Business-Directory/Connections/blob/develop/includes/entry/class.entry-output.php#L830
The filename is
class.entry-output.php
and can be found in this folder:
../wp-content/plugins/connections/includes/entry/
Hope that helps!
09/24/2014 at 6:02 am #304956Antonio
ParticipantHi, Steven. It works fine !!
Thanks, again.03/20/2015 at 4:42 am #323691Antonio
ParticipantHello again, Steven. I managed that the board works pretty well, but I still have a problem with the translations. Every time you make an update of connections, I rewrite the class.entry-output.php file by adding “notranslate” to fields that should not be translated. On the one hand, need you to tell me which is the field to not translate the name of the contact. For example, a contact is Pere Prats, name, and translates as Pere Meadows. As you can imagine, you should not translate the names of individuals, companies, streets, email, url, … but it does. Not sure if this what you could fix in next updates. I’ll give an example of a properly corrected field:
case 'organization': $ html = ''. $ this-> getOrganization (). '</ span>'; break;
This I do with lines 562, 877, 1097, 1098, 1099, 2019, 2020 connections at each update.
What is the class for Contact (name and surname), please ?. Thank you very much and greetings from Spain.
03/20/2015 at 10:59 am #323755Steven Zahm
KeymasterAntonio
Can you please visit this link?
https://github.com/Connections-Business-Directory/Connections/commit/9cdebfbebcefb30c5a3df6fff5259ce2bd409bcdI added the
notranslate
class to the places you mention, including the contact name. The link will show the places where I made the change. Can you please confirm that is what is needed to prevent Google Translate from translating those strings?03/20/2015 at 2:03 pm #323805Antonio
ParticipantHi, Steven. It’s perfect !!! It works fine!!. Thank you very much. I still working with it. Thanks again.
03/21/2015 at 1:31 pm #323871Steven Zahm
Keymaster@ Antonio
Alright, these changes will be included in the upcoming 8.2.3 release so you should have to worry about it again.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.