Hi Jaci,
farCry blew my mind when I first started.
Guess you have been told before, but the how tos / walk throughts are
very useful.
The aura example site is very full on. I got upto speed when a fellow
developer walked me throught it and this is what we did:
- create a new displayPage in dmHTM with the bare bones HTML, eg htm
/ head / body.
-> look at the use of cfsetting and cfoutput in aura.
- drop in a cfdump of stObj
- start formatting the content, eg H1 around title
- next, look at the use of the header and footer includes.
Just keep builing you page up step by step and then look and aura for
the next part.
Like Geoff stated, use cfdump to have a look inside variables - expect
a long wait if you dump application!
Navigation is one that gets most people. In aura, have a look at the
\farcry_aura\webskin\includes\_primaryNav.cfm
<cfscript>
// get navigation elements to root
navFilter=arrayNew(1);
navfilter[1]="status IN (#listQualify(request.mode.lvalidstatus, "'")#)";
// ' !reset colour marking in DW
qNav =
application.factory.oTree.getDescendants(objectid=application.navid.home,
depth=1, afilter=navFilter);
</cfscript>
change depth=1 to depth=0 and dump qNav (0 means all levels,rather
than just 1 level)
This is all your nav nodes under home. This is a query so loop through
it and do funky stuff to create your menu.
_secondaryNav.cfm show how to get nav nodes for the current page
check out application.factory.oTree.getAncestors for nav nods above
the curent page.
you can also dump objects to see its function and properites
eg <cfdump var="#application.factory.oTree#">
Hope this is enough to get things moving for you.
And also like Geoff said, ask specific questions, I have found this to
be a vary friendly and helpful list,. There is no such thing as a dumb
question - just a dumb answer...
On Fri, 29 Oct 2004 09:00:19 +1000, Geoff Bowers <[EMAIL PROTECTED]> wrote:
> Jaci,
>
> Your questions are very focused on the internal workings of FarCry. The
> system is really designed so that you don't need to understand these to
> be productive.
>
> Jaci Chesnes wrote:
> > Question 1 - If want to use dmNavigation and the 1NavIDalias how do I
> > call it.
>
> When you say "use it" what do you mean?
>
> You can get access to any object data by instantiating an object and
> requesting getdata() -- there are also some custom tags in ../fourq/tags
> that simplify this.
>
> To get access to the tree positional information you need to look at the
> tree.cfc component -- this is documented here:
> http://farcry.daemon.com.au/cfcdoc
>
> > Question 2 - Is there documentation somewhere that tells me what's in
> > application scope and request scope. If not how can I find out...where
> > do I look.
>
> The app scope is used to store constants.
>
> You can access factory objects -- cached components if you like -- from
> here. CFDUMP application.factory to see which one.
>
> You can access navigation aliases from here -- CFDUMP application.navid.
>
> The request scope is used to store the currently invoked content
> object's data. You can see this by CFDUMP request.stobj inside any
> template. Note that request.stobj is simply a copy of variables.stobj
> that makes the data easier to access.
>
> > I feel these are really dumb questions...they probably are but I'm left
> > with no options...I'm on a deadline and I have to make this work.
>
> None of the questions so far have been particularly dumb. We run a
> three day developer training course that gets people going in FarCry.
> It's a big solution.
>
> Better to ask less technical questions :) Outline what it is you're
> trying to achieve -- plenty of folks on the list can help with approach.
> Less folks can help with the internal workings.
>
>
>
> -- geoff
> http://www.daemon.com.au/
>
> ---
> You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>
---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/