phpWebLog

find
story index | search | archive | submit story | downloads | stats | contact
Topics
  • General (915)
  • Announcements (20)
  • Development (521)
  • 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
  • Setup Problems (Aaron)
  • phpweblog 0.5.2 (and maybe 0.5.3) security problems (JustTesting)
  • Meaning of Blog (JKilborn)
  • Meaning of Blog (JKilborn)
  • phpweblog 0.5.2 (and maybe 0.5.3) security problems (Anonymous)


  • News Posting
    Posted under General by Sire on Friday May 11 2001 @ 08:07AM EDT
    I'd like to show a specific Topics stories on the front stories.php page, when a certain topic isn't selected.

    I do not want posts to any other topics displayed by default. Is there somewhere this can be selected ? Thanks.

    < How do I include php in my tmpl | Removing comment count in Older Stories >

    ADoggrell writes on Friday May 11 2001 @ 03:22PM EDT: [ reply | parent ]
    Add an else at the end of the ifs in the /*== get story data ==*/ section in stories.php
    (beginning around line 73)

    I did this to exclude a couple topics, like this on line 82:
    else { $sql .=" Topic '7' AND Topic '9' AND "; }
    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

    PHPBuilder
  • Zend Studio 3.0
  • GIS Mapping with PHP
  • 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

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