display external php guestbook on the same page

Post Reply
LeShark1205
Observer
Observer
Posts: 27
Joined: Fri Nov 23, 2018 12:24 pm
Station model: WH-3080
Software: Cumulus

display external php guestbook on the same page

Post by LeShark1205 » Fri Dec 07, 2018 4:40 pm

Hello community, I have deleted my previous post because they have solved almost by themselves and some try themselves.
Now have another common problem and I hope that I can be helped, I downloaded the https://www.php-guestbook.de/ and installed, as far as it works, only if I have a link to the menu Insert the guestbook opens in a new window, my question: "Is there a way and how it opens in the same window as the template?

Hope I expressed myself understandable! Gladly available for counter questions;)

greeting
Harry

blaineca
Observer
Observer
Posts: 11
Joined: Mon Oct 01, 2018 4:54 am
Location: Calgary, Alberta
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: display external php guestbook on the same page

Post by blaineca » Sat Dec 08, 2018 5:20 pm

I'm not really sure what you mean by "same window", but there is a guestbook plugin for MT
Image

LeShark1205
Observer
Observer
Posts: 27
Joined: Fri Nov 23, 2018 12:24 pm
Station model: WH-3080
Software: Cumulus

Re: display external php guestbook on the same page

Post by LeShark1205 » Sun Dec 09, 2018 11:42 am

blaineca wrote: Sat Dec 08, 2018 5:20 pm I'm not really sure what you mean by "same window", but there is a guestbook plugin for MT
Since I personally do not like the plugin, I would like to include another guestbook, I've added a photo montage that illustrates what I want to illustrate
montage.png
montage.png (405.52 KiB) Viewed 7866 times

blaineca
Observer
Observer
Posts: 11
Joined: Mon Oct 01, 2018 4:54 am
Location: Calgary, Alberta
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: display external php guestbook on the same page

Post by blaineca » Mon Dec 10, 2018 1:11 am

You can make a custom page to show it.
Refer to the meteotemplate wiki under "Customization". This section might help you get started
Image

LeShark1205
Observer
Observer
Posts: 27
Joined: Fri Nov 23, 2018 12:24 pm
Station model: WH-3080
Software: Cumulus

Re: display external php guestbook on the same page

Post by LeShark1205 » Tue Dec 11, 2018 8:55 am

blaineca wrote: Mon Dec 10, 2018 1:11 am You can make a custom page to show it.
Refer to the meteotemplate wiki under "Customization". This section might help you get started
Does not work, unfortunately, my guestbook is always opened in a new window and not in the template under the menu http://wetter-hiltenfingen.euro-picture.de see menu "test", "guestbook"!

Best regards

BlueBear
Forecaster
Forecaster
Posts: 101
Joined: Sun Aug 20, 2017 1:04 pm
Location: Sanford, Manitoba, Canada
Station model: Davis VP2
Software: WeeWx
Contact:

Re: display external php guestbook on the same page

Post by BlueBear » Tue Dec 11, 2018 10:40 pm

Is this what you are trying to do??

http://www.sanfordweather.com/meteo/cus ... /gbook.php

LeShark1205
Observer
Observer
Posts: 27
Joined: Fri Nov 23, 2018 12:24 pm
Station model: WH-3080
Software: Cumulus

Re: display external php guestbook on the same page

Post by LeShark1205 » Wed Dec 12, 2018 8:27 am

BlueBear wrote: Tue Dec 11, 2018 10:40 pm Is this what you are trying to do??

http://www.sanfordweather.com/meteo/cus ... /gbook.php
Thank you BlueBear, as far as it goes, only in the menu your menu is displayed and not mine, I forgot something because or you have to add something in the "gbook.php"?
And how do I integrate it into the menu?
Thank you in advance

greeting
Harry
http://wetter-hiltenfingen.euro-picture ... /gbook.php

LeShark1205
Observer
Observer
Posts: 27
Joined: Fri Nov 23, 2018 12:24 pm
Station model: WH-3080
Software: Cumulus

Re: display external php guestbook on the same page

Post by LeShark1205 » Wed Dec 12, 2018 12:36 pm

LeShark1205 wrote: Wed Dec 12, 2018 8:27 am
BlueBear wrote: Tue Dec 11, 2018 10:40 pm Is this what you are trying to do??

http://www.sanfordweather.com/meteo/cus ... /gbook.php
Thank you BlueBear, as far as it goes, but is a lot of work to rewrite the menu so that it fits with the original menu!

