• Misbehaving Page Dates (FP2002)

    Home » Forums » Developers, developers, developers » Web design and development » Misbehaving Page Dates (FP2002)

    Author
    Topic
    #375140

    i have a couple of hosted sites on Win2000 Server. On each page, i use the FP autoupdated date component set to ‘Date this page was last edited’ in the header.

    The Problem: ALMOST every page shows the date of the last edited page. EXCEPT, that my What’s New page, generated with the Page in Category extension, shows the CORRECT date on each page.

    What is going on, and what can i do to correct it? The host hasnt seen this before, and wonders if it is FP or something else…

    Viewing 0 reply threads
    Author
    Replies
    • #609224

      Is it the one that starts with this inside a comment tag?

        webbot bot="Timestamp" S-Type="REGENERATED" S-Format="%A, %B %d, %Y" startspan

        [/list]I thought it was supposed to show the current date, but it never did. I just glanced in the KB, and it says:
        [indent]


        WebBot Timestamp Component
        The WebBot Timestamp component inserts a date and time stamp that corresponds to the last time the page was edited or automatically updated.
        FP: Overview of WebBot Components (Q143090)


        [/indent]Ooops. Well, anyway, in my ASP pages, I substituted this:

        Response.Write FormatDateTime(Date, 1)

        [/list]in the appropriate place. Although I haven’t coded it, I presume you could accomplish the same result in a regular HTML page with a bit of inline JavaScript.

        Now, unlike me, you want to show the last edited date. If I am correct in my understanding, change your S-Type from “REGENERATED” to “EDITED”.

      • #609251

        The S-type is currently set to EDITED, so that’s not it.

        ASP is an item on my “things to learn” list.

        • #609375

          I guess I have to confess I don’t know what the Page in Category thing is, so I can’t really say whether there might be a serious incompatibility between these two ‘bots. But that’s what I suspect.

          • #609456

            The Table of Contents/Based on Page Category is a way to publish a What’s new page, by specifying a descending sorting on page date. E.g., What’s New.
            However, that bot, and the date bot are of the FP02 extensions, used in many places, so i would expect that if there were some kind of interference, we would hear more about ‘problems’. shrug

    Viewing 0 reply threads
    Reply To: Reply #609224 in Misbehaving Page Dates (FP2002)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel