Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

making short descriptions for category global

Quote Reply
making short descriptions for category global
i wanted to see if anyone has developed a way to only show say the first 100 characters of a description on the category pages....

this way it will spark some intereset to go to the detailed page.
Quote Reply
Re: [carminejg3] making short descriptions for category global In reply to
I don't have the URL handy, however there is such a global (searching the forum might help) that will allow you to setup that feature.

Vishal
-------------------------------------------------------
Quote Reply
Re: [SWDevil.Com] making short descriptions for category global In reply to
i searched for a while but had no luck will continue, also maybe someone will know where it is
Quote Reply
Re: [carminejg3] making short descriptions for category global In reply to
Just try this

sub {
my($str,$len)=@_;
return substr($str,0,$len);
}

Usage:

<%short_desc($Description,100)%>

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog