# |
Sep 11th 2009, 15:42 |
ifunk |
interesting |
# |
Sep 11th 2009, 15:41 |
jjwdesign |
It not tested. |
# |
Sep 11th 2009, 15:41 |
jjwdesign |
It's based on some old non-CakePHP code. |
# |
Sep 11th 2009, 15:40 |
ifunk |
ahh ok, yeh i started down the route of creating a massive conditions array, and doing a few smaller searches, but wondered if there is more elegant way |
# |
Sep 11th 2009, 15:40 |
jjwdesign |
ifunk: take a look at http://bin.cakephp.org/view/1123721359 |
# |
Sep 11th 2009, 15:40 |
jjwdesign |
!bin |
# |
Sep 11th 2009, 15:40 |
jjwdesign |
But, I can't get it working... Still in dev. |
# |
Sep 11th 2009, 15:39 |
jjwdesign |
ifunk: not exactly... I'm working on a component for multiple field searches. |
# |
Sep 11th 2009, 15:39 |
ifunk |
anyone done this in cake before? |
# |
Sep 11th 2009, 15:38 |
ifunk |
where the keywords might exist in the same field, or spread amongst 3 fields over the three different tables |
# |
Sep 11th 2009, 15:37 |
ifunk |
i need to search over 3 related models and provide relevant matches for multiple keywords |
# |
Sep 11th 2009, 15:36 |
ifunk |
we've used sphyinx before on a project but am not too keen to use it again |
# |
Sep 11th 2009, 15:36 |
ifunk |
hi all, i'm looking to improve the search function i'm using for a cakephp site and wondering what anyone would suggest |
# |
Sep 11th 2009, 15:28 |
HardPhuck |
registration became just a bit more complicated, but not much :) |
# |
Sep 11th 2009, 15:27 |
HardPhuck |
all users are in one table now, but are related to other stuff via hasOne |
# |
Sep 11th 2009, 15:27 |
TehTreag |
HardPhuck: Be careful. There maybe some road hazards doing it my way, that I couldn't see earlier. caveat emptor |
# |
Sep 11th 2009, 15:26 |
HardPhuck |
for the problem in several user models |
# |
Sep 11th 2009, 15:26 |
HardPhuck |
i'm taking your way :) |
# |
Sep 11th 2009, 15:25 |
HardPhuck |
nevermind, solved it |
# |
Sep 11th 2009, 15:23 |
TehTreag |
HardPhuck: Can you rephrase your question? I'm not sure what you mean. |
# |
Sep 11th 2009, 15:10 |
alkemann |
nps. thanks |
# |
Sep 11th 2009, 15:10 |
Exterminans |
Or tell me how to fix? |
# |
Sep 11th 2009, 15:09 |
Exterminans |
Can someone confirm that the translate-behaviour wont work if the table-name contains an underscore? |
# |
Sep 11th 2009, 15:06 |
Scotto |
i was just goign to use php's date function instead of giving my app the overhead of the time helper |
# |
Sep 11th 2009, 15:06 |
Scotto |
is there any benefit to using the timehelper if all im doing is displaying the date as m-d-Y ? |
# |
Sep 11th 2009, 15:05 |
jmccaffrey |
I saw your question from yesterday, I have successfully integrated vBulletin with cakephp so I can answer some questions if you have |
# |
Sep 11th 2009, 15:04 |
jmccaffrey |
biscazziere: You here? |
# |
Sep 11th 2009, 15:03 |
HardPhuck |
can i have two models in relation that user hasOne firm and firm hasandbelongstomany users? |
# |
Sep 11th 2009, 15:03 |
markstory |
alkemann: thanks for the patch on the number helper :) |
# |
Sep 11th 2009, 15:02 |
markstory |
alkemann: I guess, I can talk to the others, see what they think. |
# |
Sep 11th 2009, 15:02 |
Ceeram |
no i havent touched gitconfig except for author |
# |
Sep 11th 2009, 15:02 |
markstory |
so git branch -D 1.3-console; git branch --track 1.3-console origin/1.3-console; git checkout 1.3-console |
# |
Sep 11th 2009, 15:01 |
Ceeram |
aha |
# |
Sep 11th 2009, 15:01 |
markstory |
checkout -b won't make tracking branches unless you have the auto track set in your gitconfig. |
# |
Sep 11th 2009, 15:00 |
markstory |
Ceeram: your branch might not be a tracking branch. |
# |
Sep 11th 2009, 14:58 |
alkemann |
markstory: that is perhaps true, but by that logic, shouldnt use input() either. either use the good magic or not at all ;) |
# |
Sep 11th 2009, 14:58 |
Ceeram |
im on 1.3-console branch when i did the pull |
# |
Sep 11th 2009, 14:58 |
jrod |
does anyone know if Set::Extract supports returning rows that would be similiar to {n}.field_id = 2 ? |
# |
Sep 11th 2009, 14:57 |
Ceeram |
have local branch 1.3-console but git pull doesnt get me latest code |
# |
Sep 11th 2009, 14:57 |
markstory |
alkemann: my only concern is with new users. Makes form helper even more mystical than it already is. |
# |
Sep 11th 2009, 14:51 |
alkemann |
markstory: i havent found anything it lacks so far, i only use inputs() and sometimes hidden() |