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
  • Removing Topics Block (eek)
  • Setup Problems (Aaron)
  • phpweblog 0.5.2 (and maybe 0.5.3) security problems (JustTesting)
  • Meaning of Blog (JKilborn)
  • Meaning of Blog (JKilborn)


  • Controlling amount of story shown on main page?
    Posted under General by mrbill on Saturday August 19 2000 @ 09:39PM EDT
    I'd like to be able to control the amount of a story shown
    on a main page - or to just have a story, and not a
    summary AND a story.

    < Bug in header row of blocks (width calculation) | Move formcheck.js outside of the inc.d directory >

    jason writes on Monday August 21 2000 @ 12:24PM EDT: [ reply | parent ]
    The best idea I can think of would be to have two textarea fields on the contribute news page where the contributor is allowed to post a summary and a story. If no summary is entered, it uses the entire story on the front page.

    One other idea would be to have a boolean in the config which allows you to enable/disable summaries all together. Then all contributed stories just get posted on the front page, and you click "more" to read the comments.

    I don't really know the best way to handle this since everyone has different needs.
    philip olson writes on Monday August 21 2000 @ 02:27PM EDT: [ reply | parent ]
    I prefer the first idea as sometimes one wants a summary, sometimes they do not. Also, having the dual textarea boxes allows one to have the summary identical to the first part of the story OR actually make it a summary. IMHO, this is the best way to accomodate everyone and is done as per story. Nice.

    So many little variables here. Let's say one doesn't want to have the summary post on the stories page, just the story itself. OR let's say someone uses the "summary" box as the beginning of the story or ... So many options. This is a good example of how the XML template system comes to play, we can customize it ourselves. Like for the stories.php , I use summary as a summary :

    echo "$summary

    $story";

    Or if it's the beginning of a story :

    echo "$summary $story";

    This is simular to the boolean route but allows more customizability as in my template I might do this :

    echo "$summary

    $story";

    Hmm. .

    Philip

    Anonymous writes on Tuesday August 22 2000 @ 01:52PM EDT: [ reply | parent ]
    Have 2 boxes - summary and story. If the story is empty, then just display the summary.

    If the story isnt empty, then display the summary with a link saying "Read more" to read the summary and story.
    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
  • Call for Speakers : PHP Qu&eacute;bec 2004
  • New function list auto completion
  • PHP 4.3.4 released!
  • PHP 5.0.0 Beta 2 released
  • Forum PHP in Paris, November 26 & 27th
  • Monthly PHP Magazine in French launched!
  • ApacheCon 2003, the Global Hub for All Things Apache
  • php|cruise: The World's First Ever PHP-only Cruise
  • PHP Usage Survey Results
  • PHP Manual CHM Edition - 12th build

  • 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