Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: About paging for sNews  (Read 401 times)

lebohang

  • Newbie
  • *
  • Karma: 1
  • Posts: 14
About paging for sNews
« on: August 02, 2012, 06:15:23 PM »

How to start the second content, pagination...?

Example: There are five content...

a ( not the first record )
b ( <= start here! )
c
d
e


Very very thanks...
Logged

lebohang

  • Newbie
  • *
  • Karma: 1
  • Posts: 14
Re: About paging for sNews
« Reply #1 on: August 04, 2012, 08:45:14 PM »

how should?  ???
Logged

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6019
  • Semantically Challenged
    • snews.ca
Re: About paging for sNews
« Reply #2 on: August 04, 2012, 10:57:41 PM »

I am not sure what you are looking for lebohang.
Why would you NOT want to have the first (latest) article showing... and only start showing articles from the second one down? Maybe all you need to do is un-publish the lead article.
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

lebohang

  • Newbie
  • *
  • Karma: 1
  • Posts: 14
Re: About paging for sNews
« Reply #3 on: August 05, 2012, 12:21:05 AM »

Quote
Maybe all you need to do is un-publish the lead article.

yes thats true mr. keyrocks.  ;)

how can i un-publish the lead article and start with second article...

« Last Edit: August 05, 2012, 01:22:35 AM by lebohang »
Logged

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6019
  • Semantically Challenged
    • snews.ca
Re: About paging for sNews
« Reply #4 on: August 05, 2012, 05:14:19 PM »

Quote
Maybe all you need to do is un-publish the lead article.
yes thats true mr. keyrocks.  ;)
how can i un-publish the lead article and start with second article...

When you are logged in as admin, view the home page.
Every article on the home page now has "Edit" and "Hide" links at the end of the information line at the end of the article.
Click the "Hide" link and it gets replaced with a "(Show)" link.
Log out, view the home page, and the article is no longer visible.
To make it visible again, long in as admin, and click the "(Show)" link, which changes the link to "Hide" again.
When you log out and visit the home page, it will again be visible.
 :)
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

lebohang

  • Newbie
  • *
  • Karma: 1
  • Posts: 14
Re: About paging for sNews
« Reply #5 on: August 05, 2012, 07:24:55 PM »

ok...  ???

I want to make this process... (I am using sNews 1.7.1)


It should look like the top news headlines:
headline style like this sNews 1.6...
Logged

Fred K

  • Still trying to learn stuff
  • ULTIMATE member
  • ******
  • Karma: 130
  • Posts: 2728
    • Personal
Re: About paging for sNews
« Reply #6 on: August 05, 2012, 07:58:11 PM »

Take a look at this mod: http://snewscms.com/forum/index.php/topic,8003.0.html
(Tip: the call myposts(0,5,0) = myposts(start,number-of-articles,cat-specific), so if you want to show just one article as the feature do for example myposts(0,1,0).) A visual example of how this works is my front page.
Logged