12/31/04 02:45am
pfaustino
Anonymous
I have had to create my own static pages with its own left navigation. The static page uses PHP.
Is there a way to display the weather block in my own custom PHP code? I'm using the static page plugin to create a page.
01/03/05 10:33pm
pfaustino
Anonymous
please, I really need help here. Can anyone help?
01/03/05 10:52pm
pfaustino
Anonymous
Never mind, I figured it out... Here's the code...
I thought it was something this simple. LOL.
01/03/05 10:54pm
pfaustino
Anonymous
woops. the code was being blanked. Here it is in text mode
<? $theweather = phpblock_getweather(); echo $theweather; ?>
01/08/05 01:32pm
amch
Anonymous
...and if you wanted it to be wrapped in a block style header with title just like it would appear in the left/right column, just use COM_startBlock(title) and COM_endBlock.