# |
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() |
# |
Sep 11th 2009, 14:51 |
alkemann |
markstory: the good thing is that since u didnt write the code, it's useful for it to be easy to read, only listing the fields when baked works well for this |
# |
Sep 11th 2009, 14:50 |
markstory |
not sure I don't really use inputs() that often. |
# |
Sep 11th 2009, 14:50 |
jjwdesign |
dam bloody typo... nevermind |
# |
Sep 11th 2009, 14:50 |
alkemann |
i humbly disagree. they have same api no? |
# |
Sep 11th 2009, 14:50 |
markstory |
*multiple input()'s |
# |
Sep 11th 2009, 14:50 |
markstory |
I think multiple inputs is easier to tweak. |
# |
Sep 11th 2009, 14:49 |
alkemann |
markstory: doesnt seem to be totally compatible with the shells and templates i wrote of the 1.2 one, but anyways. thanks for making them autooverwrite now :) what do you think of having the default templates use formhelper::inputs() instead of multiple input() ? i liked how it worked for me |
# |
Sep 11th 2009, 14:49 |
jrod |
hey when i am doing Set::Extract() and i have an array(array('id'=>1,'field_id'=>2)) and i want to match against field_id is '/[field_id=2]' an invalid path to match? |