ltwCalendar
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsProjectsltwCalendar

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
  #1  
Old January 29th, 2004, 05:34 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
return to January on add/edit

Ok, I'm still working on figuring this out, but hopefully someone has already done it to save me some time...

When I add/edit an event, after opening to the default month (January), logging in, and moving to another month, say, February, after I submit the entry or edit, it flops back to the current month.

Is there any way to get the calendar to stay on the month you're working on, instead of automatically returning to the current month after each action?

I do want it to default to current initially; I just don't want users to have to constantly flop months while adding their events.

Thanks!

Reply With Quote
  #2  
Old January 30th, 2004, 07:40 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: return to January on add/edit

Ok, I just realized this is on the wish list.

Any news on how it's coming? I LOVE this calendar, but I can't use it unless I can get it to stop bouncing back to January (or the current month) after each action...

I swear I've tried everything...help!

Reply With Quote
  #3  
Old January 30th, 2004, 08:30 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: return to January on add/edit


I made these changes a while ago to my calendar to fix the problem you describe. I think this is all I had to do, although it was some time ago and the old memory is not what it use to be.

Give it a try...

In ltweventmgr.php:

Line 208

jsClosePopupReloadMain($this->php_self."?display=".$this->returnto);

change to

$this->rYear = sprintf('%04.4d',$_POST['sYear']);
$this->rMonth = sprintf('%04.4d',$_POST['sMonth']);
jsClosePopupReloadMain($this->php_self."?display=".$this->returnto."&month=".$this->rMonth."&year=".$this->rYear);


Line 252

jsClosePopupReloadMain($this->php_self."?display=".$this->returnto);

change to

$this->rYear = date("Y",strtotime($this->event->event_date));
$this->rMonth = date("m",strtotime($this->event->event_date));
jsClosePopupReloadMain($this->php_self."?display=".$this->returnto."&month=".$this->rMonth."&year=".$this->rYear);


Line 590

jsClosePopupReloadMain($this->php_self."?display=".$this->returnto);

change to

$this->rYear = sprintf('%04.4d',$_POST['sYear']);
$this->rMonth = sprintf('%04.4d',$_POST['sMonth']);
jsClosePopupReloadMain($this->php_self."?display=".$this->returnto."&month=".$this->rMonth."&year=".$this->rYear);



Reply With Quote
  #4  
Old February 2nd, 2004, 03:56 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: return to January on add/edit

Thanks so much, I'll give it a shot and let you know if it works!

I can't TELL you how much I appreciate your help!


Reply With Quote
  #5  
Old February 2nd, 2004, 07:44 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: return to January on add/edit

Worked like a charm, thanks!


Reply With Quote
  #6  
Old February 3rd, 2004, 10:37 AM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: return to January on add/edit

Yes, It's a bug. I'll fix this next release.

Reply With Quote
  #7  
Old February 24th, 2006, 09:42 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: return to January on add/edit

You guys are the best

Reply With Quote
  #8  
Old January 27th, 2007, 08:27 PM
fulmater fulmater is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Rendon, Tx
Posts: 5 fulmater User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: return to January on add/edit

What ver is this for cause mine is not like this, not even close.

Reply With Quote
  #9  
Old January 27th, 2007, 08:29 PM
fulmater fulmater is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Rendon, Tx
Posts: 5 fulmater User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: return to January on add/edit

//////////////////////////////////////////////////////////

// if default start & end times were configured

// set them up

//////////////////////////////////////////////////////////

if ( $this->default_start_time != 0 ){


Thats line 205 - 213 not even close to the threads. Can any one help me get the cal to stay on the month I am editing please..

Thanks

Reply With Quote
  #10  
Old February 1st, 2007, 02:38 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: return to January on add/edit

The lines of code that you show in your post are at lines #103 - #107 of the ltweventmgr.php file in the current version 4.2.1.

At least the first modification shown in this thread exists in the latest version of the file (I did not check for them all being present) at lines #214 - #216.

Perhaps post your version so someone will have a point of reference to help you.

Reply With Quote
  #11  
Old March 8th, 2007, 10:45 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: return to January on add/edit

For me say i go to july 2007 and then login it will go back to march 2007, same for if i add/edit an event

ahhhhhhhh is there a way to stop this and make it send you back where ou came from?

Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > return to January on add/edit


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway