Foren / Cotonti / Extensions / How to use the news plugin?

darkseeker
#1 24. März 2011, 13:50

the news plugin is very useful.

but i find that the homepage looks horrible,when artilces are too long.

is there a method that can cut the articles on homepage,and just show part of them,for example,100-200 words.

i tried to do this,but failed.crying

please help me

pieter
#2 24. März 2011, 14:29

add [ more ] without the space on the place where you want to break the news.

At this place you get read more... with a link to the page

... can we help you ...
darkseeker
#3 24. März 2011, 15:20

thanks pietersmiley

another question:how to chagnge “read more” to other words?

Added 16 minutes later:

solved...edit "main.lang.php"

my head is a mess...so many problems are waiting for me

i've just found that the scroll is missing in some articles,but in others ,it is still there on the right...


Dieser Beitrag wurde von darkseeker (am 24. März 2011, 15:36, vor 14 Jahre) bearbeitet
Kort
#4 24. März 2011, 16:10

you shouldn't mess with main.lang.php, unless you're ready to lose your changes after an upgrade.

redeclare L.ReadMore in the skin.lang.php

SED.by - создание сайтов, разработка плагинов и тем для Котонти
darkseeker
#5 24. März 2011, 16:22

thank u Kort,but i think it doesn't matter,i would edit the main.lang.php again after an upgrade

and do you know the above question about scroll?

pieter
#6 24. März 2011, 16:33

Do you have an example. I don't know exacly what you mean.

... can we help you ...
darkseeker
#7 24. März 2011, 17:43

thank you two good mensmiley

i've fixed it,a skin problem actually.