# |
Apr 17th 2017, 05:25 |
nk-sonu |
ah yes..got it.. |
# |
Apr 17th 2017, 05:25 |
rrueco |
I just need the form-control class, but form-group is automatically placed |
# |
Apr 17th 2017, 05:25 |
rrueco |
@nk-sonu : that will remove the 'form-control' class |
# |
Apr 17th 2017, 05:23 |
nk-sonu |
'class' => '', |
# |
Apr 17th 2017, 05:19 |
rrueco |
how do I remove the form-group class of an input? |
# |
Apr 17th 2017, 05:18 |
nk-sonu |
do not send me..send here in channel.. experts will help once they will come. |
# |
Apr 17th 2017, 05:17 |
technofection |
@nk-sonu Okay, let me send you, one sec.. I was doing in a different way and have to revert the code, 2 mins |
# |
Apr 17th 2017, 05:17 |
nk-sonu |
else more expert are here..they will ans if they got the issue..wait for that |
# |
Apr 17th 2017, 05:16 |
nk-sonu |
you should provide the code sample..i can only send you url for more help.. as i dont know what you did with your code. |
# |
Apr 17th 2017, 05:15 |
technofection |
@nk-sonu I checked them, but those do not have answer of my question :( |
# |
Apr 17th 2017, 05:14 |
nk-sonu |
https://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html> <https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html |
# |
Apr 17th 2017, 05:12 |
technofection |
Okay thanks, let me try. Its 3.4 |
# |
Apr 17th 2017, 05:12 |
nk-sonu |
is it cakephp 2 or 3 ? |
# |
Apr 17th 2017, 05:12 |
rchavik |
try contain('Contacts.StudentContacts') |
# |
Apr 17th 2017, 05:11 |
technofection |
I can do contain["Contacts"] in StudentsTable, but don't know how to get the relationship from the joining table (StudentContacts) :( |
# |
Apr 17th 2017, 05:09 |
technofection |
The problem is I don't how to contain the Relations table while fetching records with find() on Students Table |
# |
Apr 17th 2017, 05:08 |
technofection |
Yeah I did |
# |
Apr 17th 2017, 05:08 |
nk-sonu |
did you define relation in Model? |
# |
Apr 17th 2017, 05:08 |
technofection |
@nk-sonu But I don't know how to connect relation table further use belongsToMany "through" |
# |
Apr 17th 2017, 05:08 |
technofection |
@nk-sonu Yes, it does have it, student_id, contacts_id, relation_id |
# |
Apr 17th 2017, 05:05 |
nk-sonu |
can any one look at my htaccess issue |
# |
Apr 17th 2017, 05:03 |
nk-sonu |
then forget... he doesn't have patience i think... |
# |
Apr 17th 2017, 05:03 |
rchavik |
he left |
# |
Apr 17th 2017, 05:01 |
nk-sonu |
@rakesh: StudentContacts should have a relation between relation table.. |
# |
Apr 17th 2017, 04:36 |
rakesh |
Such a sleeping community ... |
# |
Apr 17th 2017, 04:36 |
rakesh |
Anyone there? |
# |
Apr 17th 2017, 04:28 |
rakesh |
I have 2 tables joined by a through table -> (Students, Contacts, StudentContacts). Now StudentContacts has a further foreignKey relation_id to Relations table. While fetching data, I need to fetch the relation as well. Any idea? |
# |
Apr 17th 2017, 04:26 |
rakesh |
Hi guys, I have a question regarding through belongsToMany joining.. Can anyone help me please |
# |
Apr 17th 2017, 04:24 |
rakesh |
Hi guys, I have a question regarding through belongsToMany joining.. Can anyone help me please |
# |
Apr 17th 2017, 04:23 |
rakesh |
Hi guys, I have a question regarding through belongsToMany joining.. Can anyone help me please |
# |
Apr 17th 2017, 03:53 |
rrueco |
how do I remove the form-group class of an input? |
# |
Apr 17th 2017, 03:45 |
aavrug |
How to write a method which will download the files directory from webroot in CakePHP-3, for single file I am using `$this->response->file` but I am not getting what to use for entire folder? |
# |
Apr 16th 2017, 21:36 |
damiano |
hmic, are you using something to work with authorizations ? |
# |
Apr 16th 2017, 21:31 |
damiano |
i am also using the authenticate plugin...the problem is that there is no plugin to work with authorizations |
# |
Apr 16th 2017, 21:30 |
damiano |
hmic, i really like middlewares :D i just have added them to an existing application |
# |
Apr 16th 2017, 21:29 |
damiano |
eheh |
# |
Apr 16th 2017, 21:29 |
damiano |
hmic, works |
# |
Apr 16th 2017, 21:27 |
hmic |
one of the main features of middlewares ;-) |
# |
Apr 16th 2017, 21:27 |
damiano |
hmic, oh it is simple...ok i try thanks! |
# |
Apr 16th 2017, 21:26 |
hmic |
damiano, from a middleware, just return the response, dont call next(). thats it. no exit()! |
# |
Apr 16th 2017, 21:19 |
damiano |
exit() seems not elegant there :D |