And how do I implement it in the menu?
thank you in advance

greeting
Harry

http://wetter-hiltenfingen.euro-picture ... /gbook.php

BlueBear
Forecaster
Forecaster
Posts: 101
Joined: Sun Aug 20, 2017 1:04 pm
Location: Sanford, Manitoba, Canada
Station model: Davis VP2
Software: WeeWx
Contact:

Re: display external php guestbook on the same page

Post by BlueBear » Wed Dec 12, 2018 1:57 pm

Looks like you figured it out!

LeShark1205
Observer
Observer
Posts: 27
Joined: Fri Nov 23, 2018 12:24 pm
Station model: WH-3080
Software: Cumulus

Re: display external php guestbook on the same page

Post by LeShark1205 » Wed Dec 12, 2018 2:02 pm

BlueBear wrote: Wed Dec 12, 2018 1:57 pm Looks like you figured it out!
Thanks again, but I can not figure out how to integrate it into my standard menu

BlueBear
Forecaster
Forecaster
Posts: 101
Joined: Sun Aug 20, 2017 1:04 pm
Location: Sanford, Manitoba, Canada
Station model: Davis VP2
Software: WeeWx
Contact:

Re: display external php guestbook on the same page

Post by BlueBear » Wed Dec 12, 2018 2:51 pm

Go to your Admin area and look for Menu Setup

Then in the area where you want it to appear add something like this:

Test Guestbook|http://www.sanfordweather.com/meteo/cus ... ook.php|fa fa-book
LeShark1205 wrote: Wed Dec 12, 2018 2:02 pm
BlueBear wrote: Wed Dec 12, 2018 1:57 pm Looks like you figured it out!
Thanks again, but I can not figure out how to integrate it into my standard menu

LeShark1205
Observer
Observer
Posts: 27
Joined: Fri Nov 23, 2018 12:24 pm
Station model: WH-3080
Software: Cumulus

Re: display external php guestbook on the same page

Post by LeShark1205 » Wed Dec 12, 2018 4:26 pm

BlueBear wrote: Wed Dec 12, 2018 2:51 pm Go to your Admin area and look for Menu Setup

Then in the area where you want it to appear add something like this:

Test Guestbook|http://www.sanfordweather.com/meteo/cus ... ook.php|fa fa-book
LeShark1205 wrote: Wed Dec 12, 2018 2:02 pm
BlueBear wrote: Wed Dec 12, 2018 1:57 pm Looks like you figured it out!
Thanks again, but I can not figure out how to integrate it into my standard menu
Thank you !!!!
It works...
Now only has to adapt the file ...

Thank you very much

greeting
Harry

LeShark1205
Observer
Observer
Posts: 27
Joined: Fri Nov 23, 2018 12:24 pm
Station model: WH-3080
Software: Cumulus

Re: display external php guestbook on the same page

Post by LeShark1205 » Fri Dec 14, 2018 12:11 pm

BlueBear wrote: Wed Dec 12, 2018 1:57 pm Looks like you figured it out!
Please do not misunderstand, but can not you take the header and footer with "include" from the actual template? Then you would save the complete rewrite!

Harry

BlueBear
Forecaster
Forecaster
Posts: 101
Joined: Sun Aug 20, 2017 1:04 pm
Location: Sanford, Manitoba, Canada
Station model: Davis VP2
Software: WeeWx
Contact:

Re: display external php guestbook on the same page

Post by BlueBear » Fri Dec 14, 2018 2:00 pm

I don't think so but then I'm not a programer, just a hacker!
LeShark1205 wrote: Fri Dec 14, 2018 12:11 pm
BlueBear wrote: Wed Dec 12, 2018 1:57 pm Looks like you figured it out!
Please do not misunderstand, but can not you take the header and footer with "include" from the actual template? Then you would save the complete rewrite!

Harry

LeShark1205
Observer
Observer
Posts: 27
Joined: Fri Nov 23, 2018 12:24 pm
Station model: WH-3080
Software: Cumulus

Re: display external php guestbook on the same page

Post by LeShark1205 » Fri Dec 14, 2018 2:29 pm

I thought you could combine one or the other with the other, because it is a lot of work to fit the gbook menu to the eigendliche menu ...

----

have already seen that you have it on it, have me installed your countdown counter on my HP;)

Post Reply