Hi there,
I am wondering which way one could integrate an CakePHP application
into another application like a CMS. My idea is to leave away all
surroundings like header, footer and html head in my CakePHP view
templates, so I have a content only area. This way I could just php-
include Cake's boo
n (the stuff in the cake
> directory).
>
> Gwoo or phpnut might be able to provide further insight.
>
> -Erik
>
> On Jan 27, 10:36 am, Arne-Kolja Bachstein wrote:
>
> > Hi,
>
> > I really appreciate that CakePHP is licensed under the MIT license, as
> >
Hi,
I really appreciate that CakePHP is licensed under the MIT license, as
it offers a wide range of freedom. But nevertheless, before using it
for commercial use, I would like to clear out one big question for me:
Is it allowed, regarding to this license, to deliver a copy of CakePHP
with my com
Hi there,
well, this is a very basic question and I hope someone is able to help
me with this.
Given is a three level association like
User -> hasOne Profile -> hasMany ProfileAttachment
My problem with this is to make sure a user does not save foreign
ProfileAttachments.
Saving the profile is
Hi,
I have the following structure:
Article belongsTo Cat
Cat hasMany Article
Now the problem is the size of my articles table (its got 180,000
entries). So to not auto-load 180,000 entries when doing a $this->Cat-
>find(something) I had to disable recursion on my Cat (well, I
actually unbound
rk you'll have me stumped, someone with more than 2
> days experience with auth might have to help!
>
> On Feb 6, 10:48 am, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
>
> > Hi Tim,
>
> > here it is:
>
> > ---
> > function beforeFi
27;user');
$this->Session->delete('authenticated');
$this->Session->delete('profiles_menuitems');
}
}
---
Best regards
Arne
On 5 Feb., 22:07, Tim W <[EMAIL PROTECTED]> wrote:
> Can y
Hi there,
I've got a slight problem with my Auth component atm. It always
redirects me to a specific but really weird URL when successfully
logging in. The URL is the path to one of the images used by Thickbox
(a jQuery script), so it results in the following:
---
Missing Method in UsersControll
@rtconner: Thanks, I'll take a look at this.
@Michael: The project is much bigger, that's just one tricky part of
it.
On 18 Jan., 19:54, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> On Jan 18, 12:38 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
>
Hi there,
does anyone know if there is a chance to paginate data thats not
fetched from the database/a model using the paginator component or
something?
The situation: I have a search form that fetches its hits from an XML
file. That's done by first fetching the XML file, saving it to the tmp
fo
hField = 'field_a';
> }elseif(isset($this->params['form']['sb'])){
> $searchField = 'field_b';
> }
>
> ... do search
>
> }
>
> or something similar.
>
> There of course a many of ways
Hi,
I have to implement a search form like
How could I do this the cake way, is there any option? I cannot
imagine atm how to do this at all, but maybe someone out there has a
clue...
Thanks in advance
Arne
--~--~-~--~~~---~--~~
You received this message b
Hi there,
I am writing a nice app atm that needs a function to be triggered via
cron few times a day. Do you have an idea how to do this? I mean is
there a problem with triggering it because of the url scheme or
something? And what if I need this function to go through Auth
component?
Thanks in
Hi,
many thanks for your answers so far. I think I'll implement a mix of
elements and a generic model for this, to configure the links from
within the backend. I think that's a nicer way than putting it into a
config file or something.
I had this in mind earlier, but have been in doubt if it wou
Hi there,
I've got a quite generic question... do you usually hardcode your menu
links [in your views] when developing something with cake, or do you
implement something like link management models or something? What's
the usual way here in your opinion?
Greetings
Arne
--~--~-~--~~-
Hi there,
atm I am trying to implement a feature to upload multiple images with
an article. Apart from the few tutorials I found covering this topic,
I have a much more basic question about that:
When I'm associating the Images model to my Article model (hasMany), I
can simply use something like
ure you're using Auth
> in app_controller.php
>
> Sean
>
> On Nov 9, 8:12 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
>
> > Hi Sean,
>
> > thanks for pasting it, but there's only one single issue that doesn't
> > match your config
Hi,
regarding to my auth problem again (got it working now) just a quick
question: Is the allow() method not working at all or do i
misunderstand something? When using $this->Auth->allow() it seems to
disallow something within my login handler even when allowing login,
logout and such explicitely
Hi again,
and sorry, I didnt answer your questions at all.
Yes, I made sure I had configured the right fields and salt is nulled
('') too.
Best regards
Arne
On Nov 9, 4:25 pm, SeanW <[EMAIL PROTECTED]> wrote:
> On Nov 8, 6:33 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]&
at seems to be the point. Did I forget something?
Best regards
Arne
On Nov 9, 4:25 pm, SeanW <[EMAIL PROTECTED]> wrote:
> On Nov 8, 6:33 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
>
> > But when submitting the form, it redirects me back to the login, pre-
> &g
ED]> wrote:
> just add it to $this->data
>
> i.e. (haven't tested but along these lines)
>
> $this->data['myvar'] = 'myval';
> $this->data->save();
>
> On Nov 9, 2:38 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
&
Hi there,
how could I add a variable to $this->data before saving, that
shouldn't be generated throughout the form it is associated to? :-)
Thanks in advance
Arne
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "C
-
filling the password field with 32 chars (assume it's the md5 hash,
but why?).
Thanks in advance,
Arne
On Nov 8, 9:04 pm, SeanW <[EMAIL PROTECTED]> wrote:
> On Nov 7, 9:07 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
>
>
>
> > My goal is to implement
Hi there,
I tried to implement a simple authentication using the new Auth
component from CakePHP 1.2, but did not succeed. Maybe there's someone
who can give me quick and dirty assistance with this?
My goal is to implement the authentication basics directly into /app/
app_controller.php rather t
't think this would work out of
the box, it's just an idea, so if you know what I mean and have some
tips... you're very welcome :-)
Best regards
Arne
On 19 Okt., 17:49, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> is it possible to use Cake fo
Hi there,
is it possible to use Cake for an embeddable web application? I have
to write a small application that will get embedded into an existing
web site, e.g. by including the bootstrap file at some point of the
original web sites source.
Of course I know I can do this, but what about passin
26 matches
Mail list logo