Re: Problem with Router::connect

2011-07-19 Thread heohni
Can anyone please help me? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to

Re: Proper use of JsHelper::object() OR JsHelper::value()

2011-07-19 Thread O.J. Tibi
Thanks for the reply Jens. I'd use Js::object() too, since it's more descriptive and readable than Js::value(), since we're trying to make a JavaScript object in that notation, anyway. However, as I was searching through the code, I noticed that the JsHelper marks the object() method as

Re: Problem with Router::connect

2011-07-19 Thread Johan
I think you got the wrong idea about routes. With this line: Router::connect('/blechlager', array('controller' = 'pages', 'action' = 'display', 'video-1')); You are telling CakePHP that any requests to the URL /blechlager have to be treated as if /pages/display/video-1 was being requested.

Re: step by step how to implement ALAXOS plugins

2011-07-19 Thread alaxos
Hi, I know this plugin is not very well documented (if not at all... ;-), but in order to help a bit, I just put a sample application available to download here: http://www.alaxos.net/blaxos/pages/view/demo_plugins Also I think another easy way to start is probably to use the templates that the

Re: MongoDB and HABTM

2011-07-19 Thread LordG
Ok, looking at the Mongo DB source code, it doesn't do any association queries. So i'm written a behavior to solve it. On Jul 18, 4:55 pm, LordG lordgthefi...@gmail.com wrote: Hello Bakers, I'm busy testing Models with MongoDB. I have two Models: Recipe and Tag. class Recipe extends

Redirect and Routing? SSL Question

2011-07-19 Thread DragonFlyEye
Ok, many tutorials and bits of code for CakePHP have pointed to using the following code to redirect traffic from HTTP to HTTPS: // Only allow HTTPS connections for Admin routes: if(isset($this-params['admin'])) : $this-Security-blackHoleCallback = 'forceSSL';

Unlimited Web Hosting

2011-07-19 Thread Dev Kari
Web Hosting made EASY and Unlimited Web Hosting Since its establishment in 2002, HostGator has been a world-leading provider of web hosting service. Although our headquarters is in Houston, Texas, we provide top-notch service to clients from over 200 countries internationally with our staff

CSS troubles within controller functions...

2011-07-19 Thread KingInky
Hey all, I am working on a site for a client using CakePHP. Everything was going fine up to the point that I added a register function to my Accounts controller, and coded in the corresponding view. Something about accessing the page (http://localhost/client/accounts/register) strips the page

Re: CSS troubles within controller functions...

2011-07-19 Thread Ryan Schmidt
On Jul 19, 2011, at 10:53, KingInky wrote: I am working on a site for a client using CakePHP. Everything was going fine up to the point that I added a register function to my Accounts controller, and coded in the corresponding view. Something about accessing the page

validation is not working properly and generating Notice (8): Undefined property error

2011-07-19 Thread leafchild
Getting these error and I can not find a away to fix: -- -- Notice (8): Undefined property: ContactsController::$Contact [APP/

database design help - menu, menu items and controllers within

2011-07-19 Thread elogic
Hello, I am having some issues setting up the database for my base CMS to use for all clients. My thoughts were to have the following: blocks table - this is simply the html, title, description etc for each page (i.e. home, about us) menus table - simply contains the menu name (i.e. top

Re: Private Messaging system (PMS)

2011-07-19 Thread taqman filler
I found best solution https://github.com/ionas/sna cheer taqman 2011/7/15 Chris Higgins ch...@chigs.me: Greg that would be fantastic for me to look at, since I'm starting CakePHP as of, yesterday. :D On Jul 14, 8:32 pm, Greg Skerman gsker...@gmail.com wrote: If i'm not busy sleeping

Re: SQL error 1064 in a hasMany through relationship

2011-07-19 Thread Diogo
The error. Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index' at line 1 [CORE/cake/libs/model/ datasources/dbo_source.php, line 684] Code | Context DboSource::showQuery() -

Re: SQL error 1064 in a hasMany through relationship

2011-07-19 Thread Jeremy Burns | Class Outfit
What does your users controller look like? Jeremy Burns Class Outfit http://www.classoutfit.com On 20 Jul 2011, at 02:11, Diogo wrote: The error. Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the