Author Topic: wxnewpage.php  (Read 480 times)

0 Members and 1 Guest are viewing this topic.

Offline LeFuet

  • Member
  • *
  • Posts: 18
wxnewpage.php
« on: June 20, 2018, 07:23:55 AM »
Hello weather friends, after a long time I have rebuilt my weather page, now I have the problem that the guestbook is not opened in the template but on a new page! Who can help me?

Thank you in advance

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: wxnewpage.php
« Reply #1 on: June 20, 2018, 07:29:27 AM »
Hello weather friends, after a long time I have rebuilt my weather page, now I have the problem that the guestbook is not opened in the template but on a new page! Who can help me?

Thank you in advance
As weather friends seem not to be clairvoyant  :-( , it would certainly be easier to answer your question, if there was a link to your website so that one can take a look.

Wim

Offline LeFuet

  • Member
  • *
  • Posts: 18
Re: wxnewpage.php
« Reply #2 on: June 20, 2018, 07:45:44 AM »
Excuse me, I forgot in the heat of the fight: wetter.euro-picture.de

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: wxnewpage.php
« Reply #3 on: June 20, 2018, 07:58:59 AM »
    Hello weather friends, after a long time I have rebuilt my weather page, now I have the problem that the guestbook is not opened in the template but on a new page! Who can help me?

    Thank you in advance
    If you want to have a page in the menu AND to have that page behave like your other pages you should make a page with the same structure as your other pages
    • make a copy of wxnewpage.php and give it a meaningful name, example guestbook.php
    • Follow the comments in that new guestbook.php script to put the code you want to add where it belongs. You can copy the code from guestbook/index.php
    • Test the page by typing http://wetter.euro-picture.de/guestbook.php  in your browser
    • and when all is OK, it is time to add ihe page to the menu
    What you now did was add an 'external' link (a page outside the template you are using) to the menu.
    Exactly the same as when you typed  http://wetter.euro-picture.de/guestbook/index.php in your browser.

    Wim
    [/list]
    « Last Edit: June 20, 2018, 08:02:42 AM by wvdkuil »

    Offline LeFuet

    • Member
    • *
    • Posts: 18
    Re: wxnewpage.php
    « Reply #4 on: June 20, 2018, 08:31:54 AM »
    Somehow I do not understand it

    Sorry

    Offline wvdkuil

    • Wim van der kuil
    • Forecaster
    • *****
    • Posts: 1986
      • My PWS at Leuven Belgium Europe
    Re: wxnewpage.php
    « Reply #5 on: June 20, 2018, 08:50:12 AM »
    Somehow I do not understand it

    Sorry
    Check this page of the Saratoga template
    http://saratoga-weather.org/wxtemplates/plugins.php at Adding a new page to your site

    Probably better English as mine,
    Wim

    Offline LeFuet

    • Member
    • *
    • Posts: 18
    Re: wxnewpage.php
    « Reply #6 on: June 20, 2018, 06:39:22 PM »
    Thank you for your help! Have it now solved with frames

    Recards
    Harry