Hey guys,
I apologize if this has been answered before, but I could not find it
anywhere, and have been attempting to get this thing to work for the
past 3 hours. I am using WAMP 5 and have tried to set up the console
the way gwoo did in the screencast, followed directions exactly, but
when I tri
Hello everyone !
This is definitely exciting, kudos to CakePHP team and the rest of the
gang...
welcome! Chat Auld and the Mambo team
Best regards,
Richard O. Sentino
InfoWeapons Inc.
Cebu, Philippines
http://www.infoweapons.com
Blog : http://sentino.wordpress.com
On Jul 25, 8:24 am, cauld <
Hmm, I posted this a few days ago but it looks like it didn't come
through.
>From what I can see you have a three way association, not three
separate two way associations. A Module isn't associated with a Role
per se, rather it is associated with a particular User in that Role.
And ditto with th
1. Is it that hard to try it before asking here?
2. Yes
On Jul 25, 9:51 am, rtanz <[EMAIL PROTECTED]> wrote:
> hi i have a number of users and a number of modules. Now within
> assigned to each module are a number of roles (stored in their own
> table) and each of these roles has a user assign
Hi Mariano
> Nice way to receive him, by requesting staff ;)
My intention wasn't to be demanding (and I appologise to Chad if that is
the way that it sounded).
I didn't want to make another welcome post, but to try to contribute a
bit of enthusiasm as a Cake developer and show my support for
On 7/24/07, rtanz <[EMAIL PROTECTED]> wrote:
>
> hi i have a table containing a number of fields. Is there a way to
> make the system check that when some particular fields are no longer
> empty an email is sent to a user? thanks
>
I don't think CakePHP will do it for you right out of the box, bu
Nice way to receive him, by requesting staff ;)
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
blog: http://www.MarianoIglesias.
Hi Chad
I will be very interested to see Mambo 5. As a CakePHP developer it
would make my life much easier to have a powerful Cake based CMS
available. Integration with other CMS products has proven tiresome (to
point that I just don't bother).
Mambo based on Cake is likely to open up a lot
Welcome Mambo team and community!!!
On Jul 24, 8:24 pm, cauld <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> My name is Chad Auld. I am the Project Leader for Mambo. Seemed
> appropriate to stop by this thread and introduce myself. We are
> excited about the decision and looking forward to f
Hello everyone,
My name is Chad Auld. I am the Project Leader for Mambo. Seemed
appropriate to stop by this thread and introduce myself. We are
excited about the decision and looking forward to forming a very close
relationship with the CakePHP development team and community. Anyway,
we are h
Nice to meet you :)
On Jul 24, 5:24 pm, cauld <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> My name is Chad Auld. I am the Project Leader for Mambo. Seemed
> appropriate to stop by this thread and introduce myself. We are
> excited about the decision and looking forward to forming a very cl
added Mambo CMS 5.0 [under development]
Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
- or copy & paste it into your browser's address bar if that doesn't
work.
--~--~-~--~~~---~--~~
You received this message because you are sub
On Jul 24, 12:09 am, Gorka <[EMAIL PROTECTED]> wrote:
> Actually, $form->input('TransName.eng.content') renders something like
> this for me:
>
> id="TransNameContent" />
>
> This is obviously not very useful when editing multiple languages at
> the same time (mostly in the admin area for definin
hi i have a number of users and a number of modules. Now within
assigned to each module are a number of roles (stored in their own
table) and each of these roles has a user assigned to it. Thus in
order to be able to display a module details page which shows the
roles and the users assigned to the
hi i have a table containing a number of fields. Is there a way to
make the system check that when some particular fields are no longer
empty an email is sent to a user? thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
For the benefit for other folks that might encounter this...
I have a web dev suite package with apache 2.2 and php5.2.0-dev
I upgraded the php5.2.0dev to php5.2.1 and it worked.
regards,
Harris
On Jul 24, 11:15 am, Nibirus <[EMAIL PROTECTED]> wrote:
> Hi,
>
> BTW, I went ahead and installed ca
you could use afterSave() in your model. Have it check for the fields
and run another function which emails the user. Sorry it's a bit vague
but so is your question. :)
On Jul 24, 6:56 pm, rtanz <[EMAIL PROTECTED]> wrote:
> hi i have a table containing a number of fields. Is there a way to
> make
hi i have a table containing a number of fields. Is there a way to
make the system check that when some particular fields are no longer
empty an email is sent to a user? thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
> function select($fieldName, $options = array(), $selected = null,
> $attributes = array(), $showEmpty = '')
>
> Isn't that clear? :D
Maybe I don't know PHP well enough, but it's not very clear to me...
Would setting $showEmpty to a non-false value do the same thing as
setting one of the $option
Hi Mike
Have a look at the Model chapter of the manual
http://manual.cakephp.org/chapter/models
Look for the section on the model variable $useTable. You should be
able to set the value of userTable before you perform a query.
Something like this:
$this->[ModelName]->useTable = [theDa
I am new to cake and its capabilites, but from what I have seen, it
looks like it could be the perfect solution. I would like to create
one model and one control to handle a bunch of tables. These tables
are created once a day with the date as thier name. I would like to
take the users input fo
How can I update a record to include the current date?
I tried:
$this->Order->id = $orderID;
$this->Order->save(array('done_date' => 'CURDATE()')
However, CakePHP adds single quotes to CURDATE like so:
UPDATE `orders` SET `phase1_complete` = 'CURDATE()' WHERE
`order_id` = '6'
The above S
All of the workflow issues are DOMAIN SPECIFIC PROBLEMS and should *
NOT * be in the framework. If you need a workflow solution you could
use CakePHP to * MAKE * one that did exactly what you needed - or even
better make a general workflow solution and release it as a Behavior /
Component / App_Co
Hey,
The case is:
I've got 2 models(Customer and Server), one is using $useDbConfig =
'crm' the other is using $useDbConfig = 'monitoring'.
Each DB configuration specifies connection to it's own database (crm
and monitoring).
I've got HABTM between these to models, and I need HABTM, but when
que
No, I am not using mod_rewrite. And, yes, it works.
Although somethings must be wrong in the *env* function.
On 24 Juli, 21:06, "chanh.ong" <[EMAIL PROTECTED]> wrote:
> The only time the BASE_URL is define is the mod_rewrite is not being
> use so are you not using mod_rewrite and with your fix i
The only time the BASE_URL is define is the mod_rewrite is not being
use so are you not using mod_rewrite and with your fix it still work?
Thanks
On Jul 24, 11:54 am, matlin <[EMAIL PROTECTED]> wrote:
> I have had some similar problems with a fresh vanilla 1.2, the url's
> aren't rewritten prope
I have had some similar problems with a fresh vanilla 1.2, the url's
aren't rewritten properly when I use the BASE_URL approach.
What I just noticed is that env("SCRIPT_NAME") DOES NOT equal
$_SERVER['SCRIPT_NAME'] for some reason.
I altered the define to use $_SERVER['SCRIPT_NAME'] and now it wor
Hi,
BTW, I went ahead and installed cakephp 1.2.0.5427alpha and run into
this problem. Looks like something unique to my system, any one else
encounter this before?
Notice (8): Undefined variable: html [CORE\cake\libs\view\templates
\layouts\default.ctp, line 35]
Fatal error: Call to a member fu
hi chris,
thanks for this one. but i am well aware of this, or half of this,
that i absolutely search, dig every corner before i start asking. I
searched it all in the groups and i searched google of the error it
returned and what i only got are sites that is also suffering from the
same error as
Hi
I've been following tutorials to process my data and saw the
recommendation to use formTag. But after to have some problems and
search here and there I noticed that it was deprecated.
I said "ok", but I noticed that requirePost is supposed to work with
some hidden data generated by formtag s
For example, I have simle table list (table + paging + filter )
class ArchiveController extends AppController
{
public $uses = array('News');
public $helpers= array('Javascript', 'Time', 'Pagination');
public $components = array ('Pagination');
function index()
Please first take a look at the piece of code below:
if (isset($this->data['availableInstructors']))
foreach ($this->data['availableInstructors'] as $key=>
$value)
{
$this->UserCourse->data['user_id']=$key;
$this->UserCourse->data['course_id']=$t
I have a complex model that works OK using the default Cake HTBM
relationship, but now I have to enhance some areas of my application
that means I have to use a custom delete for a specific HTBM relation,
so I specify in the model:
var $hasAndBelongsToMany = array(
'Category' => array('className'
HI Sam D,
I did read that somewhere here, so I did double check my .htaccess
files, all of which are included in the right directories. All 5 of
them are accounted for.
I also made sure I turned on mod_rewrite on my apache httpd.conf
LoadModule lines.
regards,
Harris
On Jul 24, 9:37 am, "Samue
my guess is that when you uploaded the files to the server (or un
compressed them) that your ftp program or decompressor did not upload
or create the .htaccess files because they are 'invisible'
Sam D
On 7/24/07, Nibirus <[EMAIL PROTECTED]> wrote:
>
>
> Hi Ad,
>
> I tried the following.
>
> http
/**
* Returns a formatted SELECT element.
*
* @param mixed $showEmpty If true, the empty select option is shown.
If a string,
* that string is displayed as
the empty element.
*/
function select($fieldName, $options = array(), $selected = null,
Hi Ad,
I tried the following.
http://localhost/cake_1.1.16.5421/app/webroot/
http://localhost/cake_1.1.16.5421/app/
http://localhost/cake_1.1.16.5421/
with and without the trailing "/".
best regards,
Harris
On Jul 24, 2:16 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 24, 10:36 am, Nibirus
Hi.
Sorry for all these questions. If it's any consolation, I'm putting
together a brief guide for making forms in CakePHP with the form
helper, which is one of the reasons I want to make sure I'm doing
things the right way.
Anyway, my question is about how I should add the option of "none of
t
Gr... why is this double posting? Sorry about that.
On Jul 24, 10:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Ack.. Sorry I meant to put a link to my old thread. So thanks for
> doing that for me.
>
> I guess I'm just having a lot of trouble wrapping my head around this
> problem th
Ack.. Sorry I meant to put a link to my old thread. So thanks for
doing that for me.
I guess I'm just having a lot of trouble wrapping my head around this
problem that I'm trying to solve and I'm looking for advice on what I
have so far. Is it the right direction? What would you all do to get
Another new Cake site hits the wild. www.theladder.bm - Bermuda's Job.
This site is created in Cake 1.1, but all our future projects will be
1.2
Thanks,
Ian
Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
- or copy & paste it into your browser's address bar if
Hello,
Been playing with integrating the 1.2 Auth & Acl components into an
ongoing project. I've encountered an error in the component when it
calls the private _normalizeUrl method when running in DEBUG modes.
This does not appear to popup when in a DEBUG of "0". However, it does
dump the entire
any help on this? thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTE
On Jul 24, 3:34 pm, Steven Chan <[EMAIL PROTECTED]> wrote:
> Yes js is enabled because the Ajax call actually works and data is
> returned. However, not only is the action template rendered but the
> layout is also rendered.
Are you assuming that the header is missing, or you are 100% sure that
Why should the IRC logs be spammed onto GG ? I don't see the point in that
:)
---
Christian "Jippi" Winther
http://docs.cakephp.nu (Unofficial CakePHP API)
http://logs.cakephp.nu (Unofficial CakePHP IRC log)
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] O
Hi AD,
I tried DEBUG on 1, 2 and 3 but no error is generated.
The contact form has no tables associated with it in the database but
does have a model for validation.
The login form uses the othAuth plugin but has a model and table
associated with it. The login happens in users/login in the users
For your problem you could define some associations (somewhere in
config for ex) like :
$languages_assoc = array(
'es-es' => 'es-es',
'spa' => 'es-es',
etc
);
and the modify the code of site\libs\l10n.php, in function
__autoLanguage()
p
Also, I'm using prototype 1.5.1.1, the latest version which I got
directly from the prototype website.
On Jul 24, 6:56 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 24, 12:17 pm, Steven Chan <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > Using Cake1.2alpha on XAMPP. For some reason, when I do an
Yes js is enabled because the Ajax call actually works and data is
returned. However, not only is the action template rendered but the
layout is also rendered.
Steven
On Jul 24, 6:56 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 24, 12:17 pm, Steven Chan <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
I'm also trying to figure this out. There are a couple of threads on
the subject anyway, though I believe nobody has yet managed to do
this. Not in a clean way.
There's also another issue I've found working with i18n, apart from
the known fact that find operations won't return anything if there a
On 7/24/07, onechaos <[EMAIL PROTECTED]> wrote:
>
>
> Hi everyone,
> here I am posting a link to the brief so it describes project better.
> http://noidea.eu/doc/scms_brief.pdf
>
> Let me know if anyone interested in taking this job.
Hi,
Try:
http://withcake.com
Regards,
Gonzalo
--~--~---
YES. I had this exact same problem. Drove me nuts. $session-
>flash() outputs the message directly and returns true/false. In your
view you probably have something like echo $this->flash(), so the
message is getting written and then the return gets written.
On Jul 24, 3:04 am, lgarcia <[EMA
On Jul 24, 5:07 pm, "Christian \"Jippi\" Winther" <[EMAIL PROTECTED]>
wrote:
> See my signature :)
> http://logs.cakephp.nu(Unofficial CakePHP IRC log)
Yes, this what I'm using now. While it's very usable with
hotlinking feature, I still believe that GG will be little more faster
than i
Hi everyone,
here I am posting a link to the brief so it describes project better.
http://noidea.eu/doc/scms_brief.pdf
Let me know if anyone interested in taking this job.
Thanks,
Radek
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
On 7/24/07, eiji <[EMAIL PROTECTED]> wrote:
>
> bump?
>
This link should help.
http://slash7.com/pages
--
Chris Hartjes
Senior Developer
Cake Development Corporation
My motto for 2007: "Just build it, damnit!"
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.
hi sorry bout the two threads this one just developed into an
overlapping one unfortunately, i am not trying to implement access
control at this point.
What i want is a system where you can view a module and see the
associated users and their roles within that module.
Same goes if i view the user
Component should be used with Controller. Now in your model you could
use $this->controller->component to access the component of the
controller.
On Jul 24, 6:33 am, airrob <[EMAIL PROTECTED]> wrote:
> I don't think this message went through last time. If it did, I
> apologize for the duplicate.
Maybe define app/app_controller.php, in which you define beforeFilter,
which will $this->set('database', ) ?
Just be sure to call parent::beforeFilter() if you override on children
controllers.
kbowerma wrote:
I would like to display the database, and database host that I am
connect to
See my signature :)
---
Christian "Jippi" Winther
http://docs.cakephp.nu (Unofficial CakePHP API)
http://logs.cakephp.nu (Unofficial CakePHP IRC log)
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of R. Rajesh Jeba Anbiah
Sent: 24. juli 2007 13:31
anyone can tell me for sure whether i should be using a separate id
field for join tables or whether the primary key should be a compound
key made up of the foreign keys?
i.e.
posts_tags
PK id
post_id
tag_id
OR
posts_tags
PK post_id + tag_id
if both are possible i would like to kn
Thanks for the reply...I figured that's what was the case.
Also, I think I came up with a little different solution...turns out
that $_SERVER['REQUEST_URI'] is not decoded as well...but I guess six
of one...
On Jul 24, 7:56 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 24, 1:39 pm, "[EMAIL PROT
On Jul 24, 1:39 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> As much as I wish that would be the case here (I should've metioned I
> tried that)...the %3F is stripped by the time I have access to it in
> the controller. A print_r on $_GET reveals the entire URL without %3F
> on it.
>
> A
I think, it will be nice if the IRC logs are mirrored to some google
groups (say, cake-php-irc). This way, one could easily search and find
some useful discussions.
--
Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/
--~--~-~--~~~---~--~~
Y
As much as I wish that would be the case here (I should've metioned I
tried that)...the %3F is stripped by the time I have access to it in
the controller. A print_r on $_GET reveals the entire URL without %3F
on it.
Any ideas?
On Jul 24, 7:32 am, Grant Cox <[EMAIL PROTECTED]> wrote:
> rawurldeco
>
>IIRC, some firewalls will strip extra http headers.
I heard you mention this before, but can you provide more information
then this generic kind of FUD ; )?
-- Felix
--
My Blog: http://www.thinkingphp.org
My Business: http://www.fg-webdesign.de
R. Rajesh Jeba Anbi
On Jul 24, 3:17 pm, Steven Chan <[EMAIL PROTECTED]> wrote:
> Using Cake1.2alpha on XAMPP. For some reason, when I do an Ajax Call
> using the Ajax helper (form that automatically update a div) the
> HTTP_X_REQUESTED_WITH header is not set and therefore the
> RequestHandler::isAjax() method always
On Jul 24, 9:48 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> Exciting news -http://www.source.mambo-foundation.org/content/view/126/1/
>
> Will there be a corresponding announcement from CSF?
>
> What does it mean for future of CakePHP?
Things I hope that mambo team will push:
1.
For the site I`m currently working on I am using cake 1.2`s i18N
functionality. I was wondering how can be done saving different
translations at same time.
For example : admin can add a category, wich title is defined:
var $actsAs = array('Translate' => array('title'));
When admin is adding new ca
I'm developing an application where a parameter to a certain function
is actually a URL-safe string created using rawurlencode(). I'm using
this string to find matching data from the DB. However, is it not
possible to retrieve question marks '?' that have been encoded using
rawurlencode() and show
On Jul 24, 12:17 pm, Steven Chan <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Using Cake1.2alpha on XAMPP. For some reason, when I do an Ajax Call
> using the Ajax helper (form that automatically update a div) the
> HTTP_X_REQUESTED_WITH header is not set and therefore the
> RequestHandler::isAjax()
On Jul 24, 12:04 pm, rtanz <[EMAIL PROTECTED]> wrote:
> i looked at access control too but i think i can do it with tables, at
> least thats what id like to do as access control seems more complex
So you are trying to implement access control or something else?
What tangible meaning does "modu
The automagic param pushing is only done when delegated from a model.
For example you if have a model and behavior:
class Coffee extends AppModel {
var $actsAs = array('Stimulant');
}
class StimulantBehavior extends ModelBehavior {
function wakeUp(&$model) {
// Do something
}
}
If yo
Hi all,
Using Cake1.2alpha on XAMPP. For some reason, when I do an Ajax Call
using the Ajax helper (form that automatically update a div) the
HTTP_X_REQUESTED_WITH header is not set and therefore the
RequestHandler::isAjax() method always returns false. Is there a
problem with my set up? I looked
i looked at access control too but i think i can do it with tables, at
least thats what id like to do as access control seems more complex
On Jul 24, 12:51 am, Geoff Ford <[EMAIL PROTECTED]> wrote:
> >From what I see, you want to connect users to roles and then roles to
>
> modules and it appears
Hi,
I've been playing with behaviors for a project and I want to ask if
behavior methods "automagically" get the model as the first argument.
This seems clear with callback methods, but I found this happening in
public methods as well. So, I guess you can invoke a method form a
behavior wi
On Jul 24, 10:36 am, Nibirus <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to learn CakePhp and installed the newest version indicated
> above, and have spend about 5 hours looking through online docs, this
> message area, and also added debugging code to figure out why I'm
> getting this erro
On Jul 24, 11:03 am, "virtualj(at)gmail.com" <[EMAIL PROTECTED]>
wrote:
> I just removed the forms created with the form helper and put the form
> in in html and this works. the page shows and i can use the form.
> Verry strange.
> But the problem with the 'hard coded' form is that it doesn't sh
I just removed the forms created with the form helper and put the form
in in html and this works. the page shows and i can use the form.
Verry strange.
But the problem with the 'hard coded' form is that it doesn't show the
validation errors.
On Jul 24, 10:44 am, "virtualj(at)gmail.com" <[EMAIL PR
Hi,
I'm trying to learn CakePhp and installed the newest version indicated
above, and have spend about 5 hours looking through online docs, this
message area, and also added debugging code to figure out why I'm
getting this error for my new install. Might be something simple, from
reading the doc
I thought so to so I cleared the whole tmp dir but the login form
still gives an empty page, allso my contact form gives an empty page.
Both pages have a form in the view so I removed the form and then the
page showed. For some reason having something like input('Contact.name');?> on the page resu
On Jul 24, 6:09 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi thanks for the reply.
>
> An example would be that one row of the database can have many parents
> and many children.
why the new thread for the same topic as before...? $Karma--;
At the very least include a link to it* to
I have this message function to show flash messages and it returns me
a "1" after any message is showed... anyone knows why?
function _message($message, $url = false, $value = false, $error =
false)
{
if ($value) {
$message = sprintf($mess
But if i have not any association between categories and projects, how
i'll achieve my goal?
On 24 jul, 00:43, Grant Cox <[EMAIL PROTECTED]> wrote:
> You should temporarily bind the association with the required
> project_id, in the controller action. There are a large number of
> ways of bindin
83 matches
Mail list logo