phpWebLog - web news management with adolescent sexist humor
find
news index | search | archive | contribute news | links | polls | downloads | faq | buttons | contact
Topics
  • General (481)
  • Announcements (14)
  • Development (247)

  • Download phpWebLog
  • Latest release 0.5.0
  • Latest unstable (ChangeLog)
  • milby7.com is patching and hosting the Latest unstable with bug fixes


    Future phpWebLog
    As of the 0.5.0 release, development has been handed over to Mocha for a while. There are very nice things in store for this project. His development site is usually up if you want to peek. Here are the latest notes:

  • ChangeLog
  • ToDo
  • Wish List

  • SourceForge
    SourceForge is providing us a mailing list and documentation.

    SourceForge Logo


    Older Stories
  • Static page in 0.4.3 (1)
  • Who's On Line (0)
  • Wacky 1's All Over The Place (2)
  • Addon (7)
  • good hosting for phpweblog (7)
  • admin page woes (5)
  • tag in blocks.inc.php causes misalignment
  • (7)
  • PhpWebLog reviews (3)
  • Free webservers (4)
  • any progress on printer friendly & email friend? (9)

  • Another question (modify display of older stories)
    Posted under Development by A .Eriksson on Sunday March 25 2001 @ 06:04AM EST
    I would like to modify the display of older stories so that the acutal story headlines are not shown until the user presses a button (or something like that). Any suggestions on how to accomplish this? Also, I would like to limit the characters displayed in the older stories headlines.



    jason writes on Sunday March 25 2001 @ 11:53PM EST: [ reply | parent ]
    1. include/blocks.inc.php has the switch on all the block creations.

    line 52: comment out this stanza:
    if ($CONF["Older"]>0 && $aln==$align) {
    line 60: to here:
    }

    line 234: modify this stanza to your liking:
    if ($CONF["Older"]>0 && $older_nrows>0) {
    line 247: to here:
    }

    2: line 244: replace:
    . stripslashes($A["Heading"]) .
    with:
    . substr(stripslashes($A["Heading"]),0,35) .

    35 being the number of chars to limit by.

    This is untested and thunk up while tipsy, so make a backup first.

    Post a Comment
    Name:
    Email:
    URL
      Remember my information (uses cookies)
      I would rather be anonymous
    Comment:

    * Allowed HTML tags: <B> <I> <U> <Q> <LIST> <*>
    * Your email will not be made public.

    Copyleft © 2000 phpWebLog
    All trademarks and copyrights on this page are owned by their respective owners.

    Powered by phpWebLog