h i think i need to fix your models as below :
Poll hasMany Choice
Choice hasMany ChoiceResult or PollResult
That;s just my idea.
Then...you should save your polling result to ChoiceResult model or
choice_result table.
*choice_result* table :
id
choice_id
other_result
sample data :
id |
Just pass your POST request http://davidwalsh.name/curl-post
2013/1/11 Sam Marland sammarl...@gmail.com
I am creating a web application that stores user's journeys and I'm build
this application in CakePHP 2.2.5.
I have a Journey model and that journey model has many coordinate objects
repeat and repeat again your effort.. try and error..
2012/12/13 ashy ashcsi1...@gmail.com
Hello All,
I am following the tutorial below
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#identifying-users-and-logging-them-in
The password is not getting hashed by
This is better looking code http://pastie.org/5516905
2012/12/13 polutan linspir...@gmail.com
I get SQL error when doing Model::updateAll() . The error appeared because
my data string not quoted with single quote. It seems cake is not
automatically single quoting my data
I get SQL error when doing Model::updateAll() . The error appeared because
my data string not quoted with single quote. It seems cake is not
automatically single quoting my data.
This is the screenshoot. Please check this out :
http://img546.imageshack.us/img546/2289/localhosttaskmonusersed.png
2012 18:45:50 UTC+1 schrieb polutan polution at
all:
I get SQL error when doing Model::updateAll() . The error appeared
because my data string not quoted with single quote. It seems cake is not
automatically single quoting my data.
This is the screenshoot. Please check this out :
http://img546
your *image_portrait* not returned? is that you mean?
2012/11/14 char charlotte...@gmail.com
Hi all,
I've got a problem which I hope is interesting to everyone.
Got a generic table, in which each item has an image and an attribute that
says wether the orientation is portriat or landscape.
This might help:
http://bakery.cakephp.org/articles/thanos/2011/01/17/acl_checking_permissions_in_views
On Mon, Nov 12, 2012 at 1:37 AM, polutan polution at all
linspir...@gmail.com wrote:
i have group's access rights setting page
http://imageshack.us/f/600/accessrightslist.png/ .
now i using Acl
i have group's access rights setting page
http://imageshack.us/f/600/accessrightslist.png/ .
now i using Acl::check() to check whether an access item is allowed or
denied,
if allowed the checkbox is checked. I create my checkbox form using an
helper
this is my helper code
is not schema just to generate tables? i think schema just focusing himself
to create tables. schema is not a SQL SELECT command.
2012/11/6 Greg Skerman gsker...@gmail.com
Hi,
For one of my projects, I need to join up against some static data in
another database. The data in this database
Hello folks :)
I don't understand what does $action param and its default values mean?
Because i can directly write $this-Acl-check(warriors/Aragorn,
ControllerNames/myMethodName) then it works, i don't need to supply
$action param.
Then if i do something like at the manual $this-Acl-check(
Halo folks :)
I Need to know variations of Acl's methods $aro param format. Hard to
understand AclNode::node() method. I want to cache Acl's methods, but i
don't know the variations of $aro param.
Thank You :)
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter
anybody? Please help me
2012/11/5 polutan polution at all linspir...@gmail.com
Hello folks :)
I don't understand what does $action param and its default values mean?
Because i can directly write $this-Acl-check(warriors/Aragorn,
ControllerNames/myMethodName) then it works, i don't need
Hello :) i'am so sorry before if this post sounds insulting :)
i just want to know, why most of questions here is rarely answered? is
all happier using #cakephp instead of cake's google group? why cake's
mailing list was not as crowded as in #cakephp irc channel?
Thank you :)
Woww... is it like we able to create or add much of subdomain? I mean
like social networking site that give their users a special domain
like username1.domain.com, username2.domain.com, and so on..
like that? is that true?
@John R
can u explain me how is ur table structure? i mean as you said
add this in your controller
var $uses = array('Model2','Model3');
or if not working try to
var $uses =
array('YourCurrentModelName','Model1','Model2','Model_etc');
for your case. did you want to access Customer model in
employees_controller ?
just add :
var $uses = array('Customer');
or
var
:( hello can someone help me ??
On Jan 3, 3:35 pm, polutan [EMAIL PROTECTED] wrote:
hello can anyone help me? i really need to implement ACL soon to my
project..
thank you
On Jan 3, 2:55 pm, Linspirell [EMAIL PROTECTED] wrote:
Hello friends :) why i can't pass null value when i want
I got this error when i run this command : cake acl create aco / ROOT
Fatal error: Undefined class name 'string' in D:\tohtdocs\MyBand\cake
\libs\model
\datasources\dbo_source.php on line 1456
what must i have to do ? help me please
thank you
hello can anyone help me? i really need to implement ACL soon to my
project..
thank you
On Jan 3, 2:55 pm, Linspirell [EMAIL PROTECTED] wrote:
Hello friends :) why i can't pass null value when i want to create an
aro or aco ? i'am using database structure from the tutorial. no
modification i
19 matches
Mail list logo