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
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
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
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,
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
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 ,
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
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() {
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
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
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
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
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:
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
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
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
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
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
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
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...
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' =
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
22 matches
Mail list logo