Hi,
I want to implement chat in my cakephp. I did a search over the net
and found only one Ajax Chat Plugin, but i have two issues in it:
1. How to implement it. I am getting problems in that.
2. Is this is the only plugin available for chat in cakephp??
Thanks
--
Our newest site for the
I am just trying out the new JS helper and going thru the book I simply
added this into the middle of a random page to test it out
?php $this-Html-scriptStart(array('inline' = false, 'cache' = true));
echo $this-Js-alert('I am in the javascript');
$this-Html-scriptEnd();?
In the layout
Krissy,
I think js-writebuffer is for something else ...
Just move the js stuff from header to bottom as:
?php echo $this-Html-script('jquery.js'); ?
?php echo $scripts_for_layout; ?
/body
/html
Andras Kende
http://www.kende.com
On Mar 29, 2011, at 2:25 AM, Krissy Masters wrote:
I am just
maybe you can use other opensource chat system, and plug it in your cake
app...
or you build a new one with your knowledge.
i choose build it from zero myself, so i can also practice my coding
experience.
tq
On Tue, Mar 29, 2011 at 2:12 PM, Shashank cooldude17202...@gmail.comwrote:
Hi,
I
Ya i think you are right. Building it from zero will be a gud idea.
On Tue, Mar 29, 2011 at 1:31 PM, Phang Mulianto braveh...@gmail.com wrote:
maybe you can use other opensource chat system, and plug it in your cake
app...
or you build a new one with your knowledge.
i choose build it from
I tried implementing the Ajax Chat but getting some problems in it.
1. When i click on Send, it takes me to a blank chat/post page. and if i
come back to my original page its showing something like ds
Loading...
Name
Message
I am not getting where i am doing wrong. Even while implementing the
Hello CakePHP,
Trying to implement a CouchDB datasource and to closely follow the CakePHP
guidelines,
I'm in a trick situation :
When saving a new record, it's required to have the fields matching the schema
: https://github.com/cakephp/cakephp/blob/master/cake/libs/model/model.php#L1308
So,
I've setup downloading of PDF files using the media view. It's working
great and I can basically force authentication prior to users
downloading the files.
The one problem I've run into is that once a PDF file goes over a
certain size, the file won't download. I'm given the prompt to
download the
Hi,
I have searched in google on the topic jquery and ajax in cakephp, but
the articles shown are somewhat complex. are there any examples or
samples here so that i can learn.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP
Hi,
I have searched in google on the topic jquery and ajax in cakephp, but
the articles shown are somewhat complex. are there any examples or
samples here so that i can learn.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP
Hello CakePHP,
Trying to implement a CouchDB datasource and to closely follow the
CakePHP guidelines,
I'm in a trick situation :
When saving a new record, it's required to have the fields matching
the schema :
https://github.com/cakephp/cakephp/blob/master/cake/libs/model/model.php#L1308
So, i
Hi!
Can anybody tell me what does it takes to get a website with wildcard
dns configured and properly functional.
I read about wildcard DNS and the following are my findings -:
1. Need to add a A type record [as my hosting company is godaddy and
they doesn't support CNAME]
2. Add ServerAlias in
I tried to put all the files like controller, model, js,css into the plugin
folder. But now when i click on send i get this error
*The requested address '/chat/post' was not found on this server.*
On Tue, Mar 29, 2011 at 2:59 PM, Shashank cooldude17202...@gmail.comwrote:
I tried implementing
Ryan,
I have changed my apache *Document root*: /cakephp in httpd.conf. but m
getting The page isn't redirecting properlyerror.
What are other parameters to set?
Thanks
Pushpa
On Tue, Mar 29, 2011 at 5:42 AM, Ryan Schmidt google-2...@ryandesign.comwrote:
On Mar 28, 2011, at 08:08,
Hi,
I struggle...
I have the following statement:
$list = $this-paginate('Member');
Which returns an array (in short) like this:
Array
(
[0] = Array
(
[Member] = Array
(
[id] = 5
)
[Payment] = Array
Greetings,
3. Upload .htaccess with necessary modifications.
Why would you want to modify .htaccess? This step is not
needed for CakePHP to work on multiple subdomains.
I am using CakePHP and i have tried performing all the three steps.
But whenever I type something like
xyz.domain.com [say
Dear reader,
I've noticed this post and I have a similar issue concerning the use
of multiple file upload in CakePHP. I'm rather new to CakePHP
development but i'm familiar with programming and the MVC concept.
I'm developing on cakephp 1.3.7 and use MeioUpload as FileUpload
component (url:
On Mar 29, 2011, at 06:00, Daniel S. Reichenbach wrote:
Have you properly configured your VirtualHost ... / settings inside
Apache? You need one virtual host for domain.com, and one to be used
for any name using *.domain.com, and *both have to point to the same
DocumentRoot*.
No reason you
No reason you can't to both within the same VirtualHost.
VirtualHost *:80
ServerName example.com
ServerAlias *.example.com
DocumentRoot /path/to/cakephp/app
...
/VirtualHost
True, but you may want to run a different CakePHP application on the
main site in some
Hi all. I am an noobe here.I want to be able to cancel an action before its
execution.The scenario is as follows. I have a navifgation bar. When I press
a link I check if the current URL is the same as that of the link.If it is I
want to prevent the controller to execute the action which renders
use a condition within the action and redirect setting a flash message to
show feedback to user
- S
On 29 March 2011 13:37, Michael Iv explomas...@gmail.com wrote:
Hi all. I am an noobe here.I want to be able to cancel an action before
its execution.The scenario is as follows. I have a
You can troubleshoot this easily by following these steps:
1. Send e-mail;
2. Verify if e-mail is delivered;
3. Change template for e-mails;
4. Delete cache files (without modifying the dir structure);
5. Send an e-mail (using the new template);
6. Verify if e-mail is delivered and template has
Try following
$this-Member-bindModel(array('hasOne' = array('Payment')),
false);
$this-Member-unbindModel(array('hasMany' =
array('Payment')), false);
$this-paginate['Member']['contain'] = array('Payment') //
make sure Member Model actAs Containable
$results =
Is there any way to sync tables schema between two databases?
I have already set up a script to push source code to live whenever
it's ready, but
i want to know there is a way to sync tables to make sure any changes
on database
will be updated to live database as well. I know there are a couple of
My scripts are compressed so the standard echo $scripts_for_layout does not
apply for me. I will keep messing around to see what I can come up with.
Thanks
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of Andras Kende
Sent: Tuesday, March
i would expect saveAll to return either true or false
but instead it returns an array with the individual results
so i cannot use something like
if ($x = $this-BoardTopic-saveAll($this-data['BoardTopic'],
array('validate'='only'))) {
...
}
how do you do that?
loop over the result first to
I things browser or email css issue refresh caching and try to it
On Tue, Mar 29, 2011 at 9:56 AM, Ryan Schmidt google-2...@ryandesign.comwrote:
On Mar 28, 2011, at 23:23, Krissy Masters wrote:
Using just the Email Component, no add ons and something weird is going
on. I get the email but
I need to paginate a list of results having the search return the results in
the order I presented the list to the search. I'm trying to paginate a list
of users but I'm using a separate table to define the order, there is no
column in the users table to use for the order.
Here is an example of
Hey guys,
i was just wondering that all files of cakephp are encoded in ANSII
and not in utf-8 without bom.
Even though your default settings for the encoding in the database and
the files are utf-8.
I thought everything has to be utf-8 to make a project with utf-8 work
probably?
Are there any
utf8 and ansii is exactle the same as long as you dont use special
chars!
meaning:
if you use english in your views and translate them via locale (po
files)
you dont need to save them as utf8
but IF you use utf8 chars in your one of your views you gotto save
this one correctly
On 29 Mrz.,
Yep, here's the offending code (also available in the github repo for
CakePHP Datasources).
/**
* Returns an array of sources (tables) in the database.
*
* @return array Array of tablenames in the database
*/
function listSources() {
$cache = parent::listSources();
Just a heads up to anyone who upgrades to CakePHP 1.3.8. The current
version seems to ignore the -app parameter for shells so all of my
cron jobs broke.
I would see errors like: Error: Class MyShell could not be loaded.
The problem has been fixed but not released yet. You can grab the
updated
Do you mean Replicationhttp://dev.mysql.com/doc/refman/5.1/en/replication.html
?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To
i use mysqlTool a software which does exactly that
there might be some shell tools for cake - but they usually don't
support all the elements (at least not the ones I needed) - so I didnt
follow that any further
On 29 Mrz., 23:04, Zaky Katalan-Ezra procsh...@gmail.com wrote:
Do you mean
Hi people
I am on a question about languages and seo.
I has a cms that support differents languages, the question is how to use
this languages on a subdomain like
eng.mysite.com
esp.mysite.com
or a directory
mysite.com/eng
mysite.com/esp
i have read some articles like the make a language
On Mar 29, 2011, at 17:52, Carlos Eduardo Sotelo Pinto wrote:
I has a cms that support differents languages, the question is how to use
this languages on a subdomain like
eng.mysite.com
esp.mysite.com
or a directory
mysite.com/eng
mysite.com/esp
i have read some articles like
On Mar 29, 2011, at 11:29, cake-learner wrote:
Is there any way to sync tables schema between two databases?
I have already set up a script to push source code to live whenever
it's ready, but
i want to know there is a way to sync tables to make sure any changes
on database
will be updated
On Mar 29, 2011, at 12:44, func0der wrote:
i was just wondering that all files of cakephp are encoded in ANSII
and not in utf-8 without bom.
Even though your default settings for the encoding in the database and
the files are utf-8.
I thought everything has to be utf-8 to make a project
I understand an dI like your point of view using directory languages for
seo, the question the will be
What could it be the best way for make this address?, I think it could be
done editing the url helper for make the links, and a function on app
controller for get the params or use a router,
On Mar 29, 2011, at 18:09, Ryan Schmidt wrote:
Files that don't contain special characters (i.e. no characters above
codepoint 127) don't have an encoding, and can be said to be in any encoding
-- UTF-8, ASCII, ISO-8859-1 -- doesn't matter, they're all the same for the
lower 127
On Tue, Mar 29, 2011 at 4:13 AM, swimwithabhra meet.ab...@gmail.com wrote:
Hi!
Can anybody tell me what does it takes to get a website with wildcard
dns configured and properly functional.
I read about wildcard DNS and the following are my findings -:
1. Need to add a A type record [as my
Thanks a lot Stephen.
I never realized that valid() is not an official method anymore.
Regards.
On 28 mar, 03:54, Stephen step...@ninjacodermonkey.co.uk wrote:
$this-Session-valid() isn't listed as an official method in
1.3http://book.cakephp.org/view/1466/Methods
Perhaps you want to try:
Model have schema() method which call describe() method of data source
if supported. For manual per-model schemas you can override its
schema() method. For datasource-managed schemas you should take a look
into its describe() method.
On 29 мар, 03:50, Clément Hallet clem...@challet.eu wrote:
43 matches
Mail list logo