Re: cakephp admin app

2013-01-01 Thread Yusuf Abdulla Shunan
You can use the admin section as a plugin, something like: 
https://github.com/Maldicore/Admin

Regards

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
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 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: cakephp admin app

2012-12-11 Thread Devario Johnson
Thanks for the reply.  That would work great if I was going to keep it all 
in the same app, however this particular situation has demanded for a 
completely separate install of cake (which I will let share the core).  

Im thinking my issue lies more in the lines of .htaccess or httpd.conf the 
more I look at it.

Basically letting 2 apps live in the same htdocs folder where app1 resolves 
to www.whatever.com and app2 resolves to www.whatever.com/admin


On Tuesday, December 11, 2012 12:30:15 AM UTC-5, Jeremy Burns wrote:

 Prefix routing? 
 http://book.cakephp.org/2.0/en/development/routing.html#prefix-routing

 Jeremy Burns
 Class Outfit

 http://www.classoutfit.com 

 On 11 Dec 2012, at 00:05:47, Devario Johnson 
 devar...@gmail.comjavascript: 
 wrote:

 So I searched a bit, and honestly I have kind of a headache right now, and 
 can't seem to find exactly what Im looking for.  So Im hoping someone can 
 point me in the right direction via an article or something.

 I would like to have an admin section as a new cake app in the structure 
 as follows

 (my regular site)
 is 
 htdocs/
 --- app/
 everything else

 What modifications would I have to make to allow for this to live 
 harmoniously with that 

 htdocs/
 ---admin/
 app/
 ---everything else

 along with (or on the side of) what is above.

 Basically a new cake install only for the app side?

 One way I was looking at was having both apps inside of htdocs/app1/app 
 htdocs/admin/app, but since I already have this setup I wanted to know if I 
 can do it the way i want without changing the structure.  Thanks

 -- 
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP
  
 --- 
 You received this message because you are subscribed to the Google Groups 
 CakePHP group.
 To post to this group, send email to cake...@googlegroups.comjavascript:
 .
 To unsubscribe from this group, send email to 
 cake-php+u...@googlegroups.com javascript:.
 Visit this group at http://groups.google.com/group/cake-php?hl=en.
  
  




-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
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 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: cakephp admin app

2012-12-11 Thread Devario Johnson
Hey Jeremy, thanks again for the reply.  I no longer need the answer to 
this as I went a different route.  

However, for the purpose of anyone who may come accross this thread trying 
to do this same thing, Jeremy's answer is a great way to handle this under 
one app, but if you NEED for some reason to separate code, some people 
have made theirs a plugin.

It was one way I found while searching on this topic, also here on this 
group.  

Hope this helps someone. 

By far though, admin prefixes are the way to go.  

As far as the OP, it was a local dev setup thing, which would have been 
changed to other servers when I was done etc, which I just handled with 
some dns changes, etc 

On Tuesday, December 11, 2012 12:30:15 AM UTC-5, Jeremy Burns wrote:

 Prefix routing? 
 http://book.cakephp.org/2.0/en/development/routing.html#prefix-routing

 Jeremy Burns
 Class Outfit

 http://www.classoutfit.com 

 On 11 Dec 2012, at 00:05:47, Devario Johnson 
 devar...@gmail.comjavascript: 
 wrote:

 So I searched a bit, and honestly I have kind of a headache right now, and 
 can't seem to find exactly what Im looking for.  So Im hoping someone can 
 point me in the right direction via an article or something.

 I would like to have an admin section as a new cake app in the structure 
 as follows

 (my regular site)
 is 
 htdocs/
 --- app/
 everything else

 What modifications would I have to make to allow for this to live 
 harmoniously with that 

 htdocs/
 ---admin/
 app/
 ---everything else

 along with (or on the side of) what is above.

 Basically a new cake install only for the app side?

 One way I was looking at was having both apps inside of htdocs/app1/app 
 htdocs/admin/app, but since I already have this setup I wanted to know if I 
 can do it the way i want without changing the structure.  Thanks

 -- 
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP
  
 --- 
 You received this message because you are subscribed to the Google Groups 
 CakePHP group.
 To post to this group, send email to cake...@googlegroups.comjavascript:
 .
 To unsubscribe from this group, send email to 
 cake-php+u...@googlegroups.com javascript:.
 Visit this group at http://groups.google.com/group/cake-php?hl=en.
  
  




-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
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 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: cakephp admin app

2012-12-11 Thread Jeremy Burns | Class Outfit
I just had to unwrangle an admin plugin as it (horribly - really, really 
horribly) duplicated a lot of code in the core as it couldn't reach the models. 
You might have a way around that or it might not apply, but I'd proceed with 
caution.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 11 Dec 2012, at 16:06:57, Devario Johnson devario...@gmail.com wrote:

 Hey Jeremy, thanks again for the reply.  I no longer need the answer to this 
 as I went a different route.  
 
 However, for the purpose of anyone who may come accross this thread trying to 
 do this same thing, Jeremy's answer is a great way to handle this under one 
 app, but if you NEED for some reason to separate code, some people have made 
 theirs a plugin.
 
 It was one way I found while searching on this topic, also here on this 
 group.  
 
 Hope this helps someone. 
 
 By far though, admin prefixes are the way to go.  
 
 As far as the OP, it was a local dev setup thing, which would have been 
 changed to other servers when I was done etc, which I just handled with some 
 dns changes, etc 
 
 On Tuesday, December 11, 2012 12:30:15 AM UTC-5, Jeremy Burns wrote:
 Prefix routing? 
 http://book.cakephp.org/2.0/en/development/routing.html#prefix-routing
 
 Jeremy Burns
 Class Outfit
 
 http://www.classoutfit.com
 
 On 11 Dec 2012, at 00:05:47, Devario Johnson devar...@gmail.com wrote:
 
 So I searched a bit, and honestly I have kind of a headache right now, and 
 can't seem to find exactly what Im looking for.  So Im hoping someone can 
 point me in the right direction via an article or something.
 
 I would like to have an admin section as a new cake app in the structure as 
 follows
 
 (my regular site)
 is 
 htdocs/
 --- app/
 everything else
 
 What modifications would I have to make to allow for this to live 
 harmoniously with that 
 
 htdocs/
 ---admin/
 app/
 ---everything else
 
 along with (or on the side of) what is above.
 
 Basically a new cake install only for the app side?
 
 One way I was looking at was having both apps inside of htdocs/app1/app 
 htdocs/admin/app, but since I already have this setup I wanted to know if I 
 can do it the way i want without changing the structure.  Thanks
 
 -- 
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP
  
 --- 
 You received this message because you are subscribed to the Google Groups 
 CakePHP group.
 To post to this group, send email to cake...@googlegroups.com.
 To unsubscribe from this group, send email to cake-php+u...@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php?hl=en.
  
  
 
 
 -- 
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP
  
 --- 
 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 
 cake-php+unsubscr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php?hl=en.
  
  

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
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 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: cakephp admin app

2012-12-10 Thread Jeremy Burns | Class Outfit
Prefix routing? 
http://book.cakephp.org/2.0/en/development/routing.html#prefix-routing

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 11 Dec 2012, at 00:05:47, Devario Johnson devario...@gmail.com wrote:

 So I searched a bit, and honestly I have kind of a headache right now, and 
 can't seem to find exactly what Im looking for.  So Im hoping someone can 
 point me in the right direction via an article or something.
 
 I would like to have an admin section as a new cake app in the structure as 
 follows
 
 (my regular site)
 is 
 htdocs/
 --- app/
 everything else
 
 What modifications would I have to make to allow for this to live 
 harmoniously with that 
 
 htdocs/
 ---admin/
 app/
 ---everything else
 
 along with (or on the side of) what is above.
 
 Basically a new cake install only for the app side?
 
 One way I was looking at was having both apps inside of htdocs/app1/app 
 htdocs/admin/app, but since I already have this setup I wanted to know if I 
 can do it the way i want without changing the structure.  Thanks
 
 -- 
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP
  
 --- 
 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 
 cake-php+unsubscr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php?hl=en.
  
  

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
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 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.