MULTIPLE USERS WITH MULTIPLE NEEDS

0 views
Skip to first unread message

xerrano (sent by Nabble.com)

unread,
Feb 16, 2006, 11:06:20 AM2/16/06
to farcr...@googlegroups.com

Hi there...

I'll try to explain my self about what Im trying to do, I don't know if the
way is to do it within FarCry or outside using some other code or
application.

I hope some one give me a clue abou it.

I need for one of my projects to have some kind of user control among all
the others, the website I need to build will contain information for local
tours companies, and I like to give them acces to the information
corresponding to their company without seeing the others. Is this possible?

My idea was to give them access just to a navigation item, where all the
content within that navigation item will be accesible to them, but this
would be better made in another way.

Any one?


Thanks

Felipe Serrano (xerr...@gmail.com)

--
View this message in context: http://www.nabble.com/MULTIPLE-USERS-WITH-MULTIPLE-NEEDS-t1135217c621.html#a2973073
Sent from the FarCry - Dev forum at Nabble.com.

Scott Talsma

unread,
Feb 16, 2006, 11:28:52 AM2/16/06
to farcr...@googlegroups.com
There are two approaches that come to mind. The approach you take is
dependent on where you want your data to reside.


Approach One--Content in FarCry (as you suggest)
B/c FarCry allows page permissions on individual navigation nodes, you could
create a security group for each company and create a regular dmNav/dmHTML
pair for each company w/ that companies information on it.

Then you remove the anonymous view permission from that page, but grant it
to the companies group.

Approach Two--Content in Custom App
The above approach may prove difficult to maintain when you reach a certain
point (20+ users). You could also create a custom application for inputting
all this data, and then assign it to user groups. (Alternatively, create a
custom FarCry type). I would make the data accessible via a single include
(dmInclude). You protect the include w/ a dmNav object, which forces the
user to login (you now know which company). Then you pull only the data
associated w/the user for display.


Scott Talsma
CTO
echo.eleven
404.845.3458

xerrano (sent by Nabble.com)

unread,
Feb 16, 2006, 11:55:29 AM2/16/06
to farcr...@googlegroups.com

Thanks Scott

Looks like the second approach is the best!

Is there a way that you could send me the points to get this working? or
point me to any tutorial-direction?

• How do I assign an App to UserGroups
• About the Custom FarCry
• Make the data accesible via a single include
• Protect the include with a dmNav object
• Pull out the final data

I will do a search in this forum about each step you gave me.
But all help would be very much appreciate.

Tanks Again
--
View this message in context: http://www.nabble.com/MULTIPLE-USERS-WITH-MULTIPLE-NEEDS-t1135217c621.html#a2974020

Andrew Mercer

unread,
Feb 16, 2006, 6:37:54 PM2/16/06
to farcr...@googlegroups.com
Farcry v3 has a HOME for users where you pick a node in the site tree - this become the home page for that user (once they have looged in)


You may also want to consider youing CATEGORIES - create a category per company. this will work well for dynamic content like news and events.

You could also extend tree.cfc and add category too, then work that into the menu scripts.

xerrano (sent by Nabble.com)

unread,
Feb 17, 2006, 10:33:57 AM2/17/06
to farcr...@googlegroups.com

Thanks Andrew

I will work on that, so what you think if in any time
the users grow up to more than 20?

In that case you think I should go to another direction?


Thanks again
--
View this message in context: http://www.nabble.com/MULTIPLE-USERS-WITH-MULTIPLE-NEEDS-t1135217c621.html#a2991438

Reply all
Reply to author
Forward
0 new messages