2 answers
-1 votes
Prefix Routing from Form Submission
I'm having a problem with prefix routing from a form submission.
I have several prefixes setup for my site (not just admin), lets say
prefixa, prefixb, prefixc....
I'm method for this form is "get". When submitting the form the action
is...
1 answer
0 votes
Using Routing.prefixes and custom routes [1.3]
Is there a way in CakePHP 1.3 to have routing prefixes along with other custom routes? I'm trying to add i18n routes to my app but I can't figure out how.
This works just well without routing prefixes...
1 answer
0 votes
How to Auth::deny() a specific prefix?
I'm using several prefixes in an app I'm building, and all actions for a specific prefix need to be denied to non logged-in users.
Using ACL will be overkill, so I'm planning on simplicity using the AuthComponent. Right now, I have the following...
1 answer
0 votes
how do ignore the database table prefix for a particular model
Hi,
All my tables except one have a prefix "cp_". I put the prefix settings in my database.php,
I don't control that exception and cannot rename the table. Is there a way I can
make it ignore the prefix for that table/model?
1 answer
1 vote
'admin' => true vs 'prefix' => admin
Hey I'm setting up a route for /admin in my app, I was wondering what is the difference between setting admin = true as opposed to 'prefix' = 'admin'. It seems as though 'prefix' = 'admin' is the one that sets my functions to admin_view, etc, but...