Search the web
Sign In
New User? Sign Up
fusebox5
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Is there a variable to use if the Application is refreshed   Message List  
Reply | Forward Message #3510 of 4396 |
Re: [fusebox5] Re: Is there a variable to use if the Application is refreshed

I'm not clear on why you can't follow Sean's suggestion of using fusebox.appinit.cfm? 

Steve

On Tue, May 13, 2008 at 10:17 AM, neobob182 <neobob182@...> wrote:

--- In fusebox5@yahoogroups.com, "Josh Carrico" <sigepjedi@...> wrote:
>
> >
> > If people give a url that has a contribute circuit
> > it will use the error templates to check to see if the page exists in
> > the contribute directory if it is not a file on our directories.
>
>
> What is the error it displays (or error template)?
> Im guessing missing circuit.fuse, correct?
>
> Im not familiar with contribute, but if my assumption is correct on the
> missing circuit.fuse it sounds like you should create a handler
circuit.fuse
> for these 'user created' contribute files/pages.
>
> Then, in your fusebox.init you'll do something like:
> http://tech.groups.yahoo.com/group/fusebox5/message/3316
>
> to handle these 'unknow' files/circuits/fuses
>
> Hope this is helpful.
> JOSH

Hey Josh,

My issue isn't so much handling the pages, it's just that I need to
include the fusebox.init.cfm only once after I restart the Fusebox
application files. After the initial include of Fusebox.init.cfm, my
layout will throw function errors because it has already been
declared. I am looking for a variable (Sean listed a few) that I can
put in a cfif statement to run the Fusebox.init.cfm only once.
However the variables that were given don't flag at 1, they must get
set to true after the Fusebox application is restarted and then never
returned to false. Which creates a problem with my cfif statements
because I only want them to run once after a restart. I'm just
wondering if there is a way to flag the cfif statement with these
variables so that it is only true once after the Fusebox application
has been restarted (which isn't going to happen very often)

Thanks,
Jody

>
> On Mon, May 12, 2008 at 2:02 PM, neobob182 <neobob182@...> wrote:
>
> > --- In fusebox5@yahoogroups.com <fusebox5%40yahoogroups.com>,

> > "neobob182" <neobob182@> wrote:
> > >
> > > Hey Everyone,
> > >
> > > I was wondering if there is a variable or something I can use in a
> > > cfif statement to tell if the Fusebox application has been
cleared and
> > > refreshed? I'm not sure if there is or not, but it would be great if
> > > there was. Any help would be much appreciated.
> > >
> > > Thanks again,
> > > Jody
> > >
> >
> > I'll try to better explain what I'm trying to do. See, I have a
> > website that uses Adobe Contribute to pull in web pages that other
> > people can make. If people give a url that has a contribute circuit
> > it will use the error templates to check to see if the page exists in
> > the contribute directory if it is not a file on our directories.
> > However to make our layout appear properly we have to include the
> > fusebox.init.cfm file only once after the Fusebox application has been
> > cleared and restarted on these Contribute pages. If we include the
> > fusebox.init.cfm everytime the templates on our Contribute pages will
> > throw function errors. Therefore, I need to put the call to the
> > fusebox.init.cfm file in a cfif statement to check if the application
> > was in fact restarted to avoid unnecessary errors. Hopefully that
> > better explains what I'm trying to do. Any help would be appreciated!
> >
> > Thanks,
> > Jody
> >
> >
> >
>




Tue May 13, 2008 2:31 pm

sgjudd1
Offline Offline
Send Email Send Email

Forward
Message #3510 of 4396 |
Expand Messages Author Sort by Date

Hey Everyone, I was wondering if there is a variable or something I can use in a cfif statement to tell if the Fusebox application has been cleared and ...
neobob182
Offline Send Email
May 9, 2008
2:57 pm

... Although it is not documented, you can test the following: myFusebox.applicationStart - true if the application was just started or reloaded ...
Sean Corfield
seancorfield
Online Now Send Email
May 9, 2008
3:30 pm

... Sean, Is there any way to check the variables that they are only ran once after a refresh or clear? So far it seems like once the variable is set to true...
neobob182
Offline Send Email
May 9, 2008
5:35 pm

... Can you be more specific as to what you are talking about here? If you have certain code, or variables, you only want to fire on app start you can put...
Josh Carrico
the_sigepjedi
Offline Send Email
May 9, 2008
5:40 pm

... Not clear what you're asking, but I suspect this is a fusebox mode issue. Try using index.cfm?fuseaction=whatever&fusebox.load=1 or ...
Peter Boughton
boughtonp
Offline Send Email
May 9, 2008
6:10 pm

... I'll try to better explain what I'm trying to do. See, I have a website that uses Adobe Contribute to pull in web pages that other people can make. If...
neobob182
Offline Send Email
May 12, 2008
6:02 pm

... What is the error it displays (or error template)? Im guessing missing circuit.fuse, correct? Im not familiar with contribute, but if my assumption is...
Josh Carrico
the_sigepjedi
Offline Send Email
May 12, 2008
6:36 pm

... circuit.fuse ... Hey Josh, My issue isn't so much handling the pages, it's just that I need to include the fusebox.init.cfm only once after I restart the...
neobob182
Offline Send Email
May 13, 2008
2:17 pm

From the sounds of it you don't want to use fusebox.init.cfm for your processing code, you want to use fusebox.appinit.cfm instead. fusebox.apppinit.cfm is...
Mike
starkraving2002
Online Now Send Email
May 13, 2008
2:31 pm

I'm not clear on why you can't follow Sean's suggestion of using fusebox.appinit.cfm? Steve...
Stephen Judd
sgjudd1
Offline Send Email
May 13, 2008
2:31 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help