http://www.qualitybuildings.biz/showcase/view/horse_barns
For the subcategory page I use exp:list_maker to format the category_description into a <ul>, but on the page above I want a snippet of that description separated by commas.
Why does the following not work?
{if cat_description}{exp:char_limit total="55"}{exp:replace casesensitive="no" find="\\n" replace=", "}{cat_description}{/exp:replace}{/exp:char_limit}{if:else}No description provided.{/if}
I also tried:
{exp:replace parse="inward" casesensitive="no" find="\\r\\n" replace=", "}
{exp:replace casesensitive="no" find="\\r" replace=", "}
{exp:replace regex="yes" find="^\\r?\\n" replace=", "}
Moved to Plugins by Moderator
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.