The easiest way to do this is to look at developing a 'editClassifiedAd.cfm' page using formtools as described on here: http://docs.farcrycms.org/display/FCDEV50/UNIT+10+-+Building+Forms. Then, in the webtop, you do the rest of the magic to limit only to logged in users. Check out the following security primer for info on that: http://docs.farcrycms.org/display/FCDEV50/Security+Introduction. You can then have a link somewhere in your site that is basically : index.cfm?typename=classifiedAd&view=editClassifiedAd. (Assuming you name your custom type classifiedAd, in this case... note that the view and typename dont' need to match). FarCry will then check the permissions on the view, and display the page if the user is properly logged in. The key here is that in your user submission page, you automatically use the built in workflow mechanism ( http://docs.farcrycms.org/display/FCUSER40/Content+Workflow) and change the status flag to pending. It should then show up in the adminstration section for anyone who has approval rights to approve. All of that can be customised though for your specific need.
Have you gone through the dev guide ( http://docs.farcrycms.org/display/FCDEV50/Book+of+FarCry)? If not, I heartily recommend it! (note that the material mentioned in the guide is only available through paid training, but you should be able to use your own examples or at least follow along). Good luck, Tomek On Wed, Jun 10, 2009 at 5:07 AM, Liam <[email protected]> wrote: > > I am pretty new to Farcry development but not to CF. I have created a > basic Farcry site with news, events and a few pages. I am now looking > at custome tyes and that seems great. However I need to allow my site > users to add and edit content. For example users can add classified > ads etc. These are then approved in the web top. > Anyone got any exmaples or pointers for doing this and a way of > filtering data in the webtop admin based on for example an approed > flag. Any help greatly appreciated. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
