I see that the page model seems to have the ability to find a page by either id or a slug that's made up of a combination of id and parameterized title. However the page model provides no method for this extension of the find method and I haven't found any gem or plugin that seems to handle it either.
The reason that this is important to me is that I want to be able to use a type of slug that doesn't rely on either the id or the title so that I can readily create links to static pages based on a slug value that won't change even if the page title or id does change. (The id would change if the original page was deleted and a new one created, or if the slug on the original was removed and assigned to a different page.) Examples of such pages are: About Us, Privacy Policy, Terms and Conditions. What I'm really asking here is if anyone knows how to override the find method for pages so that it supports both the current lookup as well as my own slug lookup. I'm a bit reluctant to just declare an override in my local page model without first seeing what the current code looks like, so that I don't make a mess of things. Dan -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/communityengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
