*On Thu, Nov 20, 2008 at 07:49:33AM -0800 AD7six <[EMAIL PROTECTED]> wrote:

> What's the difference?
> views/users/add.ctp
> views/user_add.ctp

I think the problem arises as more views are added:
views/profiles/add.ctp
views/profiles/edit.ctp
views/users/add.ctp
views/users/edit.ctp
views/orders/add.ctp
views/orders/view.ctp

Too many folders to browse in and out of for an odd bird client.
Instead he wants
views/
        profiles_add.ctp
        profiles_edit.ctp
        users_add.ctp
        users_edit.ctp
        orders_add.ctp
        orders_view.ctp

If it were me, and assuming it's running on a *nix system, I'd create a
new directory somewhere and call it templates, then symlink all the
views into there.  It would require maintenance such that anytime a new
view is added you'd have to symlink it but, it would work.

mkdir templates;
ln -sv views/users/add.ctp templates/users_add.ctp
Would produce:
tmplates/user_add.ctp -> views/users/add.ctp

-- 
Jon Molesa
[EMAIL PROTECTED]
if you're bored or curious
http://rjmolesa.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to