Hello
im new here.
I install Piwigo and the Template Pure_clear_blue. Also i habe installed Plugin Advanced Menu Manager. Now i create a New Link in my Menu (privat.php). The Page is empty, no header, nothing.....
New i need a HTML/PHP Code for the site, so that i see the navigation bar and the head oft the page, like the sites in the template Pure_clear_blue.
Hope you can help me. THX
Regard
Hello
Advanced Menu Manager only manage the menu; so you added a link, yes, but not the page!
Additional page might be what you want
Offline
I will Test ist. I ve a Page in the Root of my Website -> Test.php
The Test.php is has only a Table. If i Click in the Menu in the link that i created with
Advanced Menu Manager, the Website Open a New Site without Header and Navigation Bar.
I think i Need Special php code in the Site Test.php, but i dont know which code i Must use.
Background: i ve a weatherstation at home and the weatherstation Upload every 5 Minutes a Page weather_today.php over FTP to the Webpage. I edit the Page weather_today.php on my local PC at Home.
And now i will integreated the Page weather_today.php in the piwigo Site...
You want to add a php file as a page inside Piwigo? That's not as obvious as you first thought. That's not how PHP works
The best would be to put your values inside the database and not in file, and then create a custom Piwigo plugin to display them; but according to you previous posts , the easy way -an ifram inside a aditional page- could be better
Offline
Very difficult to put all the values of the weatherstation in a Database.
The Station created the Files (php or html) and Convert Tags in the weather-templates
with the right weather values e.g. <--TempToday--> Convert to 20.1 C
Have you a example for the ifram ?
Regard
iframe: that's a standard html balise
Offline
Ah a Weather station nut.
Right I assume your using Cumulus by Sandysoft. If I was you I would set the uploads from the weather station to a subfolder in your website. For example mydomain.com/weather/ so its easier to to intergrate.
Then I would link to it then edit the html/css of the files on your computer to make it look like the piwigo theme. Then when Cumulus uploads it to your website it looks correct.
Offline
i use meteohub on my weatherstaion...
Then I would link to it then edit the html/css of the files on your computer to make it look like the piwigo theme. Then when Cumulus uploads it to your website it looks correct.
Thats the Problem. I ve try it, but the weather-page dont work
problem : ive no navigation bar and no header....because i dont know the correct css code for the weather-page. thats the reason why i open this thread. i need a code that i can integreated in my page.
Offline
Well your better off asking on the meteohub forum to find out how you need to edit the template files.
You can in theory connect to the piwigo database and access the piwigo menu and theme. But that is a lot of work for a newbie to php/html etc. So I would just cut and paste the bits of html from your gallery and put it around your template for the weather station.
You could email me the .php file that metohub uses and then tell me where your gallery is and if I get a chance I can have a go at it.
Offline
And what about use Additional page and an iframe? That's simple
Offline
I for some reason I dislike IFRAME...maybe because a site I worked on once had an iframes virus or because iframes remind me of FRAMES. I prefer php includes.
Looking at the meteohub wiki it looks like people pull data in using IFRAME to import an image from a cgi output. All the data is in XML format so can be pulled in via some baisc html. But meteohub looks like it written for geeks by geeks so might be quite hard to just get it to work.
Offline
Ho yeah I do HATE iframes but here we have a complete newbie so it's viable
Offline
the problem for me is not meteohub.
meteohub convert custom html or php file. meteohub have not own template, it convert a page from *.html to *.html or *.php to *.php.
what i need: a empty page (*.html or *.php). not more. on this emtpy page i will added some meteohub-keywords and meteohub converts these keywords when uploading to the server in the values of the weather station.
perhaps anyone can give me a *.html page (empty), so that i can upload this page to the webserver and if i click on i link that i created with Advanced Menu Manager, i get a page which was integreated in the design of piwigo
Offline
here is the problem page
look at the first entry under WETTERSTATION -> HEUTE
If you click it, you will get a ugly page, not with the design that i want
http://www.schatthaus-wetter.de/
Just view html souce copy that into a text editor such as notepad or notepad++ and go to line 275 and start adding keywords.
Offline