Page 1 of 1

Php in HTML-Nugget?

Posted: Sat Mar 17, 2007 6:36 pm
by lamy
Hi!

Is it possible to use php in the html-nugget?

If not, which chances do I have to include a php file?


Thank you in advance!

Lamy

Posted: Sun Mar 18, 2007 3:14 pm
by lamy
Ok.

Because it doesn not seem to be possible, I am going to try to create my own weather-plugin...

It might even be useful to someone ;)

HTML Nugget

Posted: Fri Apr 20, 2007 2:12 am
by doomsayer
I get the feeling you are supposed to add it to the template or to write a plug-in for it. I solved it another way by using an iframe to load the php file.

<iframe width="150" scrolling="no" height="650" frameborder="0" style="overflow: visible;" src="yweather.php" marginheight="0" marginwidth="0" id="myframe">
[Your user agent does not support frames or is currently configured
not to display frames]
</iframe>

I am sure I should get beaten for even suggesting it so I am gonna try and do it right. On the other hand I can reload the nugget without reloading the entire page.