Re: AD7six Upload Behaviour

2008-09-03 Thread José Pablo Orozco Marín
You can do this: $data = array($model-alias = array('x' = $y 'filename' = array(..))); $this-MyModel-save($data); var $actsAs = array( 'ImageUpload' = array( 'fileFormat'= '{$x}/{$filename}', ) ); Maybe an example will be great.

Re: scaffold

2008-09-03 Thread fabio . sfuncia
Scaffold is wonderfuland cake is very flexible (gymnast :D) framework ;) I suggest to exclude field with beforeRender (controller) + array_diff: //example to exclude created modified function beforeRender(){ if ($this-action=='index'){

total html separation in views

2008-09-03 Thread mariuz
In views i can use smarty or fasttemplate or any other template language but i'm not quite atracted about any of them http://www.qadram.com/vcl4php/docwiki/index.php/Component_Writer%27s_Guide_::_Template_Engines I wonder what if i use no template engine at all and keep the html separated and

Re: ACL and non CRUD actions

2008-09-03 Thread Marcin Domanski
and btw you know you arent restricted to create read update delete ? you can add your own fields like _admin to the db table and use it too /me goes to update the book -- Marcin Domanski http://kabturek.info On Wed, Sep 3, 2008 at 1:47 AM, Juan Luis Baptiste [EMAIL PROTECTED] wrote: Hi

Re: Creating select element from tableless model?

2008-09-03 Thread LepinskiWA
Looking to the tutorial Jonathan Snook's camps it shows how to create simple type of text, checkbox and textarea, but does not explain how to create a field directly select the type of model. I wanted a way to enter something like: class Contact extends AppModel { var $useTable = false;

change password

2008-09-03 Thread jojiju
Hi all, I want to build the change password form that has username,old password, new password and retype new password as input fields. I have a link called change password. when I click the change password link. the form should open in edit mode ie. username should be shown but it doesn't

Re: total html separation in views

2008-09-03 Thread Donkeybob
cake has a built-in template system . . . .why change it? Seems like more work if you're using the framework anyways. On Sep 3, 4:54 am, mariuz [EMAIL PROTECTED] wrote: In views i can use smarty or fasttemplate or any other template language but i'm not quite atracted about any of

Re: making webservices?

2008-09-03 Thread wael altahawi
if you are new in cakephp it's better to start reading from book.cacephp.org On Wed, Sep 3, 2008 at 12:15 PM, saumya [EMAIL PROTECTED] wrote: Hi, I am pretty new here.I am going to work in Flex and PHP in my new project. So thinking of using CakePHP and making webservices out of it to be

Re: AD7six Upload Behaviour

2008-09-03 Thread José Pablo Orozco Marín
You can do this: $data = array($model-alias = array('x' = $y 'filename' = array(..))); $this-MyModel-save($data); var $actsAs = array( 'ImageUpload' = array( 'fileFormat'= '{$x}/{$filename}', ) ); Maybe an example will be great.

searching habtm when using paginate

2008-09-03 Thread Kyle Decot
I am trying to create a search function for my site in which tags (HABTM) is searched for. I am using something like the following but am having no success w/ the Tags.name part. I get a unknown column error. Any suggestions? Thank you as always for the help. if(!empty($filters['search'])) {

Re: How to redirect page with data?

2008-09-03 Thread [EMAIL PROTECTED]
I see. looks like good to put the code in beforeFilter On Sep 2, 4:27 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi guys, I was just wondering if doing a login check is what you are doing or if that was just an example? I ask because verifying login-status is not something you need to

Re: assertEqual() Memory Leak?

2008-09-03 Thread mark_story
On Sep 2, 2:25 pm, Defranco [EMAIL PROTECTED] wrote: Hi, I just noticed that assertEqual() function (test suite) in cakephp 1.2 RC2 is consuming some memory inside test cases. I noticed that 300 assertEqual() executions, gets about 20 MB of PHP free mem usage. It sounds a Memory Leak

Re: How to redirect page with data?

2008-09-03 Thread mark_story
If the actions are on the same controller perhaps look into setAction(). You can also use persistModels to maintain model state from one request to the next. Perhaps those are options you can consider as well. -Mark On Sep 3, 12:31 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I see. looks

Paginator helper not appending url query (/page:2/?param1=value1...)

2008-09-03 Thread Jaime
Hi there, I've built a search engine for my app and defined a route for it: Router::connect('/search/companies/*', array('controller' = 'companies', 'action' = 'search')); The search box is a HTML form sent via GET method. So url are like this: /search/companies?where=london;name=bla Notice

Re: ACL and non CRUD actions

2008-09-03 Thread Juan Luis Baptiste
On Wed, Sep 3, 2008 at 9:47 AM, Marcin Domanski [EMAIL PROTECTED] wrote: and btw you know you arent restricted to create read update delete ? you can add your own fields like _admin to the db table and use it too /me goes to update the book Now I didn't knew !! that it's awesome too !!

Re: Paginator helper not appending url query (/page:2/?param1=value1...)

2008-09-03 Thread schneimi
Hi Jaime, the paginator helper has to know the parameters in order to create the right links, so you have to pass them to the view and set them in the url-option of the helper functions. The passing options-array could look like: array('url' = array('where:'.$city,

Re: making webservices?

2008-09-03 Thread Donkeybob
Here is a few links I found. . . .haven't tried them yet . . . http://www.littlehart.net/atthekeyboard/2007/03/13/how-easy-are-web-services-in-cakephp-12-really-easy/ Behavior: http://bakery.cakephp.org/articles/view/webservice-behavior These should, at least, get you started . . .the google

Re: making webservices?

2008-09-03 Thread John David Anderson
If you're connecting with Flex, I'd recommend the CakeAMF plugin. https://trac.cakefoundation.org/amf -- John On Sep 3, 2008, at 2:15 AM, saumya wrote: Hi, I am pretty new here.I am going to work in Flex and PHP in my new project. So thinking of using CakePHP and making webservices out of

Re: forget password

2008-09-03 Thread Ranjana Sriavastava
I also do that custom programming. I want know which typpe do that with cakephp. secondly i want implement captcha with registration page .this is urgent. pls help me. thanks On Wed, Sep 3, 2008 at 9:33 AM, Graham Weldon [EMAIL PROTECTED] wrote: Hey Ranjana, I would make the following

Re: OT: project feedback

2008-09-03 Thread dr. Hannibal Lecter
Hi there, On Sep 2, 8:36 pm, villas [EMAIL PROTECTED] wrote: Hi,  IMHO your post is not OT at all.  I had already spotted your project and I think it is terrific. Thanks :-) I know that there are other projects for CMS's out there as plugins etc.  However,  yours seems to be a much cleaner

How do i remove the query results

2008-09-03 Thread phanorcoll
hi, how can i remove the query results from the bottom of the page, i've created the default.ctp in the layout folder, but the query results still appears at the bottom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Possible bug in Set::extract()

2008-09-03 Thread the_undefined
Nice find, fixed in: https://trac.cakephp.org/changeset/7546 On Aug 6, 6:53 am, XuMiX [EMAIL PROTECTED] wrote: Array (     [0] = Array         (             [Film] = Array                 (                     [id] = 160                 )             [Person] = Array                 (  

Re: How do i remove the query results

2008-09-03 Thread [EMAIL PROTECTED]
/** * CakePHP Debug Level: * * Production Mode: * 0: No error messages, errors, or warnings shown. Flash messages redirect. * * Development Mode: * 1: Errors and warnings shown, model caches refreshed, flash messages halted. * 2: As in 1, but also with full debug messages

Re: How do i remove the query results

2008-09-03 Thread phanorcoll
thanks.. On Sep 3, 11:34 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: /**  * CakePHP Debug Level:  *  * Production Mode:  *      0: No error messages, errors, or warnings shown. Flash messages redirect.  *  * Development Mode:  *      1: Errors and warnings shown, model caches

Install openx or other php application together with cakephp

2008-09-03 Thread d.dinchev
Hi, I'm trying to install openx on my cakephp site and it should be accessible through domain.name/openx. That's OK, I upload openx dir to app/webroot/openx and its accessible through domain.name/openx but I get redirected to domain.name/app/webroot/openx which might be the reason my openx

Bad SQL: setFlash

2008-09-03 Thread Doychi
Hi All, I'm new to CakePHP and I used the cake bake tool to generate my model classes, controllers and views for a fairly complex data model. One of my model classes is returning the message below and appears to be sending 'setFlash' to the database as a query. Can someone point me to where

Older CakePHP Release Question...

2008-09-03 Thread taokodr
Hey guys, I'm not sure if there is anyone who still uses older versions (pre 1.2) of CakePHP, but I'm on 1.1.17.5612 and I have a question about some output that shows up in the bottom of my views. Does anyone know if it is possible to remove the html commented time elapsed line that shows

Re: Bad SQL: setFlash

2008-09-03 Thread AD7six
On Sep 3, 10:27 am, Doychi [EMAIL PROTECTED] wrote: Hi All, I'm new to CakePHP and I used the cake bake tool to generate my model classes, controllers and views for a fairly complex data model.  One of my model classes is returning the message below and appears to be sending 'setFlash' to

Re: Going crazy trying to get my CakeAMF installation working

2008-09-03 Thread Gwoo
I dunno about the browser, but if you run the example on https://trac.cakefoundation.org/amf/wiki/amf you should not have any issues --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this

Re: forget password

2008-09-03 Thread Donkeybob
Cakephp doesn't have a built in Forget Password. . . .you have to do custom programming to get that. On Sep 3, 12:47 am, Ranjana Sriavastava [EMAIL PROTECTED] wrote: I also do that custom programming. I want know which typpe do that with cakephp. secondly i want  implement  captcha with

Re: forget password

2008-09-03 Thread soosa
i second donkeybob, CakePHP is a *FRAMEWORK* *NOT* a *CMS* On Wed, Sep 3, 2008 at 1:38 PM, Donkeybob [EMAIL PROTECTED] wrote: Cakephp doesn't have a built in Forget Password. . . .you have to do custom programming to get that. On Sep 3, 12:47 am, Ranjana Sriavastava [EMAIL PROTECTED]

Re: assertEqual() Memory Leak?

2008-09-03 Thread Erico Franco
Hi Mark, Thanks for the reply. I've noticed the memory leak is caused due to call of ob_start() inside cake/tests/lib/cake_reporter.php (paintPass($message) function) without any ob_end_flush() call. In this way, successive assertEqual() calls will result in ob_start() calls without any

Re: assertEqual() Memory Leak?

2008-09-03 Thread mark_story
Erico, That is a little strange. I'll look further into it. If the leak is coming from paintPass() / paintFail() it should exist for every assertion not just assertEqual(). -Mark On Sep 3, 1:43 pm, Erico Franco [EMAIL PROTECTED] wrote: Hi Mark, Thanks for the reply. I've noticed the

Re: assertEqual() Memory Leak?

2008-09-03 Thread Erico Franco
Hi Mark, Thanks for the attention about this. I did 2 tests: in one I removed ob_start from paintFall(): function paintPass($message) { //removed ob_start(); parent::paintPass($message); if ($this-_show_passes) { echo li class='pass'\n; echo

cake 1.2 custom route

2008-09-03 Thread aka
Ok, i've been breaking my head over this. I'm trying to change the routing of my app so that (for my base controller, lets say 'posts') it will be hidden in the url. That is to say that i can use url's like www.mysite.com/view/1 instead of www.mysite.com/posts/view/1. Effectively just hiding (or

Alternatives path for elements, components...

2008-09-03 Thread jbarbede
Hello, In the trac ticket https://trac.cakephp.org/ticket/470, it explains that we can indicate alternatives paths for models, controllers and views. And it works perfectly when we add in the bootstrap.php file alternatives paths. But what about elements, components, behaviours, ... (in

Re: captcha

2008-09-03 Thread Tankist
http://bakery.cakephp.org/articles/view/improved-captcha-component try it. Very simple. On Sep 2, 9:29 pm, Ranjana Sriavastava [EMAIL PROTECTED] wrote: I am new with cakephp. I want implement captcha in own site but i am unable to implement captcha. pls hep me.

SSL Certificate Login with CakePHP

2008-09-03 Thread creationsings
Has anyone tried to use client certificates to login with CakePHP? I'm developing on a server that already has apache mod_ssl set up, but I can't figure out how to get Cake to utilize it. I'm trying to have a button that they click which sends them to an ssl protected page, then read the client

bakery not taking comments?

2008-09-03 Thread qwanta
Not sure if this is the best place to report this, but I couldn't find any contact info for the bakery. Basically, it seems like comments cannot be left for articles at the bakery. There is some problem with the title validation as it reports a blank field even when there is text in there. I

Newlines with the Email component

2008-09-03 Thread Arak Tai'Roth
I have been spending some time with this problem as of late trying to figure out the solution but I haven't gotten anywhere, so I thought I would ask on here. I am trying to put newlines into the data I am sending via the email component. My code is as follows:

Re: Alternatives path for elements, components...

2008-09-03 Thread jitka (poLK)
So I ask me if this feature if only limited to models, controllers and views? If really it's limited to these three folders, could it be extended to components, elements...? Read Configure::__loadBootstrap() - don't be afraid to read code, it is just piece of cake :)

Re: cake 1.2 custom route

2008-09-03 Thread aka
Hey thats great, thanx works like a charm! Can someone also tell me what is happening here...?! On 3 sep, 20:39, Nate [EMAIL PROTECTED] wrote: Router::connect(     /view/:id,     array(controller = posts, action = view),     array('id' = '[0-9]+', 'pass' = array('id')) ); On Sep 3, 1:37 

Re: cake 1.2 custom route

2008-09-03 Thread Nate
Router::connect( /view/:id, array(controller = posts, action = view), array('id' = '[0-9]+', 'pass' = array('id')) ); On Sep 3, 1:37 pm, aka [EMAIL PROTECTED] wrote: Ok, i've been breaking my head over this. I'm trying to change the routing of my app so that (for my base

How do, from a controller, I count the number of queries made?

2008-09-03 Thread Aaron Shafovaloff
How do I, from a controller, count the number of queries made? I would like to log the count of queries without using the table that debug=2 prints out. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group.

Re: cake 1.2 custom route

2008-09-03 Thread Nate
Please consult the documentation: http://book.cakephp.org/view/542/Defining-Routes On Sep 3, 3:36 pm, aka [EMAIL PROTECTED] wrote: Hey thats great, thanx works like a charm! Can someone also tell me what is happening here...?! On 3 sep, 20:39, Nate [EMAIL PROTECTED] wrote:

Re: How do i remove the query results

2008-09-03 Thread red
Extra question - is there any way to hide debug output on div's, that are returned from Ajax request (without turning on production mode)? I update one cell in table and this debug output blows my table up. On 3 Wrz, 17:50, phanorcoll [EMAIL PROTECTED] wrote: thanks.. On Sep 3, 11:34 am,

Re: making webservices?

2008-09-03 Thread wael altahawi
sorry the correct link is http://book.cakephp.org On Wed, Sep 3, 2008 at 12:15 PM, saumya [EMAIL PROTECTED] wrote: Hi, I am pretty new here.I am going to work in Flex and PHP in my new project. So thinking of using CakePHP and making webservices out of it to be consumed by Flex. Can you

How do I, from a controller, count the number of queries made?

2008-09-03 Thread Aaron Shafovaloff
How do I, from a controller, count the number of queries made? I would like to log the count of queries without using the table that debug=2 prints out. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group.

Checking if the parent model/item belongs to the current user

2008-09-03 Thread Arne-Kolja Bachstein
Hi there, well, this is a very basic question and I hope someone is able to help me with this. Given is a three level association like User - hasOne Profile - hasMany ProfileAttachment My problem with this is to make sure a user does not save foreign ProfileAttachments. Saving the profile is

Re: How do i remove the query results

2008-09-03 Thread Bernhard J. M. Grün
My solution for this was to disable the debug mode for that specific request via Configure::write('debug', 0) in the beforeFilter() action. 2008/9/3 red [EMAIL PROTECTED] Extra question - is there any way to hide debug output on div's, that are returned from Ajax request (without turning on

Re: making webservices?

2008-09-03 Thread saumya
thank you guys for your replies. I have already gone through the tutorials and developed an simple application in cakePHP itself. Now the thing is communicating into flash/flex. I have counted the option of making it in the amf plugin, but then that depends upon the server config some what.Which

Re: captcha

2008-09-03 Thread Ranjana Sriavastava
I also try that ,but i unable to imalepmet captcha with cakephp. On Wed, Sep 3, 2008 at 11:35 PM, Tankist [EMAIL PROTECTED] wrote: http://bakery.cakephp.org/articles/view/improved-captcha-component try it. Very simple. On Sep 2, 9:29 pm, Ranjana Sriavastava [EMAIL PROTECTED] wrote: I am

Re: assertEqual() Memory Leak?

2008-09-03 Thread mark_story
Erico, I will look into this tonight, and get it fixed. I'm not sure why the buffering is there, perhaps someone else on the team knows why it is there. But as far as I can see there is no need for it to be there. -Mark On Sep 3, 2:16 pm, Erico Franco [EMAIL PROTECTED] wrote: Hi Mark,

send mail

2008-09-03 Thread Ranju
I want send email with cakephp.pls help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: Alternatives path for elements, components...

2008-09-03 Thread jbarbede
Thanks for the information, I consulted the Configure class and if I understood well, we can define in the bootstrap.php file alternatives paths for components, helpers, behaviors, plugins, vendors like for models, views and controllers. But what about elements? They don't appear in the

Re: send mail

2008-09-03 Thread Wayne Fay
Google for cakephp email send for numerous examples. Emailing the group for this is just pure laziness. On Wed, Sep 3, 2008 at 2:19 PM, Ranju [EMAIL PROTECTED] wrote: I want send email with cakephp.pls help me. --~--~-~--~~~---~--~~ You received this message

Re: OT: project feedback

2008-09-03 Thread villas
Why do you think the license would interfere? As long it's GPLed, there is no problem. Or did you think about commercial sites? The licence is fine, I was just making an observation. Unlike the Cake MIT, all derived work from Neutrino would be GPLed too. Yes, I was thinking about the

Auth component: username and password in two different models

2008-09-03 Thread jbarbede
Hello, I try to use the Auth component to authentificate users but It seems I can't have a username and a password in two different models. I explain the situation in details: a user can connect to the Web site with his email and his password. But my application allows a user to have

Re: send mail

2008-09-03 Thread Gonzalo Servat
On Wed, Sep 3, 2008 at 7:32 PM, Wayne Fay [EMAIL PROTECTED] wrote: Google for cakephp email send for numerous examples. Emailing the group for this is just pure laziness. This is like the 5th or 6th email Ranju has sent clearly showing he is here to waste everyone's time. He even emailed me

Re: searching habtm when using paginate

2008-09-03 Thread Jaime
I have faced this situation before, and the best solution I have came with is to search only one model at a time. I mean, let the user fill the search query and select a model to search in: Skatepark OR tags. I'm currently developing a site where the user can search in Companies OR News OR

Re: Paginator helper not appending url query (/page:2/?param1=value1...)

2008-09-03 Thread Jaime
Thanks schneimi, but I'm already familiar with named parameters. The problem is that after submiting a HTML form where data is passed by GET, you are driven to a new url with the query string (/? param=value) instead of a nice named-params one (/param:value). Of course I can force a redirect

pass info from controller methodA to methodB

2008-09-03 Thread Mona
Hi: I'm using 1.1.19* and have a simple question that I cannot find answer to from either manual or search here... I have 2 methods in a controller, let's call them methodA and methodB. In methodA, I do some work and I want to store the result of that work so that methodB can access and

Re: Newlines with the Email component

2008-09-03 Thread Marcin Domanski
try $data .= 'Business: ' . $this-data['Contact']['business'] . \n -- Marcin Domanski http://kabturek.info On Wed, Sep 3, 2008 at 9:17 PM, Arak Tai'Roth [EMAIL PROTECTED] wrote: I have been spending some time with this problem as of late trying to figure out the solution but I haven't

Re: pass info from controller methodA to methodB

2008-09-03 Thread Jaime
I'm not sure if I'm understanding you correctly, because seems to be trivial: class my_controller extends AppController { var $data; function MethodA() { $this-data = 'hello world'; } function MethodB() { die($this-data); // hello world. } } Or even: class my_controller extends

Re: How do i remove the query results

2008-09-03 Thread Jaime
class AppController extends Controller { var $components = array(..., 'RequestHandler'); function beforeRender() { if ($this-params['isAjax']) Configure::write('debug', 0); } } --~--~-~--~~~---~--~~ You received this message because you are

Re: How do i remove the query results

2008-09-03 Thread powtac
Remove ?php echo $cakeDebug? in /views/layouts/default.ctp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,

Static controller connects to two other models

2008-09-03 Thread powtac
Hi, I have an static controller, which should just act as wrapper for two other controllers: ?php class StartsController extends AppController { var $name = 'Starts'; var $uses = array('Businesses', 'Tags'); var $helpers = array('Html'); function index() {

Re: Static controller connects to two other models

2008-09-03 Thread Adam Royle
You should use the singular form when referencing your model in code - only your controller and table name should be plural. class Business extends AppModel { var $name = 'Business'; } class StartsController extends AppController { var $name = 'Starts'; var $uses =

Re: Install openx or other php application together with cakephp

2008-09-03 Thread powtac
Maybe, you can create a dummy controller which collects the data from openx(?) and passes it to an dummy view... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: Static controller connects to two other models

2008-09-03 Thread powtac
Wow, thank you Adam! Fixed! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: pass info from controller methodA to methodB

2008-09-03 Thread Adam Royle
I'm assuming you're not calling methodA and methodB from the same request from what you've said above. Really depends on the type and amount of data you're talking about... you could save the data into the session variable in methodA and pick it up in methodB during a subsequent request. Or you

Re: change password

2008-09-03 Thread powtac
Perhaps this helps: http://groups.google.com/group/cake-php/browse_thread/thread/f3653bac41f58733/ff236e99a8313057?lnk=gstq=change+password#ff236e99a8313057 ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: SSL Certificate Login with CakePHP

2008-09-03 Thread powtac
The SSL stuff is not connected to cake! This is something your server (apache) handles. An certificate just encrypts the connection between browser and server. Therefore your user (his browser) needs this certifcate. Normally it is just enough to lead the user to https://www.asdf.com instead of

Re: SSL Certificate Login with CakePHP

2008-09-03 Thread phpcurious
I think what he meant was to make parts of his cakephp app secure by redirecting it to https. On Sep 4, 10:40 am, powtac [EMAIL PROTECTED] wrote: The SSL stuff is not connected to cake! This is something your server (apache) handles. An certificate just encrypts the connection between browser

Re: Going crazy trying to get my CakeAMF installation working

2008-09-03 Thread kiang
I'm not sure why, but gwoo seems don't like the links I added into the tutorial page of amf. :( I just found Adam had three articles about amf plugin: Connecting Cakephp and Flex http://www.adamdyson.com.au/index.php/blog/cakephp/2-connecting-cakephp-and-flex Extended CakeAMF

hello

2008-09-03 Thread [EMAIL PROTECTED]
hello...all i'm newbie in cakephp nice to join in this group thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To

Re: hello

2008-09-03 Thread David C. Zentgraf
Hi and Welcome. Remember that the Good Book and the Good API shall be your lords first and foremost. http://book.cakephp.org http://api.cakephp.org/classes.html Ask for things that are not in them and you shall receive answers from the group. ;o) Happy bakin', Dav On 4 Sep 2008, at 11:57,

Examples for cake

2008-09-03 Thread wael altahawi
Hi All please i want one full example for working in Cakephp like small site can you help please Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

CakePHP Session in before filter

2008-09-03 Thread ビシャルfrom Nepal
I have a controller ... class Testcontroller extends AppController{ function beforefilter(){ $this-Session-write('sess',hello); } function index(){ $var2=$this-Session-read('sess'); $this-set('var1',$var2); } } now when i

before filter problem

2008-09-03 Thread ビシャルfrom Nepal
I have a controller ... class Testcontroller extends AppController{ function beforefilter(){ $this-Session-write('sess',hello); } function index(){ $var2=$this-Session-read('sess'); $this-set('var1',$var2); } } now when i

Re: Examples for cake

2008-09-03 Thread Sam Sherlock
try http://groups.google.com/group/cake-php/browse_thread/thread/21521ad73a3133cb/bfc225830f77aa90?lnk=raot 2008/9/4 wael altahawi [EMAIL PROTECTED] Hi All please i want one full example for working in Cakephp like small site can you help please Thanks

Re: before filter problem

2008-09-03 Thread David C. Zentgraf
Works for me... function beforefilter() { $this-Session-write('testo', 'こんにちは'); } function index() { debug($this-Session-read('testo')); } Some other problem maybe? On 4 Sep 2008, at 13:43, ビシャルfrom Nepal wrote: I have a controller ... class Testcontroller extends

Re: send mail

2008-09-03 Thread Wayne Fay
Password code! I think it's probably a good idea to ignore his emails requesting someone else to do his work and only reply to the ones that have specific questions whose answers are not easily found on public resources. Fair enough -- Gmail showed him as Ranjana for the first 5 or 6, and