Re: How to make my application update after a payment process without having to logout

2011-07-11 Thread Jeremy Burns | Class Outfit
Or do $this-Auth-login($user) (where $user is an array containing ('User' = array('username' = 'xxx', 'password' = 'yyy'))) after payment, which will refresh the session. Jeremy Burns Class Outfit http://www.classoutfit.com On 11 Jul 2011, at 04:59, Ryan Schmidt wrote: Based on what you

Re: Invite Friends

2011-07-11 Thread void
You can try AddThis On 10 Lug, 22:47, Prabha Vathi prabha.ridd...@gmail.com wrote: Hi Is there any plugin available for cakephp invite friends from google and other service if possible Thanks -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out

Aw: Re: upload and import csv to mysql

2011-07-11 Thread Vulinux
Hi elogic, since I did the CSV Import for a customer, I can not provide any code examples, so I'm trying to explain the process a little more detailed. I can not guarantee that the following is absolutely MVC conform or that there are no better ways to do this! Assumption: A Customer wants to

Aw: Re: find data in index view foreach loop

2011-07-11 Thread Vulinux
Actually I made a mistake, so I'm correcting me first: In you Model you need to call $this-find instead of $this-Property-User-find of course. Model- and Controller Method should never ever be called from the View. The Model got all the methods for retrieving and manipulation of an object,

Re: get site url in cakephp

2011-07-11 Thread chris
Not sure if this is entirely what you want, but the constant FULL_BASE_URL is available to give you the sites URL such as www.mysite.com On Jul 3, 3:31 pm, Tilen Majerle tilen.maje...@gmail.com wrote: try with Router::url('/', true); -- Lep pozdrav, Tilen Majerlehttp://majerle.eu 2011/7/3

Re: Authorization missing autoMagic?

2011-07-11 Thread Adrian B.
Thanks for the input... It seems the form helper create parameter is more directed to the controller for which to use the 'login' method. Because authentication methods would be the only methods I'd use in a users controller, I was trying to include this in my section controller (panels). But ,

Re: Facebook Connect

2011-07-11 Thread Prabha Vathi
No, No logic in view, I have written the login in users_controller is that okay? I didnt use component too On Mon, Jul 11, 2011 at 10:12 AM, Angad Nadkarni angad.nadka...@gmail.comwrote: Avoid placing logic in your view. Will save you a lot of trouble later on. You might want to create a

Re: How to make my application update after a payment process without having to logout

2011-07-11 Thread andrewperk
Thank you Ryan and Jeremy. You were right the conditional I used in the view to check if they were subscribed was stale. I got it working. Initially in my app controller I was checking if they were subscribed like this: // returns true if not subscribed protected function isNotSubscribed() {

Routes, Rewrites such

2011-07-11 Thread TobyG
Hi all, I'm trying to get my head round the best way to use the same CakePHP App code for multiple clients, the best way I can think of is to have a client identifier at the beginning of the path for the app, use rewrites/custom routes to facilitate this. So far I have added the following rule

Problem with validation

2011-07-11 Thread Brian Lin
I'm experiencing my controller validating data even though the model has set a $validate array. I have two different controllers and models, A and B. So in controllerA, i have a $uses = modelB. Also I have a viewA function that adds data into tableB using $this- ModelB-saveAll($this-data) In

no permission to create new project

2011-07-11 Thread suhas rekhu
after pressing the submit button i am getting the error-- Forbidden You don't have permission to access /new on this server. can u help me on this -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Auth: register the user as login fallback

2011-07-11 Thread Julien Grillot
Hello everybody, I need only a light user account : username and password is enough. So I don't want a login page and a sign in page. If the user login with a new username, I have to register and automatically login the user with the new account. Is it possible with Auth ? At the moment, I

Templating Admin View's/Controller

2011-07-11 Thread JTiki
I know that you can use Cakphp's built in template's to bake out special view's and controllers, but there are only options for regular Index, View, Edit, and Add, but not for Admin_Index (etc). Is there a way to bake out specialized Admin tempaltes? -- Our newest site for the community:

[ASK] step by step how to implement ALAXOS plugins

2011-07-11 Thread ddk
Hi all, I'm new and want to ask step by step how to implement ALAXOS plugins there is manual instruction to install it. but i have not seen the filter form. link websitenya : Code: http://www.alaxos.net/blaxos/pages/view/plugin_alaxos link live demo : Code: http://demo.alaxos.ch/admin/users

Non-caching of flash elements continued

2011-07-11 Thread Michael Christoff
I was wondering whether the issue below had ever been solved... http://cakephp.1045679.n5.nabble.com/Non-caching-of-flash-elements-td1279440.html Basically the problem is that in my layout (default.ctp), my flash messages are not being displayed. Specifically: Case 1 1. In

Re: Missing Plugin Exception CakePlugin::load() in 2.0.0-alpha

2011-07-11 Thread nothingspare
I was having a similar problem up until your DataSource errors. I'm not sure about this, but I think the directories in /app/Plugins are supposed to be camel case as well: /app/Plugins/user vs /app/Plugins/User. Could be wrong. Sorry if these comments seem really basic, I'm just trying to narrow

Translating file path with TranslateBehavior

2011-07-11 Thread Glauco
Hi there, I am using Tranlate Behavior togheter with Smooth Translate to save data in mult language using the i18n table generated by the CakePHP console. In my model I had set the translatable fields, but when I save an file like the below, instead it save's just the file path (that I define on

Tree Help

2011-07-11 Thread Krissy Masters
I am playing around with the Tree behavior, reading the book and just a few quick question. Im setting up categories for the site but wondering how do you incorporate the tree into a navigation. I am using my nodes controller / model for the tree Example tree has Mens +shoes Women

Re: Authorization missing autoMagic?

2011-07-11 Thread Adrian B.
Could this be caused by a server setting or something regarding Session handling? Just crossed my mind that I'm running on iis7, not Apache... Anyone? On Jul 11, 7:38 am, Adrian B. brett.a.tompk...@gmail.com wrote: Thanks for the input...  It seems the form helper create parameter is more

Re: Non-caching of flash elements continued

2011-07-11 Thread euromark
this could be some browser cache issue there is a controller method called disableCache() this this one. it will set the appropriate headers! On 11 Jul., 11:38, Michael Christoff michael.n.christ...@gmail.com wrote: I was wondering whether the issue below had ever been solved...

Re: Routes, Rewrites such

2011-07-11 Thread TobyG
I managed to get this working in the end. I got rid of the Rewrite Rule added the following rules to get this working... Router::connect('/:cid', array( 'controller' = 'events', 'action' = 'index' ), array( 'cid' = 'alika-bo', 'persist' =

cakephp / tdd / hudson

2011-07-11 Thread Meroe Kush
Has anyone interfaced cake with cruisecontrol/hudson to do continuous testing? I've used cruisecontrol with other frameworks, but can't seem to find info on it for cake. I'll keep hacking away at it but figured I would throw the question out to the community. Thanks! -- Our