IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Adding Second Page Of Cutenews To My Site

, How do I do this?


Misanthrope
no avatar
Super Member
*********
Group: [HOSTED]
Posts: 363
Joined: 11-January 07
From: Journey to Gnosis
Member No.: 36,930
myCENT:94.21



Post #1 post Mar 5 2007, 10:33 PM
I'm using Cutenews on my website. I forgot to mention in my last post on this topic that Cutenews is news system that can be integrated into an existing website and can function like a blog. Well, I recently integrated cutenews into an existing site, and I'm wondering how I get the older news to show up on another page.

For example, I'm using cutenews on my main index page. At the bottom of the page I'd like to put a link that says, "old news," and have that page open up into a new page of my older news/blogs that people can still post comments on. What would you suggest as the easiest way to do this? A point by point instruction would be most appreciated!

Thanks in advance for your help!
Go to the top of the page
+Quote Post
BuffaloHelp
no avatar
More than meets the eye
******************
Group: Admin
Posts: 3,762
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042
myCENT:49.00



Post #2 post Mar 5 2007, 10:51 PM
Try this code (available through News Integration Wizard)

CODE
<?PHP
$number=1;
include("/your_home_directory/cutenews_directory/show_news.php");
?>

The $number=1 means to show ONE entry per page. If you set it to 5, FIVE entries per page. This will automatically show pagination at the bottom of the entry. By default, the latest will show first unless you add $reverse=TRUE;

News Integration Wizard should guide you through how you want to present your page.

HINT: you can modify your template under NEWS PAGINATION to allow your desired phrase to navigate back and forth.

CODE
<p align="center">[prev-link]<< Previous[/prev-link] {pages} [next-link]Next >>[/next-link]</p>

Change << Previous and Next >> to however you want to phrase them.
Go to the top of the page
+Quote Post
Misanthrope
no avatar
Super Member
*********
Group: [HOSTED]
Posts: 363
Joined: 11-January 07
From: Journey to Gnosis
Member No.: 36,930
myCENT:94.21



Post #3 post Mar 8 2007, 01:20 AM
Sorry Buff, the $number include seems straight forward enought, but I'm still confused on "pagination." Could you write out what specific code I'm supposed to put into the News Pagination? Or, just whack me upside the head and maybe that will knock some sense into me.

What I'm trying to do is show 6 (or whatever) posts on the homepage, then have a link at the bottom of that page that will link to "old news." Seems easy enough to do but I'm not having any luck so far. Thanks again!

laugh.gif Forget the above the question, Buff. I finally figured it out. Guess it was so easy I overcomplicated it. Thanks again for recommending this excellent tool!

This post has been edited by Misanthrope: Mar 8 2007, 11:18 PM
Go to the top of the page
+Quote Post
iGuest
no avatar
Hail Caesar!
*********************
Group: Members
Posts: 5,876
Joined: 21-September 07
Member No.: 50,369



Post #4 post Nov 4 2009, 12:23 AM
How do I make a second page?
Adding Second Page Of Cutenews To My Site

For example I have my index(.)com page and I made a second page(with kompozer) which is a privacy policy page so I wanted to look like this... Www.Index(.)com/privacy policy...What exacly is the procesure to this...Do I make a folder inside the website folder title it private policy then add the private policy html inside that folder and name it index??...Help will be gladly appreciated... -question by Victor
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No new   56 ravi 49,430 1st October 2009 - 02:01 PM
Last post by: phpphp
No new 26 templest 31,358 15th June 2009 - 07:12 AM
Last post by: gannimel
No new   26 football123213 28,451 31st October 2009 - 02:05 PM
Last post by: TheDarkHacker
No New Posts   6 galexcd 1,264 27th June 2007 - 03:56 PM
Last post by: alex7h3pr0gr4m3r
No New Posts 7 A200 1,278 23rd October 2009 - 02:07 PM
Last post by: SpiderVV
No New Posts   9 KooL 11,675 2nd April 2009 - 11:04 AM
Last post by: varalu
No New Posts   6 MSTR 14,846 16th August 2004 - 12:13 PM
Last post by: psp-playstation
No New Posts 8 psp-playstation 17,050 23rd June 2009 - 08:30 PM
Last post by: iworld200
No New Posts   9 cwalden 2,211 30th December 2008 - 05:03 PM
Last post by: rpgsearcherz
No new   22 CodeName_88 31,776 9th August 2004 - 08:32 PM
Last post by: CodeName_88
No new   14 Angelexi 18,022 23rd October 2009 - 12:50 PM
Last post by: TheDarkHacker
No New Posts   13 Evil Guy 2,873 23rd June 2009 - 08:15 PM
Last post by: iworld200
No New Posts 11 EricDrinkard 21,682 21st November 2004 - 04:34 PM
Last post by: habbohotel
No New Posts   1 contactskn 28 3rd November 2009 - 08:12 PM
Last post by: Nameless_
No New Posts   9 djleli 19,443 6th February 2009 - 10:35 AM
Last post by: stopthewarm


 



RSS Open Discussion Time is now: 8th November 2009 - 11:08 AM

Web Hosting Powered by ComputingHost.com.