I would have to see your code to understand what your are doing
On Tuesday, September 30, 2014 3:17:26 PM UTC+2, Radharadhya Dasa wrote:
Thank you. Silly things sometimes hard to find...
echo $this-Form-autocomplete('name');
Now I do not have any error message but no code is generated the
1. /src/View/Widget/Autocomplete.php
?php
namespace App\View\Widget;
use Cake\View\Widget\WidgetInterface;
use Cake\View\Form\ContextInterface;
class Autocomplete implements WidgetInterface {
protected $_templates;
public function __construct($templates) {
$this-_templates =
Show us the from template for autocomplete
I do not have anything else. Should I?
Rrd
T
On Tue, Sep 30, 2014 at 7:59 PM, Radharadhya Dasa r...@1108.cc wrote:
1. /src/View/Widget/Autocomplete.php
?php
namespace App\View\Widget;
use Cake\View\Widget\WidgetInterface;
use
Yes, you should have a form template called autocomplete which your widget
is using.
See
http://book.cakephp.org/3.0/en/core-libraries/helpers/form.html#customizing-the-templates-formhelper-uses
and
http://www.sanisoft.com/blog/2014/08/11/twitter-bootstrap-forms-cakephp-3/
Specifically Step 2
change. Just make sure that your DB table matches what the
plugin expects *or* configure the fieldmap of the behavior to reflect your
tables fields. If you don't have an users table yet, the plugin comes with
a DB migration for the official CakePHP 3.0 migrations plugin.
I don't have an active 3.0
Dear all.
This so stupid but please help me.
In my cell: *app/src/View/Cell/MyCell.php*
i'm use public $helpers = ['Html'];
In my cell view: *app/src/Template/Cell/MyCell/display.ctp*
?php
$this-Html-link('name', ['controller' = 'mycontroller', 'action' =
'myaction', 'param']); // This one work
Where did you put that generateLink() function?
Helpers can only be used in the templates and from other helpers. What you
are trying to do is not possible. You can create other helpers that can
call the Html helper internally
On Tuesday, September 2, 2014 1:57:30 PM UTC+2, Nguyễn Anh Tuấn
` - -118.244)) / 180) * 1, 5) AS `distance` FROM
`hockeypickup`.`locations` AS `Location` HAVING distance 100 ORDER BY
`distance` ASC, `name` ASC LIMIT 200
on CakePHP 3.0 this is far as I got :
$query = $this-find('all', array(
'limit' = 200,
'order' = array(
// 'distance' = 'ASC',
'name
) * (`lng` -
-118.244) * (`lng` - -118.244)) / 180) * 1, 5) AS `distance` FROM
`hockeypickup`.`locations` AS `Location` HAVING distance 100 ORDER BY
`distance` ASC, `name` ASC LIMIT 200
on CakePHP 3.0 this is far as I got :
$query = $this-find('all', array(
'limit' = 200
Trying something very simple here
In my Listener I am trying to get
$event-subject()-id
but I keep getting Table App\Model\Table\PostsTable is not associated
with id
What am I missing here?
Tarique
--
=
Hire a CakePHP dev team :
You probably want to use $event-data instead. Also, remember that
listeners get the data as arguments, so if you want the entity Id add the
$entity as the second argument of the function.
On Tuesday, August 26, 2014 2:00:49 PM UTC+2, Dr. Tarique Sani wrote:
Trying something very simple here
Thanks $event-data does the trick, $entity as second argument does not
appear with Id hydrated.
Cheers
Tarique
On Tue, Aug 26, 2014 at 6:08 PM, José Lorenzo jose@gmail.com wrote:
You probably want to use $event-data instead. Also, remember that
listeners get the data as arguments, so if
BY
`distance` ASC, `name` ASC LIMIT 200
on CakePHP 3.0 this is far as I got :
$query = $this-find('all', array(
'limit' = 200,
'order' = array(
// 'distance' = 'ASC',
'name' = 'ASC',
),
'conditions' = $conditions,
'select
Capelle capelle...@gmail.com
wrote:
Hi everyone,
I am porting my CakePHP 2.0 helpers to CakePHP 3.0 and I am facing
some troubles with my custom FormHelper. The helpers are made to be used
with bootstrap, the two form helpers can be found here:
• CakePHP 2 - https://github.com
=form-group input
{{type}}{{required}}{{content}}/div’,
or create a custom widget, depending on how much customisation you
want
On 01 Aug 2014, at 12:24, Mikaël Capelle capelle...@gmail.com
wrote:
Hi everyone,
I am porting my CakePHP 2.0 helpers to CakePHP 3.0 and I am facing
Hi Team,
After a composer update command on my cakephp 3.0 I am getting a fatal
error as following.
*Warning*:
require(/Applications/XAMPP/xamppfiles/htdocs/prms.panovus.com/public_html/vendor/cakephp/cakephp/src/bootstrap.php):
failed to open stream: No such file or directory
In more than a few places compatibility was broken to create better cohesion
across CakePHP.
You can write the configuration as :
$obj-config();
$obj-config('engine');
$obj-config(['key' = 'value', 'key2' = 'value']);
$obj-config('key', 'value');
All classes that have settings can be
The config folder was moved out of src, it should be placed on the root
folder with the name config:
https://github.com/cakephp/app/tree/master/config
On Monday, August 4, 2014 12:24:06 PM UTC+2, Jipson Thomas wrote:
Hi Team,
After a composer update command on my cakephp 3.0 I am getting
, at 12:24, Mikaël Capelle capelle...@gmail.com
wrote:
Hi everyone,
I am porting my CakePHP 2.0 helpers to CakePHP 3.0 and I am
facing some troubles with my custom FormHelper. The helpers are made
to be
used with bootstrap, the two form helpers can be found here:
• CakePHP 2
/cakephp/app/tree/master/config
On Monday, August 4, 2014 12:24:06 PM UTC+2, Jipson Thomas wrote:
Hi Team,
After a composer update command on my cakephp 3.0 I am getting a fatal
error as following.
*Warning*: require(/Applications/XAMPP/xamppfiles/htdocs/
prms.panovus.com/public_html/vendor
capelle...@gmail.com
wrote:
Hi everyone,
I am porting my CakePHP 2.0 helpers to CakePHP 3.0 and I am
facing some troubles with my custom FormHelper. The helpers are made
to be
used with bootstrap, the two form helpers can be found here:
• CakePHP 2 - https://github.com/Holt59/cake
Hi everyone,
I am porting my CakePHP 2.0 helpers to CakePHP 3.0 and I am facing some
troubles with my custom FormHelper. The helpers are made to be used with
bootstrap, the two form helpers can be found here:
- CakePHP 2 -
https://github.com/Holt59/cakephp-bootstrap3-helpers/blob
wrote:
Hi everyone,
I am porting my CakePHP 2.0 helpers to CakePHP 3.0 and I am facing some
troubles with my custom FormHelper. The helpers are made to be used with
bootstrap, the two form helpers can be found here:
* CakePHP 2 -
https://github.com/Holt59/cakephp-bootstrap3-helpers
, depending on how much customisation you want
On 01 Aug 2014, at 12:24, Mikaël Capelle capelle...@gmail.com
javascript: wrote:
Hi everyone,
I am porting my CakePHP 2.0 helpers to CakePHP 3.0 and I am facing some
troubles with my custom FormHelper. The helpers are made to be used
{{type}}{{required}}{{content}}/div’,
or create a custom widget, depending on how much customisation you want
On 01 Aug 2014, at 12:24, Mikaël Capelle capelle...@gmail.com wrote:
Hi everyone,
I am porting my CakePHP 2.0 helpers to CakePHP 3.0 and I am facing some
troubles
this:
'inputContainer' = 'div class=form-group input
{{type}}{{required}}{{content}}/div’,
or create a custom widget, depending on how much customisation you want
On 01 Aug 2014, at 12:24, Mikaël Capelle capelle...@gmail.com wrote:
Hi everyone,
I am porting my CakePHP 2.0 helpers to CakePHP 3.0
’,
or create a custom widget, depending on how much customisation you want
On 01 Aug 2014, at 12:24, Mikaël Capelle capelle...@gmail.com wrote:
Hi everyone,
I am porting my CakePHP 2.0 helpers to CakePHP 3.0 and I am facing
some troubles with my custom FormHelper. The helpers are made
a custom widget, depending on how much customisation you
want
On 01 Aug 2014, at 12:24, Mikaël Capelle capelle...@gmail.com
wrote:
Hi everyone,
I am porting my CakePHP 2.0 helpers to CakePHP 3.0 and I am facing
some troubles with my custom FormHelper. The helpers are made
Hi everyone,
I'm trying to build a new CakePHP 3 application but I didn't manage to get
the data validation working... I followed the CakePHP 3.0 book, and
particulary this
page http://book.cakephp.org/3.0/en/tutorials-and-examples/blog/part-two.html
but it didn't help.
Currently, my Table
');
On Monday, July 28, 2014 10:20:06 PM UTC+2, Mikaël Capelle wrote:
Hi everyone,
I'm trying to build a new CakePHP 3 application but I didn't manage to get
the data validation working... I followed the CakePHP 3.0 book, and
particulary this page
http://book.cakephp.org/3.0/en/tutorials
, July 28, 2014 10:20:06 PM UTC+2, Mikaël Capelle wrote:
Hi everyone,
I'm trying to build a new CakePHP 3 application but I didn't manage to
get the data validation working... I followed the CakePHP 3.0 book, and
particulary this page
http://book.cakephp.org/3.0/en/tutorials-and-examples/blog
to
get the data validation working... I followed the CakePHP 3.0 book, and
particulary this page
http://book.cakephp.org/3.0/en/tutorials-and-examples/blog/part-two.html
but it didn't help.
Currently, my Table is as follow:
class DevoirsTable extends Table {
public function
@José Lorenzo Thanks alot
My problem is solved.changed cakephp version from 2.5.0 to 2.5.2
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP
Hi
I am new to cakephp and i used baking concept for my tables. Now i got
pages generated but i am unable to do edit and view actions.I am getting
error as
Unsupported operand types
D:\xampp\htdocs\lib\Cake\View\Helper\FormHelper.php Line:1802.
Please help me.
Thanks in advance.
--
That error does not correspond to CakePHP 3.0
What version are you actually using?
On Thursday, July 17, 2014 2:45:39 PM UTC+2, raji gudivada wrote:
Hi
I am new to cakephp and i used baking concept for my tables. Now i got
pages generated but i am unable to do edit and view actions.I am
Sorry i am using cakephp 2.5.o version
On Thursday, July 17, 2014 6:15:39 PM UTC+5:30, raji gudivada wrote:
Hi
I am new to cakephp and i used baking concept for my tables. Now i got
pages generated but i am unable to do edit and view actions.I am getting
error as
Unsupported operand
Sorry @ jose Lorenzo
My current version is cakephp 2.5.0.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP group.
To unsubscribe from this group
So what is in that line?
debug() it properly
Am Donnerstag, 17. Juli 2014 15:10:13 UTC+2 schrieb raji gudivada:
Sorry @ jose Lorenzo
My current version is cakephp 2.5.0.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You
Please update to the lastest 2.5 version, what you experience is a known
bug of that version
On Thursday, July 17, 2014 3:10:13 PM UTC+2, raji gudivada wrote:
Sorry @ jose Lorenzo
My current version is cakephp 2.5.0.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
Hi everyone,
I'm trying to update my helpers to CakePHP 3.0 but each time I try to load
them I get the following error :
Error: *Html* could not be found.
Error: Create the class *Html* below in file: App\View\Helper\Html.php
My AppController looks like :
public $helpers = [
'Html
Can you open a ticket in github about it? I'll take a look at it as soon as
possible
On Wednesday, June 11, 2014 10:21:20 PM UTC+2, Mikaël Capelle wrote:
Hi everyone,
I'm trying to update my helpers to CakePHP 3.0 but each time I try to load
them I get the following error :
Error: *Html
I am working on a project which is based on EAV data model like magento. I
am currently using cakePHP 2.4, but waiting for stable release of cakePHP
3.0 as it has major changes in it.
Will it support EAV or any behavior in model to work as EAV or something
similar to that.
I am eagerly waiting
data model like magento. I
am currently using cakePHP 2.4, but waiting for stable release of cakePHP
3.0 as it has major changes in it.
Will it support EAV or any behavior in model to work as EAV or something
similar to that.
I am eagerly waiting to implement it using 3.0
--
Like Us
For those reading at home, reuben opened an issue and that issue has been fixed.
-mark
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP group.
To
Hi
I don't do request router a lot, but I thought I'd try something with
CakePHP 3.0, and am currently working with the dev3 release.
I was under the impression that if you didnt pass any parameters to
Router::parseExtensions(), then it would parse all extensions, including
the basics, like
Hi
I'm wondering what the correct method of serializing models for XML output
should be?
After getting XML request routing working, via explicitly specifying xml in
the Router::parseExtensions() call, I'm getting an error when doing a
serialize on a paginated model.
The error is
response
don't do request router a lot, but I thought I'd try something with
CakePHP 3.0, and am currently working with the dev3 release.
I was under the impression that if you didnt pass any parameters to
Router::parseExtensions(), then it would parse all extensions, including
the basics, like xml, json
don't do request router a lot, but I thought I'd try something with
CakePHP 3.0, and am currently working with the dev3 release.
I was under the impression that if you didnt pass any parameters to
Router::parseExtensions(), then it would parse all extensions, including
the basics, like xml
I can bet some money that this could be somehow related to:
https://groups.google.com/forum/#!topic/cake-php/hhnJEXDSGzU
Good to know you've solved your issue btw.
On Tuesday, 11 March 2014 19:19:01 UTC+2, André Luis wrote:
Hi people, I am trying to follow the Blog tutorial from cakephp 3.0
Hi people, I am trying to follow the Blog tutorial from cakephp 3.0
website, but i am getting an error wich isnt showed up, also its not on the
log...
The problem is whem i try to retrieve the articles with
$this-Articles-find('all');, whem have this line the browser says that
this page
Sorry for my incovenience, but it was a version error, i dont know why but
i was using php 5.4.3, but now with 5.5 its ok.
Thanks anyway
Em terça-feira, 11 de março de 2014 14h19min01s UTC-3, André Luis escreveu:
Hi people, I am trying to follow the Blog tutorial from cakephp 3.0
website
14h19min01s UTC-3, André Luis escreveu:
Hi people, I am trying to follow the Blog tutorial from cakephp 3.0
website, but i am getting an error wich isnt showed up, also its not on the
log...
The problem is whem i try to retrieve the articles with
$this-Articles-find('all');, whem have
Yeah!
using Entity class and $_accessible property all works as expected!
thanks
José
2014-02-04 José Lorenzo jose@gmail.com:
Currently that is the most confusing part of the ORM and I'd like to make
it easier to understand in the next release preview. By default entities
are protected
Hi Carlos,
PHP 5.4 permits the ['key' = 'value'] array syntax. The issue I had was
resolved by using Entity class and $_accessible property.
2014-02-04 Carlos Javier Baeza Negroni carlos.ba...@gmail.com:
Also check the array:
$data = ['name' = 'Walter White'];
Should be:
$data =
Hi,
I'm starting to play with 3.0 ORM and I encountered some issues saving data.
I have two simple tables:
- authors with fields id and name
- posts with fields id, title, text and author_id
I have fill tables with two authors and some posts by hand to try
retrieving data with cake.
Currently that is the most confusing part of the ORM and I'd like to make
it easier to understand in the next release preview. By default entities
are protected agains mass assignment, this means that you cannot create
them without configuring what properties can be set from the request. You
Also check the array:
$data = ['name' = 'Walter White'];
Should be:
$data = array('name' = 'Walter White');
best regards.
2014-02-04 José Lorenzo jose@gmail.com:
Currently that is the most confusing part of the ORM and I'd like to make
it easier to understand in the next release
201 - 257 of 257 matches
Mail list logo