# |
Jan 30th 2014, 02:18 |
RogerWS |
THanks jorgec, I looked at that a little and thought it may be overkill. i'll look closer |
# |
Jan 30th 2014, 02:18 |
jorgec |
!tell RogerWS about search |
# |
Jan 30th 2014, 02:14 |
RogerWS |
I'm trying to build a simple search engine that just needs to a basic LIKE query against a single field, but against multiple models. I was thinking about adding a 'search' method to my models, run the queries and return the results, and now I want to paginate the aggregate results of all the models. Can I pass my own results to the Paginate component like that? Or is there a different approach I should take? |
# |
Jan 30th 2014, 02:13 |
RogerWS |
Good evening all |
# |
Jan 30th 2014, 01:55 |
BackEndCoder |
Starcraftmazter, i can't do much without running your code myself |
# |
Jan 30th 2014, 01:22 |
Starcraftmazter |
>< |
# |
Jan 30th 2014, 01:22 |
Starcraftmazter |
yeh i know that approach but im not sure if it will fit here |
# |
Jan 30th 2014, 01:21 |
BackEndCoder |
then edit |
# |
Jan 30th 2014, 01:21 |
BackEndCoder |
get it working |
# |
Jan 30th 2014, 01:21 |
BackEndCoder |
clone it |
# |
Jan 30th 2014, 01:21 |
BackEndCoder |
copy the index function word for word |
# |
Jan 30th 2014, 01:20 |
BackEndCoder |
worst comes to worse |
# |
Jan 30th 2014, 01:20 |
BackEndCoder |
look at the differences in both actions |
# |
Jan 30th 2014, 01:20 |
Starcraftmazter |
but where it does,t i get Dwoo_Object |
# |
Jan 30th 2014, 01:20 |
Starcraftmazter |
in the template where its working, if i var_dump ($this) I get ThemeView |
# |
Jan 30th 2014, 01:20 |
Starcraftmazter |
BackEndCoder: |
# |
Jan 30th 2014, 01:20 |
Starcraftmazter |
im sure its to do with dwoo |
# |
Jan 30th 2014, 01:15 |
todds |
lukasstr: interesting -- I didn't know. It may be possible, I just don't know off the top of my head. |
# |
Jan 30th 2014, 01:15 |
BackEndCoder |
doesn't look too challanging |
# |
Jan 30th 2014, 01:15 |
BackEndCoder |
dereuromark, looks like there is a nice github plugin for the vendor import |
# |
Jan 30th 2014, 01:14 |
dereuromark |
Starcraftmazter: reminds me of that question a few days back http://stackoverflow.com/questions/21351125/using-dwoo-2-0-in-cakephp |
# |
Jan 30th 2014, 01:14 |
lukasstr |
todds:* but it's not that big deal ... i can simply just use another style - just wanted to know if there's a simple type="..." i could set |
# |
Jan 30th 2014, 01:12 |
lukasstr |
tods: it's cause beore and after just works with elements which may have content |
# |
Jan 30th 2014, 01:11 |
BackEndCoder |
that was easy |
# |
Jan 30th 2014, 01:11 |
BackEndCoder |
php5 template engine |
# |
Jan 30th 2014, 01:11 |
BackEndCoder |
no idea |
# |
Jan 30th 2014, 01:10 |
Starcraftmazter |
BackEndCoder: do you know what Dwoo is? |
# |
Jan 30th 2014, 01:10 |
todds |
lukasstr: Really? Do you know if it's because of a selector limitation or because inputs don't accept before/after in the CSS3 spec? |
# |
Jan 30th 2014, 01:09 |
lukasstr |
todds: cause it's not the same - with input type="button" you can't use css3 :before and :after modifiers |
# |
Jan 30th 2014, 01:08 |
luizpcam |
using App::import everything looks good too |
# |
Jan 30th 2014, 01:07 |
luizpcam |
I put App::uses on top of my controller |
# |
Jan 30th 2014, 01:07 |
luizpcam |
If I change this class to AuxFileCategories everything looks good |
# |
Jan 30th 2014, 01:06 |
luizpcam |
Im trying to name a class with the name AuxFileCategory but I receive a Fatal Error |
# |
Jan 30th 2014, 01:05 |
todds |
lukasstr: dunno, but why when you can style it anyway? |
# |
Jan 30th 2014, 01:03 |
Starcraftmazter |
BackEndCoder: nope |
# |
Jan 30th 2014, 00:56 |
lukasstr |
is there a way of creating <button... instead of <input type="button"... with form helper? |
# |
Jan 30th 2014, 00:56 |
BackEndCoder |
Starcraftmazter, yes you did, did you get it working ? |
# |
Jan 30th 2014, 00:56 |
dereuromark |
dont thank me just yet - first find out if it works for you :D |
# |
Jan 30th 2014, 00:55 |
todds |
dereuromark: looks great |
# |
Jan 30th 2014, 00:55 |
charnel |
Thanks ! |
# |
Jan 30th 2014, 00:55 |
charnel |
dereuromark: |