story index | search | archive | submit story | downloads | stats | contact

phpWebLog

Topics
  • General (947)
  • Announcements (20)
  • Development (524)
  • Mods & Hacks (33)


  • phpWebLog
  • Latest Unstable - 0.5.3
  • Latest Stable - 0.5.2
  • ChangeLog
  • TODO / Roadmap
  • BUGS

    CVS WEB

  • New XL fork 0.5.2
  • Unstable branch 0.5.3


  • Last 5 Comments
  • Permissions are Invalid (debt managment)
  • Revaluating Addons and Addon Managment (dvd rentals)
  • no topics bug (financing owner)
  • themes / templates (credit federal pentagon union)
  • Button Titles (affordable health insurance)


  • phpWebLog Addons
    See Romarin.org for phpWebLog addons and more support.

    Can't remove [ ] underneath views: 176
    Development By Sonny Kong (---.proxy.aol.com) on Monday June 18 2001 @ 03:16AM EDT [ Development ]
    i customized the summary portion of layout.inc so that i would have all that messy stuff underneath my summary. instead of making it say read more -- comments (1) or whatever, i just made it say read more, and took out all the "last modified on blah blah blah". underneath was a link to the topic which looked like:

    [Nintendo]

    I edited that out as well, but for some reason, the [] remains... i've tried everything

    Here is the coding i used:

    function F_drawSummary($A,$whe="") {
    global $G_URL,$CONF,$G_PATH,$LAYOUT;
    $heading = sprintf("%sn",F_story($A["Rid"]),stripslashes($A["Heading"]));
    $author = F_author($A);
    $date = F_dateFormat($A["Birthstamp"]);

    $content = F_parseContent($A["Summary"],$CONF["ParseLevel"]);
    if ($CONF["SummaryLength"]>0 && $A["Summary"] != $A["Content"]) {
    $content .= sprintf("read more",$G_URL,$A["Rid"]);
    }
    $templatefile = "/G_PATH/backend/template/index.html" . $LAYOUT["TMPL_Summary"] . "/summary.tmpl";
    $imagedir = "/G_URL/backend/template/index.html" . $LAYOUT["TMPL_Summary"] . "/images";

    $templ_arr = @file($templatefile);
    $template = @implode("", $templ_arr);
    $template = addslashes($template);
    $template = "$tmp="".$template."";";
    eval($template);
    print "nn";
    print $tmp; /* eval("?>" . $tmp); */
    print "nn";
    }



    You can see what i mean by going to http://www.cubewire.com/

    Somebody please respond and help me! I will be forever thankful...



    Related Link

    < Can't remove [ ] underneath | New addon >

    No user comments.

    Post a Comment

    Name:
    Email:
    URL:
      Remember my information (uses cookies)
    Comment:
    * Your email will not be made public.
    Save As:

    PHP.net
  • MySQL, RedHat and other partners started a new campaign against software patents
  • Zend's PHP 5 Coding Contest winners announced
  • PHP before Canadian government, in Ottawa, October 19th and 20th, 2004
  • Forum PHP in Paris, November 18 &amp; 19, 2004
  • PHP 5.0.2 released!
  • PHP 4.3.9 released!
  • MySQL ComCon Europe
  • OSCOM.4 with Apache Track
  • New Installation Instructions
  • PHP 5.0.1 Released!

  • PHPBuilder
  • Eclipse for the PHP Developer
  • Enjoy the Openness of MySQL
  • Getting Started with PHP-GTK: Part 1
  • SQLite Support for PHP4
  • Creating a PHP-Based Content Management System
  • Protecting MySQL Sessions With SSH Tunnel (Port Forwarding)
  • Logging into a RETS Server
  • Value Objects and Data Access Objects with PHP 4.2.x
  • Creating a PHP Script for Web Mail Posting and Notification
  • Remote Scripting with Javascript, IFrames and PHP

  • Bordom
  • kerry won
  • Voting machine error gives Bush 3,893 extra votes in Ohio
  • Free Sex font
  • Horst Nogajski :: Bild InForm :: Portfolio
  • AudiWorld Forums: Pictures of Bomb here at Stevens..
  • Sorry Everybody -- How Can We Make It Up To You?
  • CNN.com - 'Come bite me!' - Nov 4, 2004
  • Gang Bloodhound A Lap Dance is So Much Better When the Stripper is Crying lyrics
  • The Onion | National Museum Of The Middle Class Opens In Schaumburg, IL
  • Refused ticket, so man runs naked into moving jet's wheel well - NOV 5, 2004


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