Results 1 to 4 of 4

Thread: Hide But Publish a Thank You Webpage

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    29

    Default Hide But Publish a Thank You Webpage

    Hello,

    I really like how NetObjects arranges a site but I am worried that I may have run into a problem. There is a website I wish to create in NetObjects, it is one with several webpages. I want them all connected using the Navigation buttons. So far nothing is different from the way NetObjects Fusion currently operates.

    One of the webpages will have a Donation button from Paypal. Clicking on the button will take the user to the Paypal website and once the transaction at the Paypal site successfully completes Paypal will send the browser to a non Paypal page where I want to thank them for their donation to dogs and cats.

    This is where the problem occurs. For obvious reasons I don’t want this page listed in the Navigation buttons or the overall Site View. Is there a way to disconnect a web page from the main site navigation but still have it published?

    I think the only way to do it is to create a second website that consisted of the single Thank You webpage placed in a subdirectory of the first website’s directory. Even though the URL change will be obvious to the user that looks at it, I want to keep the “look and feel” of the first website, can I copy the Navigation bars and the links at the bottom of the webpage and paste them into the second website (the one that consists only of the Thank you page).

    If this is possible can I prevent the user from going backwards using the browser’s Back button by giving the “Data no longer valid” message. The only way I can think of doing this is to use JavaScript to set the “Time Valid” to the current time when the webpage was created so when the webpage was left, it could not be re-entered. Would anyone know how to do this, to me it is just a vague, overall strategy.

    Or am I missing something easy and obvious like a “Do not list this page in Navigation or Links”?

    Is there any way to have NetObjects put a webpage in a specific subdirectory?

    Now that I think of it, I could just place the second website in the same directory but just change the name from index.html to something else and not have the change in the URL.

    Thank you for your time, thanks in advance for any help
    Philip

  2. #2
    Senior Member RayC's Avatar
    Join Date
    Apr 2010
    Location
    Toronto-ish, Canada
    Posts
    1,732

    Default

    You can select the page in your Site Structure view, and on the right side, check off "Exclude from Navigation". Note that you will not have the navigation bar on your "Thank You" page if you exclude it from navigation, so you would have to create a separate masterborderlayout for this page and manually add a navigation bar. Or simply place a single link to go back to the home page.

    Alternatively, you can create a "custom nav bar", and select only the pages you want on the nav bar. This is done in Page Design view. Insert the nav bar, select "custom" from the properties panel, and select which pages you want to have.
    Ray Cambpell
    Sounds In Sync
    Linked in

  3. #3
    Twayne
    Guest

    Default Re: Hide But Publish a Thank You Webpage

    In news:Philip.O.5nuspz@no-mx.forums.netobjects.com,
    Philip O <Philip.O.5nuspz@no-mx.forums.netobjects.com> typed:
    > Hello,
    >
    > I really like how NetObjects arranges a site but I am
    > worried that I may have run into a problem. There is a
    > website I wish to create in NetObjects, it is one with
    > several webpages. I want them all connected using the
    > Navigation buttons. So far nothing is different from the
    > way NetObjects Fusion currently operates.
    >
    > One of the webpages will have a Donation button from
    > Paypal. Clicking on the button will take the user to the
    > Paypal website and once the transaction at the Paypal
    > site successfully completes Paypal will send the browser
    > to a non Paypal page where I want to thank them for their
    > donation to dogs and cats.
    >


    ....

    >
    > If this is possible can I prevent the user from going
    > backwards using the browsers Back button by giving the
    > Data no longer valid message.


    That's not quite the same as not being able to navigate to it. I don't
    recall what Paypal does if you hit a back button on their site but you'\d
    have no control over that.
    If you mean using the back button on your own site, there are some ways
    to do it which involve conditional "kill()" or "die()" commands in your
    scripts. One way is with Sessiions, I suppose, but ... remember, EVERY page
    you visit is listed in your history, so it could be found there if you were
    compromised.
    On my own Thank You page, I have an OK button which takes them back to
    the index.
    Perhaps I'm not very clear on what you're looking for.

    The only way I can think
    > of doing this is to use JavaScript to set the Time
    > Valid to the current time when the webpage was created
    > so when the webpage was left, it could not be re-entered.
    > Would anyone know how to do this, to me it is just a
    > vague, overall strategy.


    Javascript could do it, but anyone feeling malicious, or a bot of some kind,
    likely won't have any javascript capability and some people just plain lock
    it out on purpose.

    >
    > Or am I missing something easy and obvious like a Do not
    > list this page in Navigation or Links?


    That would be the Site View where you check to leave it out of navigation
    links. Then it's up to you to provide a link or a user to get to that page.

    In Site View, you'll notice the Properties has a "don't show in Naviigation"
    line you can tick. It'll still upload, but won't be accessible in any o the
    naviational aids on your site except where you speciically link to it.

    >
    > Is there any way to have NetObjects put a webpage in a
    > specific subdirectory?


    Sure. It'll put the pages in whatever folder you tell it to - check the Site
    View Structure to see what's where.
    Another solution is to use something like Filezilla or ws-ftp or one of a
    gazillion other free ftp programs around. Personally I use Filezilla.
    And then I completely duplicate the web site structure on my hard disk. I
    just tell Filezilla to download everything under and including public_html,
    which is the root where I'm located.

    > Now that I think of it, I could just place the second
    > website in the same directory but just change the name
    > from index.html to something else and not have the change
    > in the URL.


    You don't say who your server is, but mine would allow that. But I think
    it's a lot of work for what you want to do and I have to wonder if it'd work
    anyway. Maybe that's just me.
    >
    > Thank you for your time, thanks in advance for any help
    > Philip


    Hope that helped a little anyway. Google for ways to disable the back
    button - you might get lucky - but beware the sites you choose - be sure
    thry're reputable.


    HTH,

    Twayne`



  4. #4
    Junior Member
    Join Date
    Dec 2012
    Posts
    29

    Default

    Thank you very much for the help. I am sorry to ask such a stupid question, I found it about an hour after I asked. I thought it would be where the website is displayed, I lucked out and had the Page View on when I went back to site navigation. Last time I did this stuff was about 10 years ago and after a few days on the Internet trying to find out how things are done now, I realized how far behind the times I am.

    Thakn you again
    Philip

  5. #5
    Junior Member
    Join Date
    Dec 2012
    Posts
    29

    Default

    Thank you very much for the help. I am sorry to ask such stupid questions. Last time I did this stuff was about 10 years ago and after a few days on the Internet trying to find out how things are done now, I realized how far behind the times I am.

    I feel bad that you wrote so much and took so much time t do it, thank you, it was very helpful.

    Thank you again
    Philip

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •