john please send your mailid for chat. so that i can explain my problem
more closy..
On Sat, May 29, 2010 at 12:23 PM, Gopinath T.M wrote:
> can anyone come with me on chat.
>
>
> On Sat, May 29, 2010 at 12:08 PM, John Andersen
> wrote:
>
>> Please clarify what your issue is!
>>
can anyone come with me on chat.
On Sat, May 29, 2010 at 12:08 PM, John Andersen wrote:
> Please clarify what your issue is!
> 1) Have you installed CakePHP?
> 2) Is it in a working condition?
> 3) Have you made the Blog sample application?
> 4) What went wrong?
>
> We need to know what you h
I've been using Gmail and thought you might like to try it out. Here's
an invitation to create an account.
---
Gopinath T.M has invited you to open a free Gmail account.
To accept this invitation and register for your account, v
---
Gopinath T.M wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-2c472695a8-7e86e297fe-eY85zD22BKiEnxcI5LL3HMd2l-c
You'll n
Please clarify what your issue is!
1) Have you installed CakePHP?
2) Is it in a working condition?
3) Have you made the Blog sample application?
4) What went wrong?
We need to know what you have done and what went wrong (errors, code
snippets, other) in order to be able to help you :)
Enjoy,
Jo
Actually i gone through already.But, i couldn't able to create one sample
application
canyou please help in any other way.
On Sat, May 29, 2010 at 1:06 AM, John Andersen wrote:
> It all starts here:
> http://book.cakephp.org/view/876/The-Manual
>
> Enjoy,
>John
>
> On May 28, 3:08 pm, "Go
Thanks Jeremy!
In the link you supplied, after reading the portion "...(group ->
groups in this case, or ExtraFunkyModel -> extraFunkyModels).." now it
all makes sense.
Regards.
On 28 mayo, 23:13, Jeremy Burns wrote:
> It isn't just restricted to HABTM, it's a standard thing. But here's a page
It isn't just restricted to HABTM, it's a standard thing. But here's a page
that refers specifically to HABTM:
http://book.cakephp.org/view/1390/Automagic-Form-Elements
Jeremy Burns
jeremybu...@me.com
On 29 May 2010, at 06:10, Roland Pish wrote:
> It worked!!
> Finally!!
>
> There was someth
It worked!!
Finally!!
There was something weird in the database. I submitted the form and
magically the select was populated and funny tags were selected.
I really appreciate your help Jeremy.
One last question, where is in cake manual the convention you advised
to fix this (the use of $funnyTag
Thanks, We are getting closer!!
After using $funnyTags now the select is populated correctly but the
funny tags aren't selected according to what is on the database.
I tried this: echo $form->input('FunnyTag'); but the funny tags aren't
still selected.
On 28 mayo, 22:51, Jeremy Burns wrote:
> A
Ah. Try this:
$funnyTags =
$this->Post->FunnyTag->find('list',array('fields'=>array('id','name')));
If that doesn't fix it, try this as well:
echo $form->input('FunnyTag');
Jeremy Burns
jeremybu...@me.com
On 29 May 2010, at 05:46, Roland Pish wrote:
> I think I'll post the code and informa
I think I'll post the code and information here. I still don't know
what is happening.
Any help is hugely appreciated.
The tables:
funny_tags: id,name
funny_tags_posts: id,funny_tag_id,post_id
posts: id,name,body
The files:
+ Under models: post.php and funny_tag.php
+ Under controllers: posts_co
Thanks Jeremy.
In fact I did that and didn't solve the problem.
I'm still trying but with no success yet.
Regards.
On 28 mayo, 21:24, Jeremy Burns wrote:
> I am *guessing* that your variable that contains your funny_tags is not being
> set correctly. It is set here:
>
> $tags = $this->Post->Ta
I am *guessing* that your variable that contains your funny_tags is not being
set correctly. It is set here:
$tags = $this->Post->Tag->find('list',array('fields'=>array('id','name')));
...so change that to:
$funny_tags =
$this->Post->FunnyTag->find('list',array('fields'=>array('id','name')));
Hi!
I've been struggling for a long time with something and I don't seem
to get it.
I did the Posts/Tags HABTM Select example from this page:
http://mrphp.com.au/code/working-habtm-form-data-cakephp
So far so good, everything works ok.
I wanted to try the same example but asumming that the table
I'd love to help, but I am not clear what your problem is.
If you are following the blog example, here's what should happen:
You click the submit button on the add view
It runs the code in your add function in your controller
If the save within the add function works, you are directed to the index
If the models are truly independent, then you can do this:
$this->loadModel('YourModelName');
Then, just use the new model as you would any other model:
$result = $this->YourModelName->function($variable);
If they are not independent and are actually related, then by setting up the
associations
I'm not sure if this is the best way but it worked for me.
In AppController::beforeFilter()
if (isset($this->params['prefix']) && $this->params['prefix'] ==
'admin' && $this->params['admin'] == 1)
{
$this->layout = 'admin_default';
}
On May 9, 9:23 am, fabio <3bi...@gmail.com> wrote:
> H
Did you ever get this to work?
It is working for me in 1.3.
I have in my routes:
Router::connect('/admin', array('controller' => 'pages', 'action' =>
'index', 'admin' => true));
Then I grabbed the pages_controller.php from cake/libs/controller and
put it in my app/controllers I added:
functio
Over the course of the last few weeks/months, I've been developing a
complete social network plugin for CakePHP. The plugin takes advantage
of Gigya, a free social network service that gives a developer a
single API to interface with multiple social networks, including
Facebook, Twitter, Linkedin,
http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3
On 28 Mai, 12:54, luca capra wrote:
> Hi all,
>
> Using 1.2 I was used to place a inflections.php file in app/config/ to
> specify some rules for plural/singular db tables nouns.
> In 1.3 seems that the console, when baking, doe
It all starts here:
http://book.cakephp.org/view/876/The-Manual
Enjoy,
John
On May 28, 3:08 pm, "Gopinath T.M" wrote:
> Dear friends,
>
> Can anyone give me guide for Creating sample application and
> Explaination of View,Model and controller
Check out the new CakePHP Questions site http:
This is the best way?:
class Categoria extends AppModel{
var $hasMany= array('SubCategoria');
}
class SubCategoria extends AppModel{
var $useTable = "categorias";
var $belongsTo = array('Categoria');
}
Have a way to make this in a unique "class.php"?
Att.
Celso
On May 28, 7:54 am, nick wrote:
> Hi guys,
>
> I want to use fusioncharts in my cakephp application but the swf file
> to display the chart does not seem to be loading. In the same folder
> as my view, I have a directory called charts with all the swf files.
There's your problem. The views dir is
Dear friends,
Can anyone give me guide for Creating sample application and
Explaination of View,Model and controller
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Go
$conditions = array("OR"=>array("id"=>"5","name"=>"abc"));
$this->Post->find('all', array('conditions' => $conditions));
might be it would be help u something
if the condition goes more then put it on the another array I mean to
say that using multiple array with the AND condition operator.
On M
For the more dense... which folder to where :-S
On May 26, 9:12 am, Ben Mosher wrote:
> Fixed. Move 'templates' folder up into 'libs'. Or copy. Worked for me.
>
> On May 25, 3:53 pm, CrotchFrog wrote:
>
>
>
> > @invisibleman:
>
> > Did you ever resolve this problem? I'm having the same issue.
>
hello All,
I am very new in cake php and I had read the all doc and the tutorial
of it.As well as i implemented the one insert the blog form. But the
problem once I click the submit button it has the process but its not
come on the same page either once i give want to redirect on the
another page i
Hi guys,
I want to use fusioncharts in my cakephp application but the swf file
to display the chart does not seem to be loading. In the same folder
as my view, I have a directory called charts with all the swf files.
Here is the code to load the file for the chart data.
echo renderChart("
hai I am very new in cake php and I read the tutorial and doc of its
but not get properly so would u like to give some idea on cake php
briefly. with good example and preferring me the good sites also. I
know that for linking we use the Router class but once 2 or more
function need to be call then
Hi all,
Using 1.2 I was used to place a inflections.php file in app/config/ to
specify some rules for plural/singular db tables nouns.
In 1.3 seems that the console, when baking, doesn't read my rules and
use the standard cake inflection rules.
Where am I wrong?
Thanks.
Luca
Check out the
Hello,
I have to independent models and i need to update Model1 on beforeSave
in Model2,
what is the right way to include one model into another, something
similar to var $usees = array() in controller ?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePH
I am developing a system where I need to set permission for users to
access different groups. I need to build an interface in admin panel
so that admin can set this access permission for users. Can any one
give me some idea and some source code for this?
Check out the new CakePHP Questions site ht
Model::updateAll is not intended to fire callbacks, as it could update
an arbitrary number of records. If you need callbacks to be fired
you'll have to use other methods.
-Mark
On May 28, 4:17 am, Ernesto wrote:
> Hello.
>
> i noticed that model::updateAll isn't triggering model::beforeSave
>
>
Regarding an example, I circumvent routing all together for that. It's
not deemed the most appropriate by some but it works:
http://github.com/AD7six/mi_development/blob/master/vendors/shells/templates/skel/app_error.php#L98
However what you could do is have a variable with the name of the top
lev
> In your controller, the current prefix is stored in $this-
>>params['prefix']. It's also available through Router::currentRoute()-
>>defaults['prefix'].
Cheers - not sure that's relevant though :p
J
>
> On May 27, 6:45 pm, aleph1 wrote:
>> I can't see how to retrieve the current prefix that i
27-5-10: "we do know that the word "users" is not reserved in any way
by the operating system or Apache so the issue must be caused somehow
in the code."
28-5-10: "We have removed the users/ redirect of the control panel.
On 28 May, 15:39, leo wrote:
> > I bet this is related:http://www.absolute-
In your controller, the current prefix is stored in $this-
>params['prefix']. It's also available through Router::currentRoute()-
>defaults['prefix'].
On May 27, 6:45 pm, aleph1 wrote:
> I can't see how to retrieve the current prefix that is being used for
> routing purposes.
>
> For example, if
>> The above route is equivalent to the default route - i.e. it's the
>> same as not having it defined (incidentally what are your admin_*
>> functions doing defined like that?¿? - you're disabling the automatic
>> admin/prefix protection by doing that.)
I have been doing that since Nate suggested
On 28 May 2010 15:18, AD7six wrote:
>
>
> On May 28, 12:44 pm, Jon Bennett wrote:
>> hi,
>>
>> In 1.3, how hard is it to route a controller action to
>> /slug/child-slug/grandchild-slug and keep other, automatic routing in
>> place? Do you still need to explicitly route all other controllers and
> I bet this is related:http://www.absolute-escapes.com/user
>
> ...sounds like that really means they're sitting on their elbows.
Well spotted. They must have very long arms.
The error log, incidentally, was /var/log/httpd/error_log
Thanks for your help.
Check out the new CakePHP Questions sit
Thanks, Andy. You're quite right. Given that the .htaccess looks
like below, it seems it's not even getting that far. I'll harass the
hosting support team again.
Action php5-script /interpreters/php5-script
AddHandler php5-script .php
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/awstats/
On May 28, 4:13 pm, AD7six wrote:
> On May 28, 3:49 pm, leo wrote:
>
> > I have examined the logs of two websites on the same hosting and there
> > is nothing relating to users. The only site references are benign:
> > exclog: site37: domain absolute-escapes.com
I bet this is related: http://w
On May 28, 12:44 pm, Jon Bennett wrote:
> hi,
>
> In 1.3, how hard is it to route a controller action to
> /slug/child-slug/grandchild-slug and keep other, automatic routing in
> place? Do you still need to explicitly route all other controllers and
> their actions?
>
> I've done:
>
> Router::co
On May 28, 3:49 pm, leo wrote:
> I have examined the logs of two websites on the same hosting and there
> is nothing relating to users. The only site references are benign:
> exclog: site37: domain absolute-escapes.com
What log are you looking at.
>
> I'm about to roll up my sleeves and dive i
I have examined the logs of two websites on the same hosting and there
is nothing relating to users. The only site references are benign:
exclog: site37: domain absolute-escapes.com
I'm about to roll up my sleeves and dive into the auth component.
Check out the new CakePHP Questions site http://c
Thanks Jeremy.
I'm just designing my database and the name of controllers and models
(this is my first project in Cake) but liked to know if that
convention is ok.
Regards.
On 26 mayo, 21:35, Jeremy Burns wrote:
> This ought to be fine - are you having
> problems?http://book.cakephp.org/view/104
I assume you copy/pasted the code into the post, so I have to tell you
that you have an error in your echo statement! One left bracket too
much! Please clarify whether that was a typo and if removed, fixed
your issue!
In stead of using echo in your controller, turn on debugging in the
config/core.
@AD7six:
I don't have access to the error logs at the moment - I'll try after
lunch.
WRT the 'doesn't work' comment, I have given pretty much all the
information available to me. It's one of those frustrating problems
that doesn't leave many clues. I just tossed the question in in case
anybody el
Session->read(('user_id');
}
}
?>
On May 27, 7:22 pm, John Andersen wrote:
> How does your pages controller look like, the code?
> Enjoy,
> John
>
> On May 27, 10:11 am, Binu wrote:
>
> > Hi,
>
> > I am using cakephp1.2 . I have override the pages controller. While
> > login from my ap
if you want to see it in action, try these links:
http://www.absolute-escapes.com/users/login
http://www.absolute-escapes.com/Users/login
The first fails, the second works.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You rec
On May 28, 2:26 pm, leo wrote:
> > Spoken like a true windows (case-insensitive OS) user.
>
> Not...I only use Linux & OS X. It's spoken like someone sick of the
> turn-it-off-and-turn-it-back-on level of technical input.
PS ~broken
don't know how you expected better feedback when you give a "
On May 28, 2:26 pm, leo wrote:
> > Spoken like a true windows (case-insensitive OS) user.
>
> Not...I only use Linux & OS X. It's spoken like someone sick of the
> turn-it-off-and-turn-it-back-on level of technical input.
Apologies then.
>
> I have now discovered that this problem is also occu
> Spoken like a true windows (case-insensitive OS) user.
Not...I only use Linux & OS X. It's spoken like someone sick of the
turn-it-off-and-turn-it-back-on level of technical input.
I have now discovered that this problem is also occurring on a CakePHP
website not authored by me, but on the same
On May 28, 10:07 am, leo wrote:
> @Andy: Sorry, I thought I'd included that information. It's a clean
> server and 'users' is not a reserved word. According to the hosting
> support team, the word 'users' has no special meaning.
>
> @Dr. Loboto: That's one of the dumbest, most facile answers I'v
@leo:
RE: "That's one of the dumbest, most facile answers I've seen
in this group."
ACTUALLY ITS NOT!
its just the truth :) right, dr. loboto?
cheers
mark
On 28 Mai, 10:07, leo wrote:
> @Andy: Sorry, I thought I'd included that information. It's a clean
> server and 'users' is not a reserved w
hi,
In 1.3, how hard is it to route a controller action to
/slug/child-slug/grandchild-slug and keep other, automatic routing in
place? Do you still need to explicitly route all other controllers and
their actions?
I've done:
Router::connect('/articles/:action',
array('controller'=>'arti
Do you use the Auth component ?
On Fri, May 28, 2010 at 9:07 AM, cronet wrote:
> hm...
>
> i solved my problem with the following route configuration:
>
> Router::connect('/aktivieren/*', array('controller' => 'users',
> 'action' => 'activate', 'admin'=>null));
>
>
>
> I don't know why cake beh
Hello.
i noticed that model::updateAll isn't triggering model::beforeSave
is this a bug or an intended behavior?
alternatives? (right now i switched to model::save)
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received th
@Andy: Sorry, I thought I'd included that information. It's a clean
server and 'users' is not a reserved word. According to the hosting
support team, the word 'users' has no special meaning.
@Dr. Loboto: That's one of the dumbest, most facile answers I've seen
in this group.
On 27 May, 17:47, And
@Andy: Sorry, I thought I'd included that information. It's a clean
server and 'users' is not a reserved word. According to the hosting
support team, the word 'users' has no special meaning.
@Dr. Loboto: That's one of the dumbest, most facile answers I've seen
in this group.
On 27 May, 17:47, And
61 matches
Mail list logo