Welcome to Geeklog, Anonymous Tuesday, December 10 2024 @ 01:28 pm EST
Geeklog Forums
How do I add weather block as standard PHP?
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.
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.
8
7
Quote
pfaustino
Anonymous
please, I really need help here. Can anyone help?
7
10
Quote
pfaustino
Anonymous
Never mind, I figured it out... Here's the code...
I thought it was something this simple. LOL.
I thought it was something this simple. LOL.
8
6
Quote
pfaustino
Anonymous
woops. the code was being blanked. Here it is in text mode
<? $theweather = phpblock_getweather(); echo $theweather; ?>
<? $theweather = phpblock_getweather(); echo $theweather; ?>
9
8
Quote
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.
7
8
Quote
All times are EST. The time is now 01:28 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content