Re: 3.0: a peek into CakePHP's future

2012-12-06 Thread Reuben
I'm hoping there's still support for legacy databases. It's been one of the strong points for CakePHP so far, that it can handle when the primary key isn't "id", and the model name isn't a strict conversion of the table name. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on

Re: Listing menu items from database to layout file

2012-12-06 Thread lowpass
Are you certain that the characters have been inserted into the database correctly? Check that the character encoding is correct for the database and the individual tables. You may also need to check that the browser is correctly rendering the page. Look in the browser's View menu, or check with F

Re: Listing menu items from database to layout file

2012-12-06 Thread lowpass
You seem to have a few of the concepts wrong here. I'll try to explain. > foreach ($menu as $Menu): This is where the error is happening. The problem is that, in the controller action, you created a view variable named $Menu. But your code here is looking for an array named $menu. You have it bac

Re: Listing menu items from database to layout file

2012-12-06 Thread Trisztán Thar
One more thing: I have used this helper, but i have discovered that it won't list menu items that have a special character in them. You know, I'm from Hungary, we have characters like: é, í, á, ű, ő, ú etc.. So if a menu item contains any non-english character, it treats it like if it wouldn't b

Re: Listing menu items from database to layout file

2012-12-06 Thread Trisztán Thar
Thank you Tim, worked like a charm. I'll definately read the info you've given me about MVC, and hopefully will understand it in no time :) Have a nice day! Tristan 2012. december 6., csütörtök 5:03:14 UTC+1 időpontban tim a következőt írta: > > Hi Tristan, > > You should implement this as a Hel

Re: 3.0: a peek into CakePHP's future

2012-12-06 Thread lowpass
I much prefer the "schema first" approach. But then I've always approached a project by first working out the schema (generally, at least) and then moving on to code for doing something useful with it. On Wed, Dec 5, 2012 at 5:22 PM, pete wrote: > Doctrine was mentioned sometimes. I also think it

Re: A list of open source webapps to study ?

2012-12-06 Thread Maran Emil
Ups, sorry, was the first version that I found on google search. Anyway, there is no Cakephp 2.0 Cheat Sheet on results :) Best replacement for 2-X is the book: http://book.cakephp.org/2.0/en/index.html On Thu, Dec 6, 2012 at 5:05 PM, euromark wrote: > seriously? 1.2 cheatsheets?...^^ > > > Am

Re: Extracting core & validation messages for I18N with the cake shell

2012-12-06 Thread euromark
why not running it twice? once for the core and once for the app? Am Donnerstag, 6. Dezember 2012 09:24:25 UTC+1 schrieb Cyrille Faucheux: > > Hi everyone, > > I'm trying to internationalize an application, and I face some problems > with the I18N shell when extracting messages. > > When I run t

Re: A list of open source webapps to study ?

2012-12-06 Thread euromark
seriously? 1.2 cheatsheets?...^^ Am Donnerstag, 6. Dezember 2012 15:10:55 UTC+1 schrieb crisuwork: > > You can check these projects from github for if you wnat to read and see > how the apps are made: > > http://maran-emil.de/nodes/52-open-source-cakephp-projects-and-resources > http://maran-emi

What's the best way to get Twitter Bootstrap into Cake?

2012-12-06 Thread Lourenzo Ferreira
I've seen several Plugins and even forks to use Twitter's Bootstrap CSS Framework with Cake. Which you would say it's the best? Thank you -- Lourenzo Ferreira -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message

Extracting core & validation messages for I18N with the cake shell

2012-12-06 Thread Cyrille Faucheux
Hi everyone, I'm trying to internationalize an application, and I face some problems with the I18N shell when extracting messages. When I run the extract task (cake.bat i18n extract), I'm asked whether I want to extract messages from the Cake core, which is what I want since there is some impo

Re: not interested

2012-12-06 Thread Lourenzo Ferreira
me neither... LOL -- Lourenzo Ferreira On Wednesday, December 5, 2012 5:39:20 PM UTC-2, Muhammad Shakeeb Khan wrote: > > > > -- > M. Shakeeb Khan > > Skype : khanshakeeb > Twitter : khanshakeeb > > Linkedin: http://linkedin.com/in/shakeebkhan > > > -- Like Us on FaceBook https://www.faceboo

Re: Listing menu items from database to layout file

2012-12-06 Thread tim
Hi Tristan, You should implement this as a Helper. I recommend this one as an example (I've used it myself): http://nooclear.com/content/cakephp-2x-menuhelper Place this class in a file called MenuHelper.php in your /app/Views/Helpers directory. Then add the following to /app/Controllers/AppCon

Re: Listing menu items from database to layout file

2012-12-06 Thread Tim Denholm
Hi Tristan, You should implement this as a Helper. I recommend this one as an example (I've used it myself): http://nooclear.com/content/cakephp-2x-menuhelper Place this class in a file called MenuHelper.php in your /app/Views/Helpers directory. Then add the following to /app/Controllers/AppContr

Re: A list of open source webapps to study ?

2012-12-06 Thread crisuwork
You can check these projects from github for if you wnat to read and see how the apps are made: http://maran-emil.de/nodes/52-open-source-cakephp-projects-and-resources http://maran-emil.de/nodes/32-cakephp-open-source-projects-resources and don't forget about Cakephp Cheat Sheet :) http://xesp

Re: Wordpress in Cake.

2012-12-06 Thread Serkan Sipahi
What? Von meinem iPhone gesendet Am 06.12.2012 um 12:43 schrieb Alok Mishra : > Hey > > easy to install wordpress integrate our website blog copy and paste set url > rewrite index file > > its working fine > > Alok > > On Thu, Dec 6, 2012 at 4:51 PM, Serkan Sipahi wrote: > > thnx ;) >

Re: Wordpress in Cake.

2012-12-06 Thread Alok Mishra
Hey easy to install wordpress integrate our website blog copy and paste set url rewrite index file its working fine Alok On Thu, Dec 6, 2012 at 4:51 PM, Serkan Sipahi wrote: > > thnx ;) > > -- > *Von:* LipeDjow > *An:* cake-php@googlegroups.com > *Gesendet:* 12

Re: Wordpress in Cake.

2012-12-06 Thread Serkan Sipahi
thnx ;) Von: LipeDjow An: cake-php@googlegroups.com Gesendet: 12:04 Donnerstag, 6.Dezember 2012 Betreff: Re: Wordpress in Cake. +1 for Tarique solution. Em quarta-feira, 5 de dezembro de 2012 08h51min07s UTC-2, Dr. Tarique Sani escreveu: You can use wh

Re: Wordpress in Cake.

2012-12-06 Thread LipeDjow
+1 for Tarique solution. Em quarta-feira, 5 de dezembro de 2012 08h51min07s UTC-2, Dr. Tarique Sani escreveu: > > You can use whatever you want from anywhere - as long as you include the > correct files > > It is possible to install in webroot but I personally do not like messing > up app/webro

Re: A list of open source webapps to study ?

2012-12-06 Thread Andras Kende
Look: http://book.cakephp.org/2.0/en/tutorials-and-examples.html ! Andras On Dec 5, 2012, at 11:01 PM, Alok Mishra wrote: > any buddy help me am php developer exp guys but an naver worke din cakephp > pls help me how to start cakephp > > On Thu, Dec 6, 2012 at 12:29 PM, Chetan Patel >

Re: Custom routing : /parent-slug/parent-slug/title-of-my-post ?

2012-12-06 Thread Salines
The morning is wiser than the night :) Router::connect('/:path/*', array('admin'=>false,'controller' => 'posts', 'action' => 'show'),array('pass'=>array('path'))); $this -> Html -> link($post['Post']['title'], array('plugin'=>false,'admin'=>false,'controller' => 'posts', 'action' => 'show','pa

Re: A list of open source webapps to study ?

2012-12-06 Thread Mike Karthauser
On 6 Dec 2012, at 07:01, Alok Mishra wrote: > any buddy help me am php developer exp guys but an naver worke din cakephp > pls help me how to start cakephp start with the docs http://book.cakephp.org/2.0/en/index.html > > On Thu, Dec 6, 2012 at 12:29 PM, Chetan Patel > wrote: > > https