Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
jrSetFormNotice not getting to jrGetFormNotice
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 06/30/09 22:45 
What could prevent jrSetFormNotice from being displayed when called through jrGetFormNotice()?

LOGIC: first set the success message:
Code
        //success
        jmLogger(0,'INF',"Campaign Updated: ($adcode). Tracking URL is: $this->jamroom_url/go/$adcode");
        jrSetFormNotice('success',"The Campaign ($adcode) was successfully updated.<br>The tracking URL is: $this->jamroom_url/go/$adcode",false);
        jrLocation("apicos_adtrackz.php?mode=cpgn-edit&cID=$cID",false);


LOGIC: now display the message

Code
   jmBodyBegin();
    jrGetFormNotice();


somewhere inbetween the page refresh and the request for the notice to be displayed it is disappearing.

The notice is not being shown. any ideas as to what could cause it to not be shown?


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 06/30/09 23:09 
Are you using saveForm and getForm as well?


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 06/30/09 23:32 
I havent used either of those functions yet. this was just a form submission that got posted to a class and then exited the class through jrLocation once the correct message had been figured out.

Im looking at ways to get around the jrLocation now and just 'return' instead.

--edit--
got this specific issue sorted out by changing the function. Couldnt find the cause of the notice not getting through.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.