Re: Locale prefix

2012-10-21 Thread Ivan Rimac
hi there, I have mz main site where I can acces it as http://domain.com. for multi languages I made several subdomains, for example http://hr.domain.com, but subdomain is pointing into the same place as http://domain.com. Okay, now comes the cake part. Inside my settings file (app/config/settings.

Re: Locale prefix

2012-10-21 Thread Vanja Dizdarević
Oops, wrong example... Sooo: domain.com/fr/admin/users = Config.language => fr prefix => admin controller => users action => index On Monday, October 22, 2012 8:17:04 AM UTC+2, Vanja Dizdarević wrote: > > I am making my site multilingual, with English being the default language. > > I wish to

Locale prefix

2012-10-21 Thread Vanja Dizdarević
I am making my site multilingual, with English being the default language. I wish to have *domain.com/* display English, *domain.com/{language_code (fr|de|sp)}* display the complete app, with all its prefix routing in the selected language. So *domain.com/fr/admin* would translate to Config.lan

Re: Missing Controller ApplicationNameController

2012-10-21 Thread Vanja Dizdarević
Oh, sorry, I just saw you already tried that. Could you please do a var_dump($_SERVER) inside your bootstrap.php file and post it back to us? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subs

Re: Missing Controller ApplicationNameController

2012-10-21 Thread Vanja Dizdarević
Try putting *Configure::write('App.base', '/toto'); * inside your * bootstrap.php* file. -- 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

Re: Change Image Path

2012-10-21 Thread Vanja Dizdarević
The core bootstrap (lib/Cake/bootstrap.php) is loaded before app bootstrap (app/Config/bootstrap.php) and defines the IMAGES_URL. Do redefine it, you should put the definition in index.php, before the core boot is loaded. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitt

Problem Logging errors

2012-10-21 Thread resting
After spending a long time tweaking around, I found that Cake stops PHP from doing its own log. I was expecting the settings in php.ini to be separated from Cake's core.php settings. Apparently not. At least with Cake 1.2.10 As a conclusion, just set debug level to 3 with all the error_lo

Re: Copy branch of Tree to another parent

2012-10-21 Thread Jeremy Burns | Class Outfit
Surely you can just change the parent_id of the top of the branch you want to move? Then let the Tree behaviour take care of the rest. Jeremy Burns Class Outfit http://www.classoutfit.com On 21 Oct 2012, at 23:24:53, bs28723 wrote: > Hi, > I am using the tree behavior for one of my mode

Re: is it possible create schedule post with cakephp?

2012-10-21 Thread Rijal Asep Nugroho
yes, you can create cakephp script in CLI Environment and set on your cronjob. http://book.cakephp.org/2.0/en/console-and-shells.html On Mon, Oct 22, 2012 at 10:37 AM, ecko usil wrote: > Thanks kani for your answer, I know that cakephp is not CMS. In my case, I > just develop application with ca

Re: is it possible create schedule post with cakephp?

2012-10-21 Thread ecko usil
Thanks kani for your answer, I know that cakephp is not CMS. In my case, I just develop application with cakePHP and I want scheduling some task, and automate update some action when scheduled time is coming. What can I say, maybe create automated cronjob and crontab from controller. thanks,

Re: is it possible create schedule post with cakephp?

2012-10-21 Thread kani
Cakephp is not a CMS like wordpress, joomla. If u can write code Cakephp can do everything. On Monday, October 22, 2012 11:04:54 AM UTC+8, ecko usil wrote: > > is it possible to create schedule post with cakePHP like wordpress? > any articles or sample script? > > thanks in advance, > Regard uc

is it possible create schedule post with cakephp?

2012-10-21 Thread ecko usil
is it possible to create schedule post with cakePHP like wordpress? any articles or sample script? thanks in advance, Regard ucil -- 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

Copy branch of Tree to another parent

2012-10-21 Thread bs28723
Hi, I am using the tree behavior for one of my models, and I want to copy a branch of a tree, with all the sub-branches, leafs etc to another parent. It looks like I am going to have to get a list of the children of the copy from node, and then do a save for each new node. would it work to d

Re: Session Resetting itself and/or Not saving

2012-10-21 Thread blueflowers
I realize this post is really old, but you're problem has nothing to do with CakePHP in /app/webroot/.htaccess copy/paste this line at the top: php_flag session.auto_start 1 Next time check your phpinfo() to ensure session_auto_start is true - that should show you what's going on. I'm going to

CakePHP 1.3 - MEIO Image Upload / Resize & Gallery Tutorial Problem Please help me...

2012-10-21 Thread Michael Hofmair
hi Guy's, I'm trying to get this little Image Upload function to work on my cakePHP site this Tutorial on cakephp.org does pretty much all I need but I always run into Trouble when I try to get The same thing running on my site and i cant figure out why... your help would be much aprechiated! t

CakeFest 2012 videos

2012-10-21 Thread Milina Udara
Hello everyone, Does anyone know if the CakeFest 2012' conferences were recorded? If this is the case, have you got an idea of when they will be available on CakeTV (http://tv.cakephp.org/events)? Thank you in advance ! Milina -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on T