If you are using 4.0, the easiest way would be to create a rule that
you could schedule anywhere on your site that simply lists all the
records from the dmProfile table.
1. Create a rule with no properties called rulePersonnelDirectory.cfc
in your project/packages/rules directory
2. Create a directory in your project called /project/webskins/
rulePersonnelDirectory
3. Create a file in that webskins directory called execute.cfm (this
gets run when the rule is executed)
4. UpdateApp=1
5. Deploy the rule
6. Edit execute.cfm and place something like the following:
-----------
<cfquery datasource="#application.dsn#" name="qProfiles">
SELECT ObjectID FROM dmProfile
</cfquery>
<cfloop query="qProfiles">
<cfoutput><div>#qProfiles.firstname# #qProfiles.lastname#
(#qProfiles.emailAddress#)</div></cfoutput>
</cfloop>
------------
7. Publish the rule in a container on your site.
There are obviously a lot more things you could do once this is up
and running but this should certainly get the ball rolling.
Kind regards
--
-- Matthew Bryant
Product Development Manager
Daemon Internet Consultants
Adobe Solutions Partner
http://www.daemon.com.au/
p. 02 9380 4162
f. 02 9380 4204
On 29/05/2007, at 10:37 PM, Mindmillmedia wrote:
>
> I need to implement a personnel directory on one of my Farcry sites.
> I would prefer that it pull from an individual's profile information.
> I plan to extend the existing profile - but I am not sure what would
> be the best way to grab all of this information and put it into a
> directory page.
>
> David
>
>
> >
> --
> Message protected by MailGuard: e-mail anti-virus, anti-spam and
> content filtering.
> http://www.mailguard.com.au/mg
>
>
>
--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---