Forum Support

Shape 5
March 28, 2024, 05:50:07 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: just Now and tomorrow  (Read 806 times)
sephius
Jr. Member
**
Offline Offline

Posts: 1



« on: June 19, 2009, 03:34:45 AM »

Hi, can someone tell me how i can remove the today's box, just leave the "Now" and "tomorrow" boxes?
Thanks  Smiley
Logged
nutt318
Jr. Member
**
Offline Offline

Posts: 1



« Reply #1 on: June 25, 2009, 09:41:25 AM »

I would also like to know how to do this.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #2 on: June 25, 2009, 11:56:37 PM »

You can narrow it down to one day but to skip the current day would require some custom coding:

Only 1 day:

http://www.shape5.com/component/option,com_smf/Itemid,75/topic,4550.0/
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
adydeejay
Jr. Member
**
Offline Offline

Posts: 3



« Reply #3 on: July 12, 2009, 05:35:00 AM »

You can narrow it down to one day but to skip the current day would require some custom coding:

it is possible to be done some custom changes, to skip the current day and leave just "now" and "next day"?
Logged
adydeejay
Jr. Member
**
Offline Offline

Posts: 3



« Reply #4 on: July 17, 2009, 10:28:10 AM »

i have found a easy way to fix this.  Smiley

editing the weather.class.php and change the field $ret[] = $day; to $ret[1] = $day;

the result it will be like this (on this image "now" is "friday"):


anyway, i still have a small problem because "Visibility" is allways  0 km for me...  Cheesy
« Last Edit: July 17, 2009, 01:57:44 PM by adydeejay » Logged
nevreme
Jr. Member
**
Offline Offline

Posts: 4



« Reply #5 on: July 17, 2009, 01:30:03 PM »

Thanks ady. This will be useful to me too.

Btw, the visibility stays at 0 on my site too Huh.
Logged
vaibhav431
Jr. Member
**
Offline Offline

Posts: 3



« Reply #6 on: June 07, 2010, 04:46:01 AM »

Thanx adydeejay

It works fpr me also,

but same prob. with visibility.

do u hav any soln.?
pls...
Logged
daftdog
Jr. Member
**
Offline Offline

Posts: 1



« Reply #7 on: June 16, 2010, 02:19:53 AM »

My visibility was always zero, so i just commented out the code for that on mod_s5_weather.php .

Line 66:::   echo 'Visibility: '.$day['visibility'].'
'; to //echo 'Visibility: '.$day['visibility'].'
';

Perfect if you don't need the visibility forecast to show anyway..
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.