admin routing and translations

2013-09-26 Thread ivnrmc
does anybody know a way how to avoid translations for admin routing in cakephp? i have suceeded such thing but needed to change some of the core cakephp files, and i dont like that solution. has anybody encounter something like this? -- Like Us on FaceBook https://www.facebook.com/CakePHP

admin routing

2012-01-04 Thread K3
Hi, i have developed a site and enabled admin routing, so many methods names have prefix admin_ Now the client wants to change this and wants to access the admin part of the site using different url (site.com/something_else) and wants to forward site.com/admin to site.com. Is it possible

Re: Auth component and admin routing confusion

2011-11-11 Thread phpMagpie
and the problem I always get when working with the 2 together: I use the auth component and let's say I want to create the backoffice for the admin so I add the admin routing the auth component I used like it is I use the table users and everything folowing the book so as predicted when I try

Re: Auth component and admin routing confusion

2011-11-11 Thread driss bounouar
and the problem I always get when working with the 2 together: I use the auth component and let's say I want to create the backoffice for the admin so I add the admin routing the auth component I used like it is I use the table users and everything folowing the book so as predicted when I try

Auth component and admin routing confusion

2011-11-10 Thread driss
the backoffice for the admin so I add the admin routing the auth component I used like it is I use the table users and everything folowing the book so as predicted when I try to open mysite/admin/users it redirects me to my login page in mysite/users/login but entring the right combinisation of username

Admin Routing

2011-11-01 Thread Nate
So I'm reading over the Simple ACL tutorial provided in the documentation. Right at the beginning, it says... Leave out admin routing for now, this is a complicated enough subject without them. Can anyone give me any links or information on what exactly Admin Routing is and how to utilize

Re: Admin Routing

2011-11-01 Thread Sam Sherlock
Thats what it is And you use admin_index methods distinct from index method. - S On 1 Nov 2011 21:25, Nate nathanle...@gmail.com wrote: So I'm reading over the Simple ACL tutorial provided in the documentation. Right at the beginning, it says... Leave out admin routing for now

Re: Admin Routing

2011-11-01 Thread Nate
So what if I have different levels of management? Super Administrators Administrators Managers Managers have a set of options. Administrators have all options that Managers have, and then some. Super Administrators have all options that Managers and Administrators have, and then some. I'd

Re: Admin Routing

2011-11-01 Thread Sam Sherlock
Yep then you need acl I saw a recent thread discussing a work-around to avoid all the extra methods views Does sound good. - S On 1 Nov 2011 21:44, Nate nathanle...@gmail.com wrote: So what if I have different levels of management? Super Administrators Administrators Managers Managers

Re: Admin Routing

2011-11-01 Thread Sam Sherlock
The thread was titled Going back to school: acl - S On 1 Nov 2011 21:52, Sam Sherlock sam.sherl...@gmail.com wrote: Yep then you need acl I saw a recent thread discussing a work-around to avoid all the extra methods views Does sound good. - S On 1 Nov 2011 21:44, Nate

Re: Using Admin Routing AND Auth together?? Is this possible?

2011-06-09 Thread chris
Yes you do/can use them together. Admin routing, as you say, lets you have URLS such as admin/posts/ add. This then maps to the controller action admin_add in the post controller. You then create a view called admin_add. Admin routing doees not automatically have any authorization assoicated

Using Admin Routing AND Auth together?? Is this possible?

2011-06-07 Thread davestar057
Hi guys, I am getting confused about something hereI have been looking into admin routing, and understand if it is enabled you can make certain functions available by putting 'admin_' before then, for example 'admin_add' etc This is all good...but how do you use this to stop people just

Is Admin routing really required (a better way) when using an ACL implementation ?

2011-01-28 Thread OldWest
Was looking for some feedback on this. I am currently using an ACL implementation on my project, and it seems to be working fine. I wanted to know what (if) there are any benefits to suing this in conjunction with Admin Routing. Are there any benefits to using Admin Routing with the ACL

Re: Is Admin routing really required (a better way) when using an ACL implementation ?

2011-01-28 Thread AD7six
On Jan 28, 8:35 pm, OldWest ja...@jasonwydro.com wrote: Was looking for some feedback on this. I am currently using an ACL implementation on my project, and it seems to be working fine. I wanted to know what (if) there are any benefits to suing this in conjunction with Admin Routing

Re: acl and admin routing?

2010-09-27 Thread BrendonKoz
that is accessed via admin routing to anyone who is not part of one specific group. Sure, I could manually create an aro-aco for every single action whose name begins with admin_ --but that defeats the purpose and simplicity of using a single centralized

Re: acl and admin routing?

2010-09-26 Thread McBuck DGAF
...@gmail.com wrote: Yes, he wrote the tutorial on  book.cakephp.org I followed to begin with. But neither the tutorial nor his site answer my specific question. I'm trying to blanket deny any controller action that is accessed via admin routing to anyone who is not part of one

Re: acl and admin routing?

2010-09-26 Thread calzone
...@gmail.com wrote: Yes, he wrote the tutorial on  book.cakephp.org I followed to begin with. But neither the tutorial nor his site answer my specific question. I'm trying to blanket deny any controller action that is accessed via admin routing to anyone who is not part

Re: acl and admin routing?

2010-09-24 Thread Andrei Mita
nor his site answer my specific question. I'm trying to blanket deny any controller action that is accessed via admin routing to anyone who is not part of one specific group. Sure, I could manually create an aro-aco for every single action whose name begins with admin_ --but that defeats

Re: acl and admin routing?

2010-09-24 Thread BrendonKoz
wrote: Yes, he wrote the tutorial on  book.cakephp.org I followed to begin with. But neither the tutorial nor his site answer my specific question. I'm trying to blanket deny any controller action that is accessed via admin routing to anyone who is not part of one specific group. Sure, I

Re: acl and admin routing?

2010-09-24 Thread calzone
the tutorial on  book.cakephp.org I followed to begin with. But neither the tutorial nor his site answer my specific question. I'm trying to blanket deny any controller action that is accessed via admin routing to anyone who is not part of one specific group. Sure, I could manually

Re: acl and admin routing?

2010-09-23 Thread calzone
No takers? I thought for sure there was a simple obvious answer I had overlooked somehow. On Sep 22, 1:36 pm, calzone calz...@gmail.com wrote: So I have acl and admin routing on a site. I'd like to create an aro-aco that blanket denies all admin actions to anyone who is not in group x

Re: acl and admin routing?

2010-09-23 Thread Sam Sherlock
...@gmail.com wrote: So I have acl and admin routing on a site. I'd like to create an aro-aco that blanket denies all admin actions to anyone who is not in group x. And vice versa, i'd like to blanket allow all admin actions to anyone who is in group x. After that I might fine tune

Re: acl and admin routing?

2010-09-23 Thread calzone
Yes, he wrote the tutorial on book.cakephp.org I followed to begin with. But neither the tutorial nor his site answer my specific question. I'm trying to blanket deny any controller action that is accessed via admin routing to anyone who is not part of one specific group. Sure, I could manually

acl and admin routing?

2010-09-22 Thread calzone
So I have acl and admin routing on a site. I'd like to create an aro-aco that blanket denies all admin actions to anyone who is not in group x. And vice versa, i'd like to blanket allow all admin actions to anyone who is in group x. After that I might fine tune access for certain subgroups

Re: Plugin Admin Routing?

2010-08-23 Thread DragonFlyEye
to know the answer too :P 2010/8/19 DragonFlyEye dragonflyey...@gmail.com: Is it possible to configure admin routing that will handle plugins? Or is it better to create an AdminController that will handle administration of my site? Or is there another option entirely? Check out the new

Plugin Admin Routing?

2010-08-19 Thread DragonFlyEye
Is it possible to configure admin routing that will handle plugins? Or is it better to create an AdminController that will handle administration of my site? Or is there another option entirely? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related

Re: Plugin Admin Routing?

2010-08-19 Thread Hugo M
Good question! I want to know the answer too :P 2010/8/19 DragonFlyEye dragonflyey...@gmail.com: Is it possible to configure admin routing that will handle plugins? Or is it better to create an AdminController that will handle administration of my site? Or is there another option entirely

Re: Problems with admin routing in 1.3 stable

2010-05-19 Thread #2Will
Not sure if this helps, but im running 1.3 stable with admin routing and its working ok, so it might be something else going wrong. i have: Configure::write('Routing.prefixes', array('admin')); in config and nothing about admin in routes and no changes to the form action parameters

Re: Problems with admin routing in 1.3 stable

2010-05-19 Thread Bogdan Bursuc
Same here, works fine. On Wed, May 19, 2010 at 9:34 AM, #2Will willjbar...@gmail.com wrote: Not sure if this helps, but im running 1.3 stable with admin routing and its working ok, so it might be something else going wrong. i have: Configure::write('Routing.prefixes', array('admin

Problems with admin routing in 1.3 stable

2010-05-18 Thread Mike
I've been developing a web app with 1.3RC2, which I've just migrated to 1.3 stable. I've completed the migration guide but am having a few problems with admin routing: I have the following line in my core.php config file: Configure::write('Routing.prefixes', array('admin')); 1. I've

$this-params['pass'] array is empty or off by one. Is this an admin routing thing?

2010-05-18 Thread Daniel Talsky
[plugin] = [prefix] = admin [admin] = 1 [form] = Array ( ) [url] = Array ( [url] = admin/images_for_items_antiques/upload/for_antique/ 23 ) ) Is this something wrong with the admin routing? Daniel Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related

Re: ACL + Auth , admin routing necesario?

2010-02-23 Thread Rafel
Sorry, I thought I was in the spanish group when it sended . I Posted the same question in the correct group, follow the thread there. Thanks for the answer Guille Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this

ACL + Auth , admin routing necesario?

2010-02-22 Thread Rafel
hora de crear el control panel, y es que con acl y auth el admin routing no se si es necesario usarlo, ya que el acl asignando permisos ya te filtra entre diferentes usuarios , solo habria que crear los diferentes metodos de los usuarios y quitar y dar permisos. Con el admin routing entiendo que

Re: ACL + Auth , admin routing necesario?

2010-02-22 Thread guille1983
duda surge a la hora de crear el control panel, y es que con acl y auth el admin routing no se si es necesario usarlo,  ya que el acl asignando permisos ya te filtra entre diferentes usuarios , solo habria que crear los diferentes metodos de los usuarios y quitar y dar permisos. Con el admin

Set layout based on admin routing in app_error?

2010-01-18 Thread oleonav
Hello, I'm trying to change the layout based on the admin routing param within a custom 404 error function in app_error.php. 1. I can check for the existence of the admin routing param. It is available via $this-controller-params['admin'] 2. Can change it, for example: $this-controller-layout

Unable to get admin routing working properly

2009-12-14 Thread kimu
Hi all, I'm doing some tests to setup the core for a new application using cakephp 1.2.5 and I'm having a weird problem with admin routing. I've installed cakephp following the instructions for an advanced installation - http://book.cakephp.org/view/35/Advanced-Installation -. I've created 2

Re: Unable to get admin routing working properly

2009-12-14 Thread kimu
in the webroot gives the same problem with routing. I don't know if it's considerable as a design flaw, because I don't really know what cakephp does when admin routing is on. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received

admin routing shows CSS when behind an SSL

2009-11-24 Thread Chad Smith
Hey Everyone, This is a really odd problem and I will do my very best to explain what is happening here. As I have no idea what is happening. What I found is that we setup a SSL and this is my domain.com/.htaccess file IfModule mod_rewrite.c RewriteEngine on RewriteCond %{HTTP_HOST}

Re: admin routing shows CSS when behind an SSL

2009-11-24 Thread TimG
I had the same issue a few weeks ago. I did not have any custom htaccess or SSL installed. It was a controller issue. My controller couldn't do what I wanted it to do so it was just loading the css file. I can't remember exactly what I did to fix it... sorry. But in my case it WAS a controller

Re: admin routing shows CSS when behind an SSL

2009-11-24 Thread TimG
I'm still trying to remember: Treat the css loading as an error. Your controller isn't liking the URL when being redirected from the htaccess file. Maybe something to do with SSL and the router/routes? Without being able to explain exactly what is going on I can suggest that you try using

Re: Different Admin routing based on a role field

2009-10-06 Thread Bidibule
/*', array('myprefix' = 'admin')); Then in the beforeFilter you can check for the prefix with $this- params['myprefix'] and set the view based on that On Oct 5, 4:16 pm, Bidibule bblamp...@tagexpert.be wrote: Hi all! I'm in trouble guys !  :) I want to make differents admin routing

Different Admin routing based on a role field

2009-10-05 Thread Bidibule
Hi all! I'm in trouble guys ! :) I want to make differents admin routing based on the user role. Mainly, I have 2 roles : admin and logged user So no problem about using Auth Component and the 'admin' prefix for my views. (admin_index eg) But I think it will be cool to have another prefix

Re: Different Admin routing based on a role field

2009-10-05 Thread vekija
with $this- params['myprefix'] and set the view based on that On Oct 5, 4:16 pm, Bidibule bblamp...@tagexpert.be wrote: Hi all! I'm in trouble guys !  :) I want to make differents admin routing based on the user role. Mainly, I have 2 roles : admin and logged user So no problem about using

Re: Admin Routing

2009-08-18 Thread DiRN
Check out http://book.cakephp.org/view/544/Prefix-Routing and http://bakery.cakephp.org/articles/view/secrets-of-admin-routing. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group

Admin Routing

2009-08-17 Thread Dave Maharaj :: WidePixels.com
I am trying to set up additional admin routes. I want to add 'manage' to selected controllers. So in core.php Configure::write('Routing.manage', 'manage'); in app_controller beforeFilter $manage = Configure::read('Routing.manage'); if (isset($this-params[$manage])

Re: admin routing

2009-08-16 Thread Brendon Kozlowski (Realm)
/articles/view/secrets-of-admin-routing. On Aug 15, 10:49 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I was wondering if this is possible. I currently have my normal admin routing set up for admin_ I want to add manage_ to controllers that allow users to manage their account

admin routing

2009-08-15 Thread Dave Maharaj :: WidePixels.com
I was wondering if this is possible. I currently have my normal admin routing set up for admin_ I want to add manage_ to controllers that allow users to manage their account but when logged in i want them to be able to access a few regular functions that will not have manage_something

Re: admin routing

2009-08-15 Thread Miles J
Just link it to the regular index? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

ACO help for admin routing

2009-07-28 Thread Michael Gaiser
Ok, after taking several peoples advice to look into admin routing, I have decided I want to go with that strategy. But my ACO's have only ever had the controller name, not the actions. So if my User has access to my LocationsController, then he would also have access to any admin_* functions

Admin routing with language prefix in URL - problem.

2009-07-24 Thread mariusz.lewandowski
Hi, I have set in my Routes.php following routes: Router::reload(); Router::connect( '/:language/admin/:controller', array('action' = 'index', 'language' = null, 'admin' = true, 'prefix' = 'admin'), array('language' = '[a-z]{2}') );

Re: admin routing/auth logout!

2009-06-06 Thread kicaj
Yes! Thanks! On 4 Cze, 18:38, brian bally.z...@gmail.com wrote: I believe this happens sometimes if you have Security.level set to 'high' in core.php. Set it to 'medium'. On Thu, Jun 4, 2009 at 12:36 PM, kicaj ki...@kdev.pl wrote: Anyone know Why when I use admin routing and some form (eg

admin routing/auth logout!

2009-06-04 Thread kicaj
Anyone know Why when I use admin routing and some form (eg. to edit article) and when I push submit button (to save), then usually loggout me! ...Occasionally manage to save the changes I don't know how to fix this? Maybe You had some problems

Re: admin routing/auth logout!

2009-06-04 Thread brian
I believe this happens sometimes if you have Security.level set to 'high' in core.php. Set it to 'medium'. On Thu, Jun 4, 2009 at 12:36 PM, kicaj ki...@kdev.pl wrote: Anyone know Why when I use admin routing and some form (eg. to edit article) and when I push submit button (to save

Admin routing and i can't switch language...

2009-05-29 Thread kicaj
Hi, I create simple system for articles and multilanguage, everything is working perfectly:) But when i use admin routing for administartion site, i can't switch to other language then default, why? --~--~-~--~~~---~--~~ You received this message because you

Admin Routing + ACL admin_xxx is not accessible

2009-04-03 Thread atta
hi all I have searched alot and everybody is discouraging to use both admin routing + acl at a time. Can anybody tell me how can i access admin_xxx if a group is valid for it. Thanks Atta --~--~-~--~~~---~--~~ You received this message because you

Re: Question About Admin Routing

2009-04-03 Thread atta
Ok its conf but how can i use ACL and admin routing together? atta On Feb 26, 6:33 am, Evelio neo...@gmail.com wrote: I'm so new in CakePHP but... Routing.adminis an configuration value for define the prefix that will use CakePHP for name and route the admin actions... i.e. if you view

Admin Routing with HTML Helper - Image Link Path Problem

2009-03-24 Thread JamesF
Hello all, I have an admin view set up at /view so in the browser it looks like (when logged in as admin): mysite.com/admin/view on this page is a thumbnail of one image with a link to another image. echo $html-link($html-image($thumbnail_url , array('alt' = 'Thumbnail')),

Re: Admin Routing with HTML Helper - Image Link Path Problem

2009-03-24 Thread brian
On Tue, Mar 24, 2009 at 1:42 PM, JamesF usaexportexpe...@gmail.com wrote: Hello all, I have an admin view set up at /view so in the browser it looks like (when logged in as admin): mysite.com/admin/view on this page is a thumbnail of one image with a link to another image. echo

Re: Admin Routing with HTML Helper - Image Link Path Problem

2009-03-24 Thread JamesF
well i didn't think of using plain old html and i have tested that approach and it DOES work. BUT.if I am using a thumbnail image to link to another image, I have to make sure to update the paths in my view if i ever change my webroot. seeing as how this is on a dev box in a subdirectory, it

Re: Custom admin routing and pagination

2009-03-18 Thread Walther
with the html helper works fine in both routes. On Mar 17, 6:10 pm, brian bally.z...@gmail.com wrote: On Tue, Mar 17, 2009 at 8:37 AM, Walther waltherl...@gmail.com wrote: I am struggling to get custom admin routing to work with pagination. I have a custom admin route called 'courseadmin

Re: Custom admin routing and pagination

2009-03-18 Thread Walther
that are generated with the html helper works fine in both routes. On Mar 17, 6:10 pm, brian bally.z...@gmail.com wrote: On Tue, Mar 17, 2009 at 8:37 AM, Walther waltherl...@gmail.com wrote: I am struggling to get custom admin routing to work with pagination. I have a custom admin route called

Custom admin routing and pagination

2009-03-17 Thread Walther
I am struggling to get custom admin routing to work with pagination. I have a custom admin route called 'courseadmin'. This works fine, but when I try to do pagination in a view (courseadmin/students/index) the pagination link links to /students/courseadmin_index. I suppose I could fix

Re: Custom admin routing and pagination

2009-03-17 Thread brian
On Tue, Mar 17, 2009 at 8:37 AM, Walther waltherl...@gmail.com wrote: I am struggling to get custom admin routing to work with pagination. I have a custom admin route called 'courseadmin'. This works fine, but when I try to do pagination in a view (courseadmin/students/index) the pagination

Re: Question About Admin Routing

2009-02-26 Thread Evelio
and add it to actionMap (for controller based ACL)... it isn't a kind of shortcut to route whatever, this is an configuration value Regards On 23 feb, 10:06, Rob Wilkerson r...@robwilkerson.org wrote: Today I got to wondering about admin routing. I used it in my first Cake project

Question About Admin Routing

2009-02-23 Thread Rob Wilkerson
Today I got to wondering about admin routing. I used it in my first Cake project and this morning got to wondering what it does differently than normal prefix routing. The only information I've dug up so far simply indicates that setting Routing.admin to whatever value allows you to prefix

admin routing issues

2009-02-22 Thread Dhana
Hi, I have uncommented this line in my core.php Configure::write('Routing.admin', 'admin'); and I have a controller called Formats. This controller has an action called admin_index, but when I try to access this page, I get this error = Private Method in FormatsController. Is there any other

Re: admin routing issues

2009-02-22 Thread James Louie Puro
You need a user authentication mechanism to logon into the admin part. reading this article might help: http://www.jamesfairhurst.co.uk/posts/view/creating_an_admin_section_with_cakephp On Sun, Feb 22, 2009 at 5:07 AM, Dhana sldh...@gmail.com wrote: Hi, I have uncommented this line in my

Admin routing $html-link problem

2008-12-19 Thread bkoc
I've coded a simple login system for admin pages. In core.php I've the line: Configure::write('Routing.admin', 'admin'); Routing and login system works fine but the problem is that when logged in and viewing an admin page eg. http://localhost/cake/app/admin/movies/ all links coded like e

Re: Wizard Component 1.2 and admin routing

2008-12-17 Thread Smelly_Eddie
This would probably be a question better left for the page you included :) On Dec 16, 7:11 am, Alexandru Ciobanu ics.cake...@gmail.com wrote: Hi, I'm trying to use jared's Wizard component with admin routing but can't seem to figure it out.http://bakery.cakephp.org/articles/view/wizard

Re: Wizard Component 1.2 and admin routing

2008-12-17 Thread Alexandru Ciobanu
Smelly_Eddie wrote: This would probably be a question better left for the page you included :) I've found a solution. And included on the mentioned page ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Wizard Component 1.2 and admin routing

2008-12-16 Thread Alexandru Ciobanu
Hi, I'm trying to use jared's Wizard component with admin routing but can't seem to figure it out. http://bakery.cakephp.org/articles/view/wizard-component-1-2-1 Anyone done this? --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: admin routing

2008-12-06 Thread dravid
Routing in routes.php and steps to implement the admin routing. For your reference, i am listing the steps what i did so far. 1. I have take the comment in the app/config/core.php Configure::write('Routing.admin', 'admin'); 2. Then added the following lines in the app/config/routes.php

admin routing

2008-12-05 Thread dravid
we enter {URL to CAKE PHP}/admin/{Controller}/ or {URL to CAKE PHP}/admin/{controller}/{action} Anybody please help to configure this Admin Routing in routes.php and steps to implement the admin routing. For your reference, i am listing the steps what i did so far. 1. I have take the comment

Re: admin routing

2008-12-05 Thread grigri
/{controller}/{action} Anybody please help to configure this Admin Routing in routes.php and steps to implement the admin routing. For your reference, i am listing the steps what i did so far. 1. I have take the comment in the app/config/core.php Configure::write('Routing.admin', 'admin'); 2

Acl i admin routing

2008-11-19 Thread VVilku
Hello, I have one little question... I set up permission ($group - some group id): $this-Acl-deny($group, 'controllers/Memoirs/admin_index'); and when i use 'admin/Memoirs/index this group can get in... But when I checked this: $this-Acl-check($group, 'admin_index', '*'); in this controller,

admin routing issue while debug = 0

2008-10-16 Thread park
Using admin routing + .htaccess to restrict admin operations. Works correctly while cake debug is set to 1. When debug = 0, 404 error is returned instead of username/password (define in .htaccess of /admin directory) dialog. Any ideas why

Re: admin routing in rc3

2008-10-07 Thread stefanski
I have no trouble using the default routing: Configure::write('Routing.admin', 'admin'); On Oct 6, 9:47 am, . [EMAIL PROTECTED] wrote: i just upgraded to rc3 (from rc2), why does the admin routing break? i have a :1 at the end of the urls

admin routing in rc3

2008-10-06 Thread .
i just upgraded to rc3 (from rc2), why does the admin routing break? i have a :1 at the end of the urls... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

$javascript not available in Admin Routing

2008-09-24 Thread jabocs
I am getting a weird issue with my $javascript in my default.ctp: I have this in the header of the default.ctp: ? if ($javascript) { e($javascript-link('swfobject')); } ? I have Javascript in my helper of the HomePages controller. In fact when I go to:

Re: Admin section without using admin routing

2008-06-06 Thread James K
meaningful URLs since your controller names will make more sense to the user. This way you can make adminprofile_controller and profile_controller and have them exist in the controllers directory, AND still use admin routing if you wanted to. - James On Jun 5, 1:05 pm, aranworld [EMAIL PROTECTED] wrote

Re: Admin section without using admin routing

2008-06-06 Thread zw
meaningful URLs since your controller names will make more sense to the user. This way you can make adminprofile_controller and profile_controller and have them exist in the controllers directory, AND still use admin routing if you wanted to. - James On Jun 5, 1:05 pm, aranworld [EMAIL

Admin section without using admin routing

2008-06-05 Thread zw
Is there a way to have a separate admin section that doesn't use the built-in CakePHP admin routing feature? I'd like to be able to set up my site so there is a folder within controllers called admin, and I can put all my admin specific controllers. That way I don't have to have my admin code

Re: Admin section without using admin routing

2008-06-05 Thread aranworld
that doesn't use the built-in CakePHP admin routing feature? I'd like to be able to set up my site so there is a folder within controllers called admin, and I can put all my admin specific controllers. That way I don't have to have my admin code in my standard controllers and easily use a separate

Re: Admin section without using admin routing

2008-06-05 Thread Stephen Orr
: Is there a way to have a separate admin section that doesn't use the built-in CakePHP admin routing feature? I'd like to be able to set up my site so there is a folder within controllers called admin, and I can put all my admin specific controllers. That way I don't have to have my admin code

Re: Admin section without using admin routing

2008-06-05 Thread omarh
controllers which contain an index, add, edit, and delete function. On Jun 5, 8:58 am, zw [EMAIL PROTECTED] wrote: Is there a way to have a separate admin section that doesn't use the built-in CakePHP admin routing feature? I'd like to be able to set up my site so there is a folder within

Re: Admin Routing Problem

2008-05-21 Thread Sliv (Tim MacAleese)
If you're using the Auth component with admin routing, you might want to review this recent ticket to see if it applies to you: https://trac.cakephp.org/ticket/4708 On May 20, 2:54 pm, Joel K. [EMAIL PROTECTED] wrote: Hello, I'm using admin routing for a personal site that I'm building

Re: Admin Routing Problem

2008-05-21 Thread b logica
Tim, Trac is emitting a 500 error right now. Would you mind posting a synopsis? I'm also having problems with admin routing and wonder if it's related. On Wed, May 21, 2008 at 8:34 AM, Sliv (Tim MacAleese) [EMAIL PROTECTED] wrote: If you're using the Auth component with admin routing, you

Admin Routing Problem

2008-05-20 Thread Joel K.
Hello, I'm using admin routing for a personal site that I'm building: mrjoelkemp.com. Admin routing was working on the appropriate modules (namely software and writing), however, oddly, it seems that over the past week the routing has been failing on the writing module, but not the software

Re: DATETIME and ADMIN ROUTING broken when moving to shared host. HELP!!

2008-02-11 Thread Action
A little more info on the admin_delete problem. It's the only admin function without a corresponding view, but it redirects before a view is rendered so it shouldn't matter (and it works perfectly on my local server), but it doesn't work on my shared host: function admin_delete($id =

DATETIME and ADMIN ROUTING broken when moving to shared host. HELP!!

2008-02-11 Thread Action
So, I finished my app and everything works fine on my local server. Now that I've uploaded it to my shared host (11), I am having 2 problems: 1) Cake is saving December 31, 1969, 7:00 PM into my created field every time instead of the correct date. I've used Cake before on 11 and never had this

Re: Default Admin Routing for Forms in 1.2 Pre Beta

2007-11-30 Thread Bruno Bergher
cakephp_svn_branches and it will download the latest svn branches code for you to the subdirectory cakephp_svn_branches Alternatively you could search trac for the bugfixes concerning admin routing and implement them yourself HTH Kalileo Bruno Bergher wrote: Hi everyone! We just moved

Default Admin Routing for Forms in 1.2 Pre Beta

2007-11-29 Thread Bruno Bergher
Hi everyone! We just moved an application we developed in 1.2.0.5427 alpha to the latest pre beta release. Everything worked fine except for just one thing: In admin 'edit' actions, FormHelper is being supplied with wrong action URLs. With index, view, add and deletr actions, there's absolutely

Re: Default Admin Routing for Forms in 1.2 Pre Beta

2007-11-29 Thread [EMAIL PROTECTED]
I had the same problem, update you core cakephp code with the branch or nightly. That should solve the problem. CSdread On Nov 29, 9:10 am, Bruno Bergher [EMAIL PROTECTED] wrote: Hi everyone! We just moved an application we developed in 1.2.0.5427 alpha to the latest pre beta release.

Re: Default Admin Routing for Forms in 1.2 Pre Beta

2007-11-29 Thread Kalileo
trac for the bugfixes concerning admin routing and implement them yourself HTH Kalileo Bruno Bergher wrote: Hi everyone! We just moved an application we developed in 1.2.0.5427 alpha to the latest pre beta release. Everything worked fine except for just one thing: In admin 'edit

Re: Big problems with admin routing and Auth/ACL

2007-11-28 Thread Japheth
it, damnit! @TheKeyboard -http://www.littlehart.net/atthekeyboard -- View this message in context:http://www.nabble.com/Big-problems-with-admin-routing-and-Auth-ACL-tf... Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ You received

Re: Big problems with admin routing and Auth/ACL

2007-11-28 Thread djiize
find the 'controller' array index. Perhaps related to #2 above. Please help. Glen. -- View this message in context:http://www.nabble.com/Big-problems-with-admin-routing-and-Auth-ACL-tf... Sent from the CakePHP mailing list archive at Nabble.com

Re: Big problems with admin routing and Auth/ACL

2007-11-28 Thread Dodger
in context: http://www.nabble.com/Big-problems-with-admin-routing-and-Auth-ACL-tf4884616.html#a13997265 Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: Big problems with admin routing and Auth/ACL

2007-11-28 Thread Dodger
! (and others) Regards, Glen. djiize wrote: point 2. unknown action admin_img is maybe due to wrong image paths in your views, do you use Html helper? -- View this message in context: http://www.nabble.com/Big-problems-with-admin-routing-and-Auth-ACL-tf4884616.html#a14001832 Sent from

Big problems with admin routing and Auth/ACL

2007-11-27 Thread Dodger
$this-params['controller'] in beforeFilter() for an admin route? Seems to work for other routes, but with admin routes it can't find the 'controller' array index. Perhaps related to #2 above. Please help. Glen. -- View this message in context: http://www.nabble.com/Big-problems-with-admin-routing-and-Auth

Re: Big problems with admin routing and Auth/ACL

2007-11-27 Thread Chris Hartjes
On Nov 27, 2007 4:42 PM, Dodger [EMAIL PROTECTED] wrote: 1. Whenever I open an admin URL, such as /admin/videos, I get the following warning: 2007-11-27 23:28:18 Warning: Warning (2): fopen(C:\...\tmp\cache\persistent\cake_core_object_map) [ http://php.net/function.fopen function.fopen ]:

  1   2   >