Re: google webmastertools

2012-01-03 Thread baretong
last week some one said that, that couse of my debug > 0 so errorcode populate keywords in my web page, so last week i change my debug in core.php to 0 but until today nothing change array null empty still populate my page i need other suggestion thanks www.baretog.com 2011/12/29 baretong > D

Is there anything already built for Video Conferencing in web application using cakephp/mysql

2012-01-03 Thread Sanjib Dhar
I have to implement Video Conference enable site using cakephp,how to do that? -- 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 unsubscr

Re: Having PHP generate a PDF

2012-01-03 Thread Yves S. Garret
Not sure if that will cut the mustard. I looked at the list of features and it did not include what I had in mind. Have you tried this before to resolve the problem that I have? On Jan 3, 2012, at 10:53 PM, NdJ wrote: > Hi Yves, > > I've used wkhtmltoxdoc for a number of PDF generation task

Re: How to develop application on Facebook with CakePHP?

2012-01-03 Thread Tran Cao Thai
what about this http://www.webtechnick.com/blogs/view/229/CakePHP_Facebook_Plugin_Auth_Facebook_and_more On Wed, Jan 4, 2012 at 9:47 AM, vino yulian wrote: > Hi all,, I am student and my final project is development online > application with CakePHP framework on Facebook.. > Then, I am finished

How to develop application on Facebook with CakePHP?

2012-01-03 Thread vino yulian
Hi all,, I am student and my final project is development online application with CakePHP framework on Facebook.. Then, I am finished about the application, so now i have no idea to integrated my application to Facebook.. Anyone guys have experience or solution about my problem, because i have don

Re: Having PHP generate a PDF

2012-01-03 Thread NdJ
Hi Yves, I've used wkhtmltoxdoc for a number of PDF generation tasks in the past. I'd be surprised if you can't do what you need, check it out here:- * http://madalgo.au.dk/~jakobt/wkhtmltoxdoc/wkhtmltopdf-0.9.9-doc.html Cheers, N On Jan 3, 10:45 am, "Yves S. Garret" wrote: > Here is my probl

CakePHP 2.0 Ldap Datasource and Ldap Authentication

2012-01-03 Thread Analog Rithems
Following the new CakePHP 2.0 release I've update the Ldap Datasource and created a new Auth Component that follows the new framework. I've got a small blog post about it here http://www.analogrithems.com/rant/2012/01/03/cakephp-2-0-ldapauth/ -Analog -- Our newest site for the community: CakeP

Re: session.gc_maxlifetime

2012-01-03 Thread euromark
"IMO Cake should set gc_maxlifetime to 'timeout' config" do you say that it should but doesnt right now? or do you mean: it already does? because from looking at the code I could not confirm that thx! On 3 Jan., 23:11, majna wrote: > fixed typo: > > Configure::write('Session', array( >        

Re: CakePHP 2: Importing Plugin/Config/custom_config.php

2012-01-03 Thread Salines
Thank you -- 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 unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.

Re: How to add varied content in posts?

2012-01-03 Thread Daniel
On Jan 3, 7:42 pm, euromark wrote: ... > i usehttp://nbbc.sourceforge.net/ Thanks, it looks good. -- 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 que

Re: session.gc_maxlifetime

2012-01-03 Thread majna
fixed typo: Configure::write('Session', array( 'defaults' => 'php', 'ini'=>array('session.gc_maxlifetime'=>240*60) )); -- 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 hel

Re: session.gc_maxlifetime

2012-01-03 Thread majna
IMO Cake should set gc_maxlifetime to 'timeout' config (4 hours by default) for 'cake' and 'php' handlers. or use Configure::write('Session', array( 'defaults' => 'php', 'ini'=>array('session..gc_maxlifetime'=>240*60) )); But, some nix distros like debian, ubuntu etc. are us

Re: session.gc_maxlifetime

2012-01-03 Thread euromark
nobody else bothered by the short default lifetime? :) On 2 Jan., 14:14, euromark wrote: > Woudnt it make sense for the CakeSession to modify the > session.gc_maxlifetime param, as well? > As of right now it just sets the other params. > But the session file still gets "deleted" way too soon in

Re: Having PHP generate a PDF

2012-01-03 Thread Laerte M. Rodrigues
use jaspter reports with PHP to generate document files 2012/1/3 euromark > @roundrightfarm > I dont think such a helper is part of the core, though :) > > > On 3 Jan., 17:25, "Yves S. Garret" wrote: > > That sounds interesting, but will it work with my requirement of having > the > > header an

Re: CakePHP 2: Importing Plugin/Config/custom_config.php

2012-01-03 Thread majna
app/Config/bootstrap.php: CakePlugin::load('MyPlugin', array('bootstrap'=>true)); MyPlugin/Config/bootstrap.php: $custom = array( 'datasource' => 'Database/Mysql', 'encoding' => 'utf8', 'persistent' => false, 'host' => 'localhost', 'login' => 'root',

Re: Having PHP generate a PDF

2012-01-03 Thread euromark
@roundrightfarm I dont think such a helper is part of the core, though :) On 3 Jan., 17:25, "Yves S. Garret" wrote: > That sounds interesting, but will it work with my requirement of having the > header and the title get copied over to the next page with the table? > > On Tue, Jan 3, 2012 at 11:

Problems with Datasources - FIREBIRD

2012-01-03 Thread Djonatan Buss
We are using the Firebird DBMS and it seems that either I'm doing something wrong or theres some error when using the Datasources plugin in CakePHP 2.0.4 We have tried some ways to solve this problem and currently we have: (base is our folder name) *Plugin path:* /var/www/base/app/Plugin/Datasou

Re: How to add varied content in posts?

2012-01-03 Thread euromark
you can make up your own stuff [box]...[/box] for example or [box color=green]...[/box] or [box type=info]...[/box] whatever you want i use http://nbbc.sourceforge.net/ it's pretty sophisticated I added some rules like that protected $_addRules = array( 'highlight' => arr

Re: bbcode for youtube link not working

2012-01-03 Thread Daniel
I was using the wrong syntax, I should have used: [youtube=kcc_KAhwpa0][/youtube] -- 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 unsub

bbcode for youtube link not working

2012-01-03 Thread Daniel
I am using bbcode.php from http://www.phpclasses.org and I am trying to add a tag for youtube: $bbcode- >add_tag(array('Name'=>'youtube','HasParam'=>true,'HtmlBegin'=>'http://www.youtube.com/v/%%P%%";>http://www.youtube.com/v/%%P%%"/>','HtmlEnd'=>'')); When I try it out with the f

Re: Redirect a user if he wants to see a page when logged in

2012-01-03 Thread J.
Ok I reread some of the above comment, didn't knew what render was, so I searched a little, and this works: Session->check('Auth.User.id')) { echo $this->element('home_logged'); } else { echo $this->element('home'); } ?> Thanks ! On 3 jan, 19:33, "J." wrote: > Actually I still

Re: How to add varied content in posts?

2012-01-03 Thread Daniel
On Jan 3, 1:29 am, euromark wrote: > my favorite is bbcode, as well. Which version of bbcode parser do you use? -- 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 Cak

Re: Redirect a user if he wants to see a page when logged in

2012-01-03 Thread J.
Actually I still can't solve my problem. Here is simply what I want : - If a non logged in users goes to my site he sees homepage A - If a logged in user goes to my site he sees homepage B I have the code for the two homepages ready, but I can't do : Session->check('Auth.User.id')) { ec

Problem with constant WWW_ROOT in console.

2012-01-03 Thread Điển vũ
My problem same with this topic https://groups.google.com/forum/#!topic/cake-php/WWbLFXnXv3k but i used his way (cake -webroot .. )but can't my directory structure /cakephp /app /webroot but when debug(WWW_ROOT) in console it still d:\htdocs\cakephp\app\webroot\ How can i do it ret

CakePHP 2 and jquery.form plugin

2012-01-03 Thread simofox
Hello everyone, first of all I apologize for my English. I have a problem with jquery.form plugin (http://jquery.malsup.com/form/). I'm trying to make a form (who appears in a jqueryui modal dialog) to add a "Client" if it is not present in a select in another model add view. To do this I us

Re: Using Configure or other methods to set app-wide "constants"

2012-01-03 Thread geste
Euromark, Good point. This is an intranet app protected by a SSO sign-on that sets REMOTE_USER. I am trying to set 3 global variables at the outset such as REMOTE_USER that will be visible to all other components. This will include a user-specific identifier that will require a table lookup. So

Re: How to add varied content in posts?

2012-01-03 Thread Daniel
Do you know how to highlight a block of code with a coloured box using bbcode? -- 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 unsubscr

Re: Using Configure or other methods to set app-wide "constants"

2012-01-03 Thread geste
Thiago, Thanks. Yes that approach was what I tried first but trying to declare that in app_controller.php actually led to a white screen. Jim On Jan 3, 6:10 am, Thiago Belem wrote: > About the: > > var $ipaddr=$_SERVER['REMOTE_ADDR']; > > I don't think this is possible since class attributes m

Re: How to "custom belongsto" in CakePHP 2?

2012-01-03 Thread Cristian Deluxe
Thanks AD7six, i also tried it in my previous test but Cake never render the page, it seems to make a loop and it fails with this error: Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp \htdocs\MyAppName\trunk\lib\Cake\Model\Datasource\DboSource.php on line 1436 var

Re: Having PHP generate a PDF

2012-01-03 Thread Yves S. Garret
That sounds interesting, but will it work with my requirement of having the header and the title get copied over to the next page with the table? On Tue, Jan 3, 2012 at 11:22 AM, roundrightfarm wrote: > I'm new to ckaephp so take my advice with a grain of salt... but, it > looks like your trying

Re: Having PHP generate a PDF

2012-01-03 Thread roundrightfarm
I'm new to ckaephp so take my advice with a grain of salt... but, it looks like your trying to generate a spreadsheet type document. Cake has a csv helper to aid in this add var $helpers = array('Csv'); to your controller then you can $csv->addRow(); $csv->render(); On Jan 3, 7:45 am, "Yves S

Re: Using Configure or other methods to set app-wide "constants"

2012-01-03 Thread euromark
you didnt specify if you want them available app-wide for this request ONLY or more persistent without knowing that it is pure speculation (as bujanga did) what best to use. non-persistent: - constants (one user) - Configure (one user) persistent - (cache) files (all user) - db (all user) - sessi

Having PHP generate a PDF

2012-01-03 Thread Yves S. Garret
Here is my problem. I would like to have PHP generate a PDF 8.5" x 11". This is the rough format of the PDF: http://bin.cakephp.org/view/2006656317 But here is the kicker, say that those columns that hold data are much longer, say they span 2 pages. On the 2nd page, I would like to repeat the Hea

links in a "nested app"

2012-01-03 Thread roundrightfarm
I have a demo of my cake app nested inside my main app with a url like so localhost/demo/users/autologin the demo folder contains all the folders of a cakephp app such that when I reference a pdf file like it looks in the webroot folder in the demo app. How can can I reference the pdf file, w

Re: Using Configure or other methods to set app-wide "constants"

2012-01-03 Thread Thiago Belem
About the: var $ipaddr=$_SERVER['REMOTE_ADDR']; I don't think this is possible since class attributes must receive literal values, you can't pass a variable on the class definition, only inside a method or constructor. -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil +55 (21) 8865

Re: CakePHP 2.0.5 and 1.3.14 released

2012-01-03 Thread Kanwal
Thanks for such a great php Framework Kanwal http://www.123status.com http://www.123fbcovers.com http://www.techversys.com On Dec 29 2011, 8:18 am, mark_story wrote: > The CakePHP core team is proud to announce the immediate availability > of CakePHP 2.0.5 [1] and CakePHP 1.3.14 [2]. > > In tota

Re: CakePHP 2.0.5 and 1.3.14 released

2012-01-03 Thread Kanwal
Thanks for such a great php Framework Kanwal http://www.123status.com";>123status.com http://www.123fbcovers.com";>123fbcovers.com On Dec 29 2011, 8:18 am, mark_story wrote: > The CakePHP core team is proud to announce the immediate availability > of CakePHP 2.0.5 [1] and CakePHP 1.3.14 [2]. > >

Re: Using Configure or other methods to set app-wide "constants"

2012-01-03 Thread Kanwal
http://techversys.com";>Techversys -- 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 unsubscribe from this group, send email to cake-php

Re: Validation + Mongo Datasource

2012-01-03 Thread AD7six
On Dec 27 2011, 3:59 pm, RhythmicDevil wrote: > Hi all, > I am trying to get validation working for my application but I am > getting some weirdness. I have setup a custom RBAC implementation > using MongoDB and Ichikaway's datasource. > > https://github.com/ichikaway/mongoDB-Datasource > > I am

CakePHP 2: Importing Plugin/Config/custom_config.php

2012-01-03 Thread Salines
What is right cakephp 2.0 way to import/include custom_config.php file from my plugin. ? custom_config.php is custom database configuration file . exmpl: class CUSTOM_CONFIG{ public $service => array( .. .. ); } -- Our newest site for the community: CakePHP V

Re: How to "custom belongsto" in CakePHP 2?

2012-01-03 Thread AD7six
On Jan 3, 11:23 am, Cristian Deluxe wrote: > Hey thanks : ) > > I've tried this but seems like CakePHP doesn't parse the condition > correctly: > >         var $belongsTo = array( >                         'Wdevice' => array( >                                                                 'cla

Re: How to "custom belongsto" in CakePHP 2?

2012-01-03 Thread Cristian Deluxe
Hey thanks : ) I've tried this but seems like CakePHP doesn't parse the condition correctly: var $belongsTo = array( 'Wdevice' => array( 'className' => 'Wdevice',

Re: Routing to /img a request to /app/img

2012-01-03 Thread Mario
Hi Andy, great, I suspected this could be done both ways, but really hadn't a clue about how. Now thank to your suggestions I solved it with Media Views, see http://book.cakephp.org/2.0/en/views/media-view.html Quite sure that adding a mod_rewrite rule is cleaner and more efficient, I might try t

Re: cakephp 2.0.4: How to use Session Component in Plugin Components?

2012-01-03 Thread Salines
Ok, now works. Thanks -- 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 unsubscribe from this group, send email to cake-php+unsubscr...@

Re: cakephp 2.0.4: How to use Session Component in Plugin Components?

2012-01-03 Thread 清水紘己
You should make the component extend 'Component' class. 2012/1/3 Salines : > http://bin.cakephp.org/view/1662957875 > > -- > 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 t

Re: REST Error Handling

2012-01-03 Thread Thomas Ploch
The Custom Exception Handler should also send out correct headers. :-) On 03.01.2012 10:06, Matteo Landi wrote: On Jan/02, Will wrote: Hi all, I'm looking for a way to return a generic error every time something goes wrong with a REST request. So for example, I would like to return a simple

Re: cakephp 2.0.4: How to use Session Component in Plugin Components?

2012-01-03 Thread Salines
http://bin.cakephp.org/view/1662957875 -- 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 unsubscribe from this group, send email to cake-

Re: cakephp 2.0.4: How to use Session Component in Plugin Components?

2012-01-03 Thread Salines
No, I did not forget to add I modify Neil Crookes twitter component to use in CakePHP 2.0.x -- 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.

Re: REST Error Handling

2012-01-03 Thread Matteo Landi
On Jan/02, Will wrote: > Hi all, > > I'm looking for a way to return a generic error every time something > goes wrong with a REST request. So for example, I would like to > return a simple, XML response like: > > > There was a problem processing your request. > > > Anytime something goes w