A couple more thoughts that might help: - Friendly urls are generated by a function within the type component (can't remember what it's called, but you can probably find an implementation of it in dmHTML.cfc). By default this function generates a FU in the form /go/typename/label. But - you may have noticed that html pages don't have this form. This is because the dmHTML type overrides the generation function and builds the FU based on the navigation structure instead. You can do the same with your custom types. - When custom items outside the tree structure (for example news items) need to appear to be in the context of a particular navigation node, there are three options. One: hard coded context i.e. all news items appear in the context of application.navid.news. Two: pass in context as part of the url i.e. a news item is presented in the context of whatever url.navid is. Three: Jake's option of simply adding the types directly to the tree structure via bUseInTree=1 ala bFriendly=1. - In FarCry 4.0 only navigation nodes are checked for permission on view, and if you want to extend that to other types you should definitely follow Jake's advice. If you plan to go live with 4.1 keep in mind the extensive refactoring of security<http://bugs.farcrycms.org:8080/confluence/display/FCDEV40/Security+refactoring>being done (by me in fact :). One of the major new features will be webskin access permissions - i.e. access to webskins like displayPageStandard will be controlled via roles.
Blair On Nov 9, 2007 11:20 AM, tilespace <[EMAIL PROTECTED]> wrote: > > Hello... For clarification, we currently have our custom types working > with FU. We've added bFriendly=1 to our cfcs and that's all beautiful. > Our problem now exists that the FUs are being correctly for how > they're set up but not for how the site structure is, which also is > affecting the breadcrumb. > > Example: > Member comes to site and logs in. They're taken to /go/members/current- > issue and the breadcrumb is Home | Members | Current Issue. If they > click on the issue archives link, they are taken to the issue archives > page which lists all of the previous issues, which is fed by the > Issues type/module. When the member clicks on a link for a previous > issue, however, they're taken to /go/issue-archives/2007-10 and the > breadcrumb becomes Home | Home | 2007 11. We would rather the URL be / > go/members/issue-archives/2007-11 and the breadcrumb to be Home | > Members | Issue Archives | 2007 11. > > We've created an alias for Members and are calling that in both the > breadcrumb and the skin:buildLink but that doesn't seem to be the way > to go. > > Also, the other problem is that we have permissions set for the > Members section and someone that is not logged in can apparently get > to any issue, current or archived. > > Any suggestions? > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
