Re: Newbie seeks advice, please

From: Take a Walk (spam_at_hotmail.com)
Date: 03/02/04

  • Next message: Christian Patterer: "Re: PHP SMTP Configuration (Lotus Domino)"
    Date: Tue, 02 Mar 2004 13:49:45 +0000
    
    

    On Tue, 02 Mar 2004 04:27:35 +0000, Mike Brown wrote:

    > Hi all. I know very little about designing web pages, so please be patient if
    > these sound like stupid questions.
    >
    > Situation:
    > My wife works for a church and they have a rather simple web site done by one of
    > the congregation. Trouble is, this guy is always out of town or tied up. It's
    > almost impossible to get him to update the site. A friend who has done some web
    > sites says we should re-do the whole site in PHP-Nuke so that my wife will be
    > able to update the site herself.
    >
    The 'wife creates a word html document' sounds like a job for a custom
    module which just calls the relevant html page and displays it in the
    centre frame.
    In modules directory create a directory called 'Bulletin', then create a
    file called index.php inside it including the following code:

    CHANGE THE LINE halfway down to reflect your server address and the path
    to the Bulletin file ie something like
    http://www.church.co.uk/htmlbulletins/aprilbulletin.html
    to suit your needs.(Also the word wrap in this post will be wrong, so each
    line should be strung together so that each ends with a ';'

    Now in admin section, make the module 'bulletin' active and visible and
    the bulletin should appear in the main frame of phpNuke.

    HTH

    CODE BELOW:

    <?php

    if (!eregi("modules.php", $PHP_SELF)) {
            die ("You can't access this file directly...");
    }
    require_once("mainfile.php");
    $module_name = basename(dirname(__FILE__));
    $pagetitle = "- ".Bulletin."";
    function Chat() {
        global $user, $cookie, $prefix, $dbi, $user_prefix, $module_name;
        include ("header.php");
        OpenTable();
        echo "<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" bgcolor=\"#000000\">\n"
    ."<tr>\n"
    ."<td bgcolor=\"#000000\" align=\"center\" valign=\"top\"><iframe
    src=\"http://www.YOURSITE.co.uk/pathto/bulletin.html.php\"
            border=\"0\" frameborder=\"0\" height=\"2000\" width=\"100%\"
            scrolling=\"no\"></iframe></td>\n"

            ."</tr></table>";

        CloseTable();

        include ('footer.php');

    }

    Chat()

    ?>


  • Next message: Christian Patterer: "Re: PHP SMTP Configuration (Lotus Domino)"

    Relevant Pages

    • Re: A critique of the BBC aquatic ape comedy show
      ... >> Jim writes, on the first page of his web site... ... >> wife, Nancy Tanner, with her research on human origins, matriliny, ... drool, drool, is more like their level but probably too high, again. ... Moore's web site is so bad, ...
      (sci.anthropology.paleo)
    • Re: Fun With AT&T
      ... a database lookup to make sure you are in the service area. ... OBVIOUSLY I am in the service area since I have had service here ... I am trying to order new telephone service via your web site. ... especially since we know Scott's wife still wants landline ...
      (misc.consumers)
    • Re: OT: Any fun stories getting a WII? Im still trying.
      ... Best buy's web site. ... Christmas morning two kids came to my house with fresh baked cookies ... and big thank yous for the wife and I. ...
      (rec.games.pinball)
    • [NT] Buffer Overflow in AnalogX SimpleServer:Shout
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... linefeeds causes a write access violation in the application. ... repeated access violation message boxes to appear on the affected system ... The information in this bulletin is provided "AS IS" without warranty of any kind. ...
      (Securiteam)
    • Re: Missing document - even though it was saved... Need help
      ... If your wife didn't manually save the ... wrong with the e-mailing process. ... Word MVP web site http://word.mvps.org ... Andre wrote: ...
      (microsoft.public.word.docmanagement)