Steve
On Tue, May 13, 2008 at 10:17 AM, neobob182 <neobob182@...> wrote:
--- In fusebox5@yahoogroups.com, "Josh Carrico" <sigepjedi@...> wrote:Hey Josh,
>
> >
> > 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
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
> >
> >
> >
>