Product / Category Tree Help

2013-03-29 Thread Advantage+
I am building a shopping plugin and at the point where I am stuck with routing the correct/ custom path and breadcrumbs. The Category model actsAs Tree so that houses all the categories / sub categories and the product belongs to the specific category so all that is fine. The end goal is to

Re: uppercase letter names in controller not working in shared hosting

2013-03-29 Thread Soumya Ranjan sahu
Thanks Miles and Euromark. Thats really helpful :) On Friday, March 29, 2013 2:15:24 AM UTC+5:30, Soumya Ranjan sahu wrote: > > I have a cakephp site on bluehost. I have several contollers and some are > named with 2 uppercase letters, i.e:- NotificationMessagesContoller.php > while others are

Re: Benchmark framework article

2013-03-29 Thread deizel
Interesting if your planning on building a large scale web infrastructure of your own, less so if you plan on using some of the ~80% commodity hosting out there with PHP already installed. It's a bit like me driving a 1985 Mk II Golf because it's easy to find cheap parts and someone saying a Ni

Re: Cakephp noobproblems..

2013-03-29 Thread deizel
.. and delete any files (not folders) from app/tmp/cache/* On Thursday, 28 March 2013 09:04:12 UTC, Frederik De Roover wrote: > > Hello, > > I'm fairly new to Cake, but my former co-worker, made a localsite in cake, > when we upload it to our webserver, everything works, we can connect to the >

Re: New to CakePHP

2013-03-29 Thread lowpass
>From the name of the controller file it appears that you're dealing with a 1.x install. Keep that in mind going forward, as there have been some changes to the API. If in doubt about any advice you receive, make a point of asking whether it's meant for a 1.x or 2.x version. First thing to do is o

Re: include file in cakephp

2013-03-29 Thread lowpass
It's all just PHP, so include '...' will work. However, you'd likely be best off creating a helper. More that that I can't say as your question is pretty vague. On Tue, Mar 26, 2013 at 7:14 AM, Oleksandr Torma wrote: > I want to include file from users - index.ctp to my plugin ... How can I > do

Re: CakeDC Search Plugin - How to search 2 fields in DB using only 1 form field?

2013-03-29 Thread euromark
You need to pay more attention to the documentation "AND `User.name, User.email, Profile.name, Profile.phone` LIKE" is invalid SQL which you get when you do it wrong. The correct approach as outlined in the readme is to use the array syntax: 'field' => array('User.name', 'User.email', 'Pr

Re: uppercase letter names in controller not working in shared hosting

2013-03-29 Thread euromark
Please follow conventions as documented. If you got a controller in CamelCase (NotificationMessages), the access via url is always underscored: /notification_messages/action_name etc Am Donnerstag, 28. März 2013 21:45:24 UTC+1 schrieb Soumya Ranjan sahu: > > I have a cakephp site on bluehost.