phpWebLog

find
story index | search | archive | submit story | downloads | stats | contact
Topics
  • General (912)
  • Announcements (20)
  • Development (518)
  • Mods & Hacks (33)


  • phpWebLog
  • Latest Release - 0.5.3 (BETA)
  • Latest Stable - 0.5.2
  • ChangeLog
  • TODO / Roadmap
  • BUGS

    CVS WEB

  • New XL fork 0.5.2
  • Unstable branch 0.5.3

  • For development discussions and for general support, join the phpWebLog mailing list

    phpWebLog needs active developers to help fix bugs. If you are interested, send me your SourceForge login information for CVS access.


    Last 5 Comments
  • Help, tried 3 different verisons... (pissed off)
  • Addon: top 5 of the month (Joe Skop)
  • Addon: top 5 of the month (Joe Skop)
  • Help, tried 3 different verisons... (Martin)
  • Addon: top 5 of the month (juling)


  • Previous and Next Story Links
    Posted under General by John Chong on Wednesday October 10 2001 @ 04:07PM EDT
    Does anyone know how I can get rid of the previous and next story that shows up on each story page?

    Example: on each story page you'll see something like this at the bottom of the story but just above the comments:



    I have just upgraded from 0.5.0 to 0.5.2 and don't really like the way this looks on my site.

    Thanks

    < Weblog | About polls and other interesting doubts >

    Greg writes on Friday October 12 2001 @ 09:42PM EDT: [ reply | parent ]
    In stories.php, look for (whether you can just comment this section out without affecting anything else, I don't know, but this is the stuff):
    /*== construct next/prev links ==*/ $blah = ""; if ($prev_page) { $blah .= "[<< " . _PREV . "] \n"; } for ($i = $s_pages; $i $i \n"; } elseif ($i != 1) { $blah .= " $i "; } elseif ($page != $num_pages) { $blah .= " 1 "; } } if ($page != $num_pages) { $blah .= "[" . _NEXT . " >>] \n"; }
    Post a Comment
    Name:
    Email:
    URL:
      Remember my information (uses cookies)
      I would rather be anonymous
    Comment:
    * Your email will not be made public.
    Save As:

    SourceForge
    SourceForge is providing us a mailing list , documentation and a CVS tree.

    SourceForge Logo


    PHP.net
  • PHP 4.3.4RC2 released
  • Monthly PHP Magazine in French launched!
  • ApacheCon 2003, the Global Hub for All Things Apache
  • PHP 4.3.4RC1 released
  • php|cruise: The World's First Ever PHP-only Cruise
  • PHP Usage Survey Results
  • PHP Manual CHM Edition - 12th build
  • International PHP Conference 2003 program online
  • Server Central Donates Server
  • European Open Source Development Threatened!

  • PHPBuilder
  • On User-Defined Timezones in PHP
  • Dreamweaver MX 2004
  • Using PEAR's HTML_Table Class
  • An introduction to the ADOdb class library, Part 2
  • An introduction to the ADOdb class library for PHP
  • Manually Expiring Web Pages
  • Regression Testing With JMeter
  • Advanced Image Editing Under the GD Library
  • The Benefits of Using Objects with Databases
  • Interfacing with COM objects under Windows

  • phpWebLog: A PHP News and Content Management System
    Copyright (C) 2000-2002, Jason Hines / Eye Integrated Communications