Did you find an answer to this problem? I also need to force an index
since MySQL fails miserably to choose the proper one.
I searched high and low and there seems to be absolutely no
information how can this be done in cake, if all all.
- barduck
On Mar 31, 3:32 pm, max wrote:
> Hello
ate depending on some more subtle differences I will not
get into here.
- barduck
On Mar 10, 8:01 pm, Miles J wrote:
> The main problem I always would run into would that it would not
> recognized a POST, so the form would do nothing. I would usually have
> to submit it twice befor
the data into an
> XML, Excel or warever you need to do.
>
> It just an idea but, who knows? You may end with an interesting exporter
> pluging.
>
> Regards
>
> On Wed, Mar 10, 2010 at 4:22 AM, barduck wrote:
> > That's an interesting article that contains some usefu
Zaky, thanks for your reply.
But this doesn't really answer my question. I didn't ask how to
generate an xml file from a sql query, I know how to do that...
I asked how to do it from cake, as a response to a request, on demand,
because I need to consider various input parameters, dynamically
ass
can do this all manually but I was
hoping I could leverage cake's models and query building abilities
instead of doing it all from scratch.
Regards
- barduck
On Mar 9, 5:49 pm, Jorge Horacio Cué Cantú
wrote:
> Hello,
>
> Why don't You take a look at the article "Star sche
without executing it?
How do I get the database connection?
Any help is appreciated.
Thanks!
- barduck
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
&q
Anyone? Please?
Surely someone must have some knowledge about this test suite "magic"
Thanks
- barduck
On Jun 17, 11:41 am, barduck <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am a little bit confused how the 'test' database connection is used
> in 1.2
e specific to my
configuration/system but many of the core tests fail. At least one of
the tests you mention fails here too.
cheers,
- barduck
On Jun 18, 9:31 pm, mGee <[EMAIL PROTECTED]> wrote:
> Any chance someone might have some input? It would be
e.php, you will see the
the expected parameters are one of 'result', 'view', 'contents' or
'vars'.
So set it to one of the other values to make it return the rendered
view or vars.
- barduck
On Jun 17, 3:33 pm, jaro <[EMAIL PROTECTED]> wrote:
&
o make this work?
Thanks.
Cheers,
- barduck
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
thread/b73a9a23...
>
> Anyways, I don't suppose you will need a level 2 recursive call based
> on the Model you've shown. Buthttp://bakery.cakephp.org/articles/view/185
> should help greatly. :)
>
> On Apr 10, 12:54 am, "barduck" <[EMAIL PROTECTED]&
Hi,
I was looking at my SQL debug logs and seeing a lot of redundant
unnecessary queries which I don't think should be there at all. I am
using the nightly build of 1.2 from couple of days ago but I was
seeing this with 1.2 for quite a while.
So I created a very basic scenario and this is still
lated information
Now, you have 2 tables for the relationship between tags, users and
posts.
"tags_users" HABTM table, with "tag_id" and "user_id"
"posts_tags" HABTM table, with "post_id" and "tag_id"
- barduck
On Mar 22, 11:42 am
44 pm, "barduck" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I need some help and advice with implementing pagination in 1.2 .
>
> I got the basic functionality working which means I have paginate()
> return the correct count of items of the first page and if change the
&
thout URL rewriting before IIS
handles the request. There is an ISAPI filter that does it quite well,
look at:
http://www.isapirewrite.com/
It is very similar to mod rewrite on Apache. There is a free lite
version that should satisfy your needs on development environment.
Hope this helps.
- barduck
On Mar 18,
Hi all,
I need some help and advice with implementing pagination in 1.2 .
I got the basic functionality working which means I have paginate()
return the correct count of items of the first page and if change the
URL to pass different page # and limit #, the page behaves as
expected.
What I am n
omatically for each .domain.tld
Hope this helps.
- barduck
On Mar 6, 8:09 pm, "phirschybar" <[EMAIL PROTECTED]> wrote:
> This is probably just an apache question but I figure somebody in the
> group would know the answer...
>
> My app needs to work so that username
ew people to be successful. So we
all basically want the same thing :)
On Mar 5, 9:08 pm, "nate" <[EMAIL PROTECTED]> wrote:
> Barduck:
>
> Let's not forget that the wisdom of the masses has already been
> aggregated on this very list. 95% of all questions any
e and thriving
community is essential to any project of this kind.
So please don't take it personally, all of us appreciate the hard work
that is being done both on the code and documentation but looking
through the eyes of a total newbie, the documentation is...well, can
be frustrating at time
No one?
Surely someone can offer some additional insights on this.
Thanks.
On Mar 1, 10:44 am, "barduck" wrote:
> Thanks for the reply.
>
> I think I have better understanding of the Route functionality now.
>
> I am still not sure I understand the full potential of
Thanks for the response.
The groups_units association is needed because there are units that
don't belong to any department but only to groups.
I assume the example you gave is for cake 1.2 ? I am using 1.1 and
can't find that Set::extract in the API. I will try and figure out how
to do this in
Hi all,
I need some help with defining some less trivial associations.
Suppose I have the following entities:
Unit
Group
Department
A Unit can be part of multiple groups and multiple departments.
Each group belongs to one department.
If unit is part of a department, it also belongs to all the
eters to the index view but I wonder if this is the right
way to do this and whether cake can do it automatically for me?
Thanks.
- barduck
On Feb 28, 5:54 pm, Chris Lamb <[EMAIL PROTECTED]> wrote:
> > I understand that Cake does [routing] this in two phases, one
> > using apac
units table (with unknown
parameter count). Like this
/units/unit1+unit2+units3
OR
/units/unit1/unit2/unit3/...
How do I define unknown count of parameters in Routes and how do I do
this without interfering with the single unit view?
Hope I am making myself clear. Sorry for the long message.
Than
24 matches
Mail list logo