#application.url.farcry# usually corresponds to the url for the backend
(e.g. www.mysite.com/farcry)
#application.url.webroot# corresponds to the front end. This is usually
when you are running farcry inside a directory.
You should be able to say something like
<cfoutput>
#application.url.webroot#?index.cfm?objectid=#application.navid.resetpasswor
d#
</cfoutput>
Scott Talsma
CTO
echo.eleven
404.845.3458
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Alfie1109
Sent: Friday, April 06, 2007 11:12 AM
To: farcry-dev
Subject: [farcry-dev] Re: How to create a link from sign-on page to another
page...
How does the "#application.url.farcry#" or "#application.url.webroot#"
works? How can I call a .cfm from includedObject folder using
#application.url.farcry# or #application.url.webroot# or is this not
possible?
-a
Alfie1109 wrote:
> Scott,
>
> Actually, that's the first thing I did. But, I keep getting "The page
> cannot be found". But, when I am log-in, the link works fine. But,
> if I am not log-in, it doesn't work. That is why I tried the
> different approach.
>
> Any other ideas?
>
> thanks,
> -a
>
> *********************************************************
> Easwar, to answer your question,
>
> 1. Click on Site Tab
> 2. On top left hand side of navigation, there is a drop-down menu,
> click on that and select Utility 3. Select Utility folder and do a
> right click -- create -- Navigation or just click on Create Navigation
> on the right hand side nav 4. After you create your nav, then you can
> Create your Include object
>
> Hope this helps!
>
> On Apr 4, 5:25 pm, "Easwar Swaminathan" <[EMAIL PROTECTED]> wrote:
> > I am also very new to FarCry and I didn't understand the part where
> > you said
> >
> > "I would probably create the nav nodes in the utility portion so
> > they do not appear in any nav."
> >
> > How do I do that ?? Would be great if someone can elaborate.
> >
> > Thanks a lot.
> >
> > - Easwar
> >
> > On 4/4/07, Scott Talsma <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Generally, we dissuade people from modifying the core. It makes
> > > upgrades almost impossible.
> >
> > > Instead, place your new files into the project section of the
> > > application in the includedObj portion.
> >
> > > Then, in the site view, create two navigation nodes (Reset
> > > Password and Forgot Password), assigning each an alias. (I would
> > > probably create the nav nodes in the utility portion so they do
> > > not appear in any nav.) In each nav you create a dmInclude
> > > object, linking it to the appropriate cf file w/your
> > > functionality.
> >
> > > Finally, refer to your links in the password page
> > > (application.navid.forgotPassword, application.navid.resetPassword).
> >
> > > Scott Talsma
> > > CTO
> > > echo.eleven
> > > 404.845.3458
> >
> > > -----Original Message-----
> > > From: [email protected]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Alfie1109
> > > Sent: Wednesday, April 04, 2007 3:03 PM
> > > To: farcry-dev
> > > Subject: [farcry-dev] How to create a link from sign-on page to
> > > another page...
> >
> > > Hi everyone,
> >
> > > I am trying to create a link like Forgot Password and Reset
> > > Password from the sign-on page. I have successfully created the
> > > page and all, but my problem now is getting to it. I know this is
> > > something simple, but I couldn't figure it out. I saved my
> > > _ResetPassword.cfm and _ForgotPassword.cfm in farcry\core\tags\navajo
folder.
> >
> > > This is what I did,
> > > <a href = "#application.url.farcry#/navajo/_ResetPassword.cfm"
> > > id="resetpswrd">Reset Password</a>, I tried different other ways,
> > > but none works.
> >
> > > Again, I'd appreciate any help!
> >
> > > Thanks,
> > > -a
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---