>
> if i create a function for adding a new page, where both tables page & 
> page_content have their fields edited on the same page, what is the best 
> method for the id & foreign key to match cleanly?
>

Maybe have a look at this: 
http://web2py.com/books/default/chapter/29/7#One-form-for-multiple-tables
 

> with the urls for pages, to ensure clean seo, it would be best in my 
> opinion (for us anyway) to make the page names the args, so 
> cms/page/PAGENAME/SUBPAGE and just use routing to take away the controller 
> and functions, that way the arguments (PAGENAME/SUBPAGE) can be strung 
> together as a field (pageurl), so a function doesn't need creating for 
> every page. would this be problematic for me at all or would you see that 
> as a ok plan of action?
>

Yes, that would be a good way to go.

Anthony 

Reply via email to