• Page 1 of 1
  • 1
uCause Community » Trash & Archives » Forum » request auto $CUT$ Script
request auto $CUT$ Script
DeepthehackerDate: Saturday, 2011-09-10, 5:09 PM | Message # 1
Member
Group: Senior Members
Messages: 49
Awards: 1
Reputation: 1
Status: :-(
request auto $CUT$ Script happy

which can use use to auto cut the content message !!!tags-zB11request, auto, $CUT$, Script,


 
0 Thanked you For This Useful Post:
AnimorphDate: Saturday, 2011-09-10, 6:23 PM | Message # 2
uCause forum Admin
Group: Developer
Messages: 2835
Awards: 73
Status: :-(
Deepthehacker, Uhmm that already exists

go to CP ---> Design ---> Design management (templates) ---> your module ---> appearance of entry's ---> >Find:
Code
$MESSAGE$


Replace by:
Code
<?if(len($MESSAGE$)>250)?><?substr($MESSAGE$,0,250)?>...<?else?>$MESSAGE$<?endif?>


then you will have max 250 characters en then .... will appear after it
 
0 Thanked you For This Useful Post:
uCause Community » Trash & Archives » Forum » request auto $CUT$ Script
  • Page 1 of 1
  • 1
Search:


"Making uCoz web designs simple and easy to use"
- uCause Developers