On 12 Aug., 19:00, brian wrote:
> Why not just use find()? Can a User belong to so many Groups that you
> need to paginate them?
Normally, a user will belong to about 10 groups, but the "moderators"
belong to much more (30-50). Also groups are used only for one year
tops and I would like to keep
Hey there,
after hours of googling and reading tutorials I am desperate now and
seek your help.
I am working with Cake 1.2.4.8284, I have two models, User (table
users) and Group (table group) where User HABTM Group. The join table
is called groups_users, it contains user_id and group_id and an
a
ort films and videos.http://www.youtube.com/browse?s=tr&c=0&l=&b=0
>
> You decide popularity by voting and popular is not always the same as
> good.
>
> What I conclude is that Akelos have some very dedicated fans. That is
> all.
>
> On Feb 2, 1:26 pm, sunertl wrote:
&
I tested Yii for a while. It seems nice but not as fully featured as
Cake. E.g. code generation is not even half as nice as in Cake -
relations are made by hand in every model, controller, view. a little
bit annoying. But it is fast as hell. I implemented a little project
database which I also mad
I have a question concerning the reusage of code in cakephp. as far as
i understood the optimum to reach in mvc-frameworks is that no code is
written twice. cake gives me means like elements and requestAction to
reach this goal.
but: every requestAction results in a new http-request, for elements
is your browser configured to display utf-8? what you describe happend
to me with german umlauts and back then it helped to switch the
encoding in the browser (it was iso-8859-1) to utf-8 manually. i
always thought the browser (firefox in my case) switches automatically
but maybe a add-on or somet
I had a similar problem and did the following:
I made one table containing the names of the fields. It is pretty
simple, just id and name. In my case it was named parameters. There
was also a second table called systems (which would be your tasks).
Those two had a habtm-relation, which created a t
You can use it via the team-functionality. so if you select
synchronisation for you project you can select webdav, cvs and ftp
(and some more if you installed the plugins). choosing ftp will let
you 1. let you synchronise your files with your server and 2. simulate
something like versioning by sh
btw. today it is CakePHP 50k (!) and Symphony 3.3k :-D - that's what I
call realistic ;-)
On 25 Mrz., 09:33, "Mandy" <[EMAIL PROTECTED]> wrote:
> Went and paid my tributes :)
>
> On Mar 25, 1:03 am, "francky06l" <[EMAIL PROTECTED]> wrote:
>
> > Actually I mean 21K and about 5k for the sum of all
I would recommend another way. gwoo's solution means a request to the
db every time(!) the navigation is shown. IMHO too much db-action. I
would create a function in the controls controller like
function updateNavigation() {
$entries = $this->Control->findAll();
$string = '';
Oh I please do not get me wrong! I really love the concept of cake and
the restrictions it has because it really made me a better and tidier
programmer since I use it. But sometimes - and really only sometimes -
it lacks of fallback options. Like in this case. As far as I
understand the code it ch
hm... I wrote a pretty long answer but somehow it was not posted?!?!
damn. ok, again but a little bit shorter.
I have to use the unix timestamp because it is obligatory in our
company. Using datetime simply would lead to not getting my app
approved.
Changing the name is the way I use now. But I
I worked around the problem by changing the name but in my opinion
this is not how it should work.
Currently I am developing a system for project management in cake and
we need the unix timestamp for interchanging purposes. It is the
format which is understood by all of our (non-cake-)systems wit
I use the (amazing) 1.2 alpha-release for a few days now and have
problems with fields named "created" in db-tables. For some reasons I
do not use datetime but integer for "created". Cake seems to have
problems with that because I always get errors in line 1052 in cake/
model/model.php.
I tried to
14 matches
Mail list logo