hey
On Jun 20, 4:24 pm, Ian Zepp [EMAIL PROTECTED] wrote:
Unlike Zend (with uses an Action suffix to designate controller
actions), Cake doesn't have any such thing and instead uses a blacklist
of 'private' controller actions (defined in the dispatcher).
We don't ? We've got something that is
You can use one of the workarounds presented here on the group for the
pdf version but you may expect improvements soon (in speed and in
other formats)
On May 12, 7:51 pm, Mathew Nik Foscarini [EMAIL PROTECTED] wrote:
While this subject is open.
I would like to be able to download the manual,
not empty.
Use custom validation to check if ['Remarks']['tmp_name'] is not
empty, ['error;[ == 0 , and ['size'] != 0 etc
HTH,
Marcin Domanski aka kabturek
http://tumble.kabturek.info/
--~--~-~--~~~---~--~~
You received this message because you are subscribed
the test case:
http://bin.cakephp.org/view/1981319085
fixtures:
http://bin.cakephp.org/view/988525363
works like a charm :)
HTH,
Marcin Domanski aka kabturek
http://tumble.kabturek.info
On Jan 11, 4:44 pm, ivlcic [EMAIL PROTECTED] wrote:
Robby, can you share your working code with us, because
,
Marcin Domanski aka kabturek
On Jan 11, 3:05 pm, Johan @ Notitia.nl [EMAIL PROTECTED] wrote:
Hi,
I'm building a search controller which has to retrieve data from
multiple tabels.
Normaly that wouldn't be a problem if you have set the correct
association at the models.
The big problem
://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
Marcin Domanski aka kabturek,
http://tumble.kabturek.info
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email
Great Jippi!
You're my hero ;)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
Hey Baz
I dont like useing user/pass - i rather use id, if something will be
compromised then i would have to change my hash/login system only and
no user data would be lost ( we have an cookie encryption
functionality ya know)
I did it this way - when the user is loggged i check if hewants to
1. If you read my first post you'll notice I'm bagging out an article
that was approved on the bakery. Did anyone click the link and read
the article - if so, who agrees with my response?
Yep thought the same thing when i sow it.
2. What version of cake is the bakery running on?
mhm sorry but you're aware of the fat models , thin controllers
idea ?
imo let's stick to it. in you example you should have a controller
with admin_actions
and using the same model.
If many of the structures are the same then just put them in the same
model and call them from admin/user
when delating do you set the 'cascade' param ?
On Dec 16, 6:37 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Here is my model
class Question extends AppModel {
var $name = 'Question';
var $validate = array(
'question' = VALID_NOT_EMPTY,
Exactly like any other app:
create tables, bake models, views , controllers, edit the generated
stuff to suit your needs
:)
On Dec 15, 10:31 pm, 703designs [EMAIL PROTECTED] wrote:
Can someone help me out? I'd like to build a forum using CakePHP. I'll
end up documenting my efforts in a
$this-findBy* from the User model
you can access the associated model using $this-AssociatedModel-
find...
you should stick most of the model/query stuff inside models (fat
models, thin controllers)
loading models is an option but it really depends on the situation -
generally you shouldnt load
As it happens, I have recently done this. I'll send an email off list
for you to contact me.
-Simon
Hey Simon - don't be shy - share Your solution here:) not that i'm
interested but many people would find it usefull.
You can also get feedback about your solution.
As for the integreation i
http://www.gophp5.org/
:)
On Dec 6, 7:22 pm, Sliv [EMAIL PROTECTED] wrote:
I was wondering if developers out there who are writing CakePHP apps
in a PHP 5 environment are using PHP 5 functionality in their app(s)
or are choosing to stick with functionality available in 4 or 5?
Since Cake is
http://wiki.kabturek.info/paginating_search_results
HTH
On Dec 5, 3:57 pm, Baz [EMAIL PROTECTED] wrote:
Got a quick question.
I'm trying to implement a custom search on a model that returns based on the
user's criteria. Basically I have a bunch of if statements and build up a
query before
with some mates. It might be a good
opportunity for European bakers to meet.
Hope to see some of you there :)
--
Marcin Domanski aka kabturek
http://tumble.kabturek.info
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hey
'nonEmpty' = array(
'rule' = VALID_NOT_EMPTY
'required' = true,
'allowEmpty' = false,
'message' = 'You must to put something.'
)
looks like you didnt' replace VALID_NOT_EMPTY ;)
here is what i use:
'field' =
Hey, You can look at the Soft Delete behavior as an example - it ads a
default condition 'deleted' = 0 to all queries if you don't have a
'delete' key in the conditions.
btw for me supporting strings isn't worth the extra code complexity ;)
On Nov 24, 4:05 pm, Adam Royle [EMAIL PROTECTED]
hmm you can
A) make an empty action admin_login to redirect
B) spcify 'admin' = false in the login url in the auth component (not
tested but should work)
hth,
kabturek
On Nov 16, 7:34 pm, glassy [EMAIL PROTECTED] wrote:
Hi all,
I'm starting to use AuthComponent and I'm also using Admin
?
Grant++
HTH,
kabturek
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED
this so maybe someone can comment
on it:)
HTH,
kabturek
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group
with the right $id. Anyone know how to do that?
I'm not really getting why you need jqery for that ;)
greets,
kabturek
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email
to change the DocumentRoot ?
you can try settings the subdomain apps as plugins maybe ?
Another thing to try as for the .htaccess -
Add
RewriteBase dir
after
RewriteEngine on
HTH,
kabturek
--~--~-~--~~~---~--~~
You received this message because you are subscribed
On Nov 3, 7:23 am, Cheeze [EMAIL PROTECTED] wrote:
I've seen many projects with a lot of talk at the beginning but
nothing concrete was done about it.
or the codebase wasn't released ;)
Perhaps the guys who really need
should start something first? And if there are people who want more
On Nov 4, 8:24 am, julian [EMAIL PROTECTED] wrote:
If not I guess i am going to have to write one, any one interested in
helping?
I thought about such app some time ago. i have a draft of the db etc
So if you really want to write something (and have time to do it ;)
contact me so we can think
Implementing the basics would be very easy with cake.. ive made some
very simple forum additions already... but the power of the forums is
the admin/moderator area and all these funtions...
I sow somewhere a dbdesigner diagram of PhpNuts plans to build one but
i think he's busy with 1.2 now :)
On Oct 10, 3:24 pm, stefanb [EMAIL PROTECTED] wrote:
Thank you for the second half of your reply. The first half didn't
help me at all.
The first part should help you realize that you should first invest
some time by looking at the manual. If you don't have time to do it
why do you think ppl
Yeah tthat's the way.
i used 'CAKE_ADMIN' = 'false' but as it is deprecated then i use
'admin' too :)
On Oct 10, 8:25 am, Geoff Ford [EMAIL PROTECTED] wrote:
Try
?php echo $html-link('Home', array('controller'='docs',
'action'='index', admin=false)); ?
Note tested though.
Geoff
gentoo for performance , debian for stability
i heard many ppl use CentOS but i don't have much experience with it.
imo you can't go wrong with debian and centos.
greets,
On Oct 10, 7:16 pm, cakeFreak [EMAIL PROTECTED] wrote:
Cheers MJ Ray!
Anyone about CentOS?
Dan
or maybe disable the autocreation of session in core.php ?
hint - AUTO_SESSION = false
On Oct 2, 11:45 pm, CodeSith [EMAIL PROTECTED] wrote:
Anybody uses CakePHP in SOA environment?
I want to write some REST based web services using CakePHP. To get it
going is pretty simple. I will use
omg please dont stop another one :/
Pisinho search the group before asking
On Sep 9, 2:40 am, haj [EMAIL PROTECTED] wrote:
if it can do 2 bytes..
On Sep 8, 7:15 pm, Felix Geisendörfer [EMAIL PROTECTED] wrote:
[x] Textmate
--
My Blog:http://www.thinkingphp.org
Hey
nice app :)
Did you think about writing a case study on the bakery ?
Couple of things:
* I would use a standard feed icon :http://www.feedicons.com/ with the
right size (or resize the one you use now - resizing by browser
doesn't look too good)
* the image that show the examples (when nothing
You are aware that you can call Model-validate() yourself?
On Aug 24, 4:17 am, Dani [EMAIL PROTECTED] wrote:
Wouldn't it be cool if updateAll had a validate parameter just like
save?
By the way, what's the purpose of updateAll() if it's not save()-ing a
lot of rows at once?
Happy coding!
, but
the beforesafe errors on saving a post and the Post and Tag are not
accessible from the view.
Any further help would be appreciated !
Thanks in advance,
Max
On 20 aug, 10:48, Marcin Domanski aka kabturek [EMAIL PROTECTED]
wrote:
have you created the model ?
On Aug 19, 5:04 pm
have you created the model ?
On Aug 19, 5:04 pm, doekie [EMAIL PROTECTED] wrote:
In the OCPHP sheets (http://www.cakephp.org/files/OCPHP.pdf) there was
an example of the use of the new With Associations in a HABTM. So it
must be easy to get values out-of the join-table in CakePHP 1.2
var
at Xapian myself so aonly a link: http://www.xapian.org/
greets,
Marcin Domanski aka kabturek
On Aug 11, 8:31 pm, savagekabbage [EMAIL PROTECTED] wrote:
I wanted to incorporate a simple Global Record Search into my cart
(Selling Made Simple), and this is how I did it if anyone's wondering
$this-User-Post-find(array('Post.user_id' = $user['User']['id']);
it would search in all posts that have the user_id set to $user['User']
['id'].
its the same as when you have Post in uses
$this-Post-find(array('Post.user_id' = $user['User']['id']);
You will always learn new things cause cake is
Where do you set the data for the model ?
like $this-Model-create($this-data); OR
$this-Model-set($this-data) OR
or $this-Model-save($this-data) ?
also use the new validation approach in 1.2
http://bakery.cakephp.org/articles/view/multiple-rules-of-validation-per-field-in-cakephp-1-2
and
so to avoid having to redefine the relationship
redefine ? what are you talking about ?
Areas hasMany Lettings
when the user deletes the letting then do not delete it from the db -
just soft delete it.
You got to provide more details...
greets,
Marcin Domanski aka kabturek
On Aug 10, 6:31 pm
above
Cheers,
Dave
On Aug 10, 2:15 am, kabturek [EMAIL PROTECTED] wrote:
Do a POST to the action when the users clicks submit in the form or
do this with ajax if you don't want the whole page to be refreshed
Also why are you using query ? its only for sql that can't be handled
by cake
are you using 1.2 ?
search a little for the 'with' key in the association properties of a
HABTM - you can define a model for the join table. and then you have a
join table with id , ingredient_id, recipe_id , quantity.
i would do it that way if i understood you right :)
On Aug 13, 1:14 am,
Do a POST to the action when the users clicks submit in the form or
do this with ajax if you don't want the whole page to be refreshed
Also why are you using query ? its only for sql that can't be handled
by cake and your's looks pretty basic. Generally you're doing a search
box.
autopromotion
nice... or maybe no to nice... isn't backward compat. - doesn't work
when js is disabled ( if it's automatic they should've taken care of
it) also i try to stay away from inline js. apart from that - this is
JS stuff. doing something like this is a piece of cake ;)
greets
On Aug 6, 12:52 am,
by default paginator in 1.2 is doing a findAll with the conditions
that you give him but if that's not enough for you then you can
declare a paginate function in your model that will be used instead of
findAll (
http://api.cakephp.org/1.2/libs_2controller_2controller_8php-source.html#l01100
)
PHP4 = dead
dreams... ;)
On Jul 13, 10:56 pm, Mech7 [EMAIL PROTECTED] wrote:
Well allmost in december it is no longer supported.
http://php.net/
Today it is exactly three years ago since PHP 5 has been released. In
those three years it has seen many improvements over PHP 4. PHP 5 is
Hi
turns cakephp into a proper cms
omg im SO afraid ;)
greets,
On Jun 24, 4:34 am, Jonathan Langevin [EMAIL PROTECTED] wrote:
so are you using beforeRender to pull your data as needed, to populate the
sidebar elements? i'd be interested in seeing how someone turns cakephp
into a proper cms,
I would add my 2c:
comments (first one moderated so we wont have how do i? comments ie
- only tips etc) on manual.cakephp.org (ala php.net or something like
http://www.djangobook.com/comment-help/)
as for the wiki - we all know how it looked - it was really outdated.
No one was mainataining it
yo can always try class_exists() ;)
http://php.net/class_exists
greets,
On Jun 19, 11:22 am, phpjoy [EMAIL PROTECTED] wrote:
thanks a lot, that pretty much sums it up..
i see the right way is to loadController. i might send a suggestion
about that.. there should be existsController or
A little inspiration ? ;)
http://www.ndesign-studio.com/
greets,
--
Marcin Domanski
http://kabturek.info
On Jun 5, 11:23 am, 浪漫様 [EMAIL PROTECTED] wrote:
Dear bakers,
1 week ago I finished my first Cake!! It took me only 2 weeks [ using
just spare time mostly in the weekends ]. Is a web2.0
thx for the snippets - when i used gedit i had few but was too lazy to
do the rest :) now im using jedit :)
OT- whats the name of the wheather thing on the desktop form you
screenshot ? :) my GF would be gratefull ;)
greets
On Apr 24, 5:59 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello
Hi
On Jan 25, 6:58 am, lukemack [EMAIL PROTECTED] wrote:
thanks guys - i resolved it by adding the helpers in
cake\app_controller.php. what would be the point of having this in the
\app folder? does it override the default one?
You shouldn't edit anything in the /cake folder - these are the
The whole idea is great but ...
Why not write bakery articles about is ?
And as far as i see it - there are many projects / snippets that show
these things - you only have to look for it...
I also liked rdOpenSource ( gwoo did you say that you want to release
the new rdBloggery ? ;) ) especially
Hello
Claudio Poli napisał(a):
3) I know that behaviors are still a moving target, but could please
someone into it write a little tutorial on how to make one?
http://bakery.cakephp.org/articles/view/198
4) Can please somebody explain what's a real life example of usage of
finderQuery
Hi Ralph,
contributing is the way to go ;) but if you can't contribute - make a
ticket - not with the exact documentation but with what you would like
to find in the manual ... its a good way of informing people from the
docs team what is missing ...
btw. come to #cakephp people will always
Polish version coming in couple of hours :)
Merry Christmas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this
www.firefoxparty.com + some more mozzilla apps ( the new plugins list )
and here is the Showcase that Mikee Freedom mentioned.
http://wiki.cakephp.org/showcase
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Cake
hypercubed wrote:
Can anyone read polish?
http://www.radzaw.one.pl/2006/07/10/PHPEclipse+Vs+PHP+IDE+Kolejne+Kr%C3%B3tkie+Starcie.aspx
yes :)
It's a short comparision of the two important ( for the bloger)
functions - 1.finding of the occurence of the variable and 2.properly
showing the
need to
think about the proper structure of the tree. Got to do some work now
;) give a replay if you're following me...
greeta
Kabturek
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
59 matches
Mail list logo