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 4 replies, 2 voices, and was last updated 9 years, 4 months ago by
Barbara.
-
AuthorPosts
-
03/28/2017 at 3:48 am #417495
Barbara
GuestHi, I would like to show an icon (png image) instead of the category name for every entry on the list. If the category for one entry is “Artist Objects” the AO-image should be shown, if the categories contain “Outdoor Objects” the OO-image must be displayed and if the categories contain “Studio Line” the SL-image should be there.
Something like:if(strpos($entry, ‘Artist Objects’) !== FALSE)
{
echo ”;
}I simply do not know much about PHP but could you give me instructions?
Best regards!
03/28/2017 at 1:41 pm #417641Steven Zahm
Keymaster@ Barbara
Yeah, that code will not work. Sorry, but implementing something like this is not something I can give instructions for as it would be quite involved. If you are familiar with CSS, there are lots of classes available in the HTML markup for the categories. Perhaps you can use CSS to implement icons.
03/29/2017 at 5:55 am #417713Barbara
GuestThank you for the idea, I did it with CSS.
There is one problem left… I imported all the data in German language and created German categories. Now I would like to translate everything to English and I logged in to transifex, created a project, uploaded the .pot file, but the category names are not there.. Later I saw I should request to join the connections team, which I did now.. just at the moment I cannot do any translation on this page…
Best regards, Barbara03/29/2017 at 10:19 am #417763Steven Zahm
Keymaster@ Barbara
re: here is one problem left… I imported all the data in German language and created German categories. Now I would like to translate everything to English and I logged in to transifex, created a project, uploaded the .pot file, but the category names are not there.
It does not work that way … the categories you add will not be in the POT file, only the static strings within the plugin will be.
If you want English, you also have to add them in English in Connections. Create two root parent categories, one for German and one for English add categories as needed as children to those two roots. When you add entries, assign the categories as they are relevant. You will likely want two directory page then, one limited to the display of the categories in the German category tree and one for the English category branch.
Hope this helps!
03/31/2017 at 3:39 am #418262Barbara
GuestThanks for your advice, but it does not really help as it doubles the work for maintenance. To have a multilingual site is not an exception. With several languages it becomes quite uncomfortable. Translation of the categories should be possible and I hope you are going to implement this in one of your next updates.
Best regards! -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
