Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Read more toggle div for long article  (Read 1859 times)

adamos

  • Newbie
  • *
  • Karma: 0
  • Posts: 43
Read more toggle div for long article
« on: December 22, 2007, 05:04:47 am »

read more on long article.

I searched the forum to find the function for this toggle div but i didnt figure it out. how do i add "Read more" on a long article and expand it?

Thanks

Adam
Logged

Joost

  • Guest
Re: Read more toggle div for long article
« Reply #1 on: December 22, 2007, 08:56:36 am »

You can insert the string [break] into an article. In the article list everything above [break] will be displayed, followed by 'read more'. Click on the link and the full article is displayed (on a different page).
Logged

adamos

  • Newbie
  • *
  • Karma: 0
  • Posts: 43
Re: Read more toggle div for long article
« Reply #2 on: December 22, 2007, 10:39:04 pm »

cool, thanks - i didnt know that function. every single day i am learning something new in sNews


Adam
Logged

henrich

  • Sr. Member
  • ****
  • Karma: 23
  • Posts: 381
  • Passion for quality and excellence!
    • My personal blog and portofolio
Re: Read more toggle div for long article
« Reply #3 on: December 23, 2007, 08:37:20 pm »

@Joost, you mean that everything between [break] text [/break] will be followed by the "Read more ..." link ?
Logged
By(e) Henrich :)
------------------------------
IT related blog

Joost

  • Guest
Re: Read more toggle div for long article
« Reply #4 on: December 23, 2007, 09:27:39 pm »

@Joost, you mean that everything between [break] text [/break] will be followed by the "Read more ..." link ?

Here is how to insert text in the sNews editor:

Quote from:  sNews editor
Here is an intro text [break] and the rest will follow

On the frontpage, or in a category this is displayed:

Here is an intro text Read more ...

If you follow the link, the full article is displayed. Like this:

Here is an intro text and the rest will follow

So [break] is only inserted once. You can use the special "break" button or (when using a different editor) you can use the keyboard.


Logged

henrich

  • Sr. Member
  • ****
  • Karma: 23
  • Posts: 381
  • Passion for quality and excellence!
    • My personal blog and portofolio
Re: Read more toggle div for long article
« Reply #5 on: December 24, 2007, 09:39:58 pm »

Thank you Joost, now i understood. I have tried also and it works. Thanks  ;D
Logged
By(e) Henrich :)
------------------------------
IT related blog