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.5.20, css, custom, getCategoryBlock(), template
- This topic has 3 replies, 2 voices, and was last updated 10 years ago by
Steven Zahm.
-
AuthorPosts
-
07/28/2016 at 11:15 am #384582
DOMINIC
ParticipantI was just informed that my custom templates mods are no longer displaying properly. not sure when the issue started, but i did just upgrade to latest version on connections. I hard-coded some HTML into the card.pnp and single entry template get category bock function, which used to display properly.
$entry->getCategoryBlock( array( 'label' => '<b>Skills: </b><br /><ul><li>', 'separator' => '</li> <li>', 'before' => '<br /><span>', 'after' => '</span></li></ul>' ) );?>the functions are no longer displaying the html formatting but showing just the codes.
Is there anyway to get the formatting to display properly again?
this is the site: http://www.euroasi.eu/educational-tools/skill-bank/skill-bank/
thanks
dominic
07/28/2016 at 3:06 pm #384609Steven Zahm
Keymaster@ dominic
The issue is that the
labelattribute doesn’t support HTML tags even though it worked on prior versions. It is just now properly escaped whereas it was not before. If you want to make the label bold with space after it, you should use CSS. You can use the.cn_category_labelCSS selector.The same for the
separator.If you want a list, try this instead:
$entry->getCategoryBlock( array( 'label' => 'Skills:', 'type' => 'list', ) );That should get you back on track. Hope that helps, let me know.
07/28/2016 at 8:04 pm #384641DOMINIC
ParticipantWorked perfectly. Thanks for the great plugin and support.
Dominic
07/29/2016 at 8:31 am #384719Steven Zahm
Keymaster@ dominic
Great to hear! Apologies for the trouble!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
