Can you post documentation?? This is a popular one nowadays for
people on the group..
On Oct 12, 7:11 pm, Dardo Sordi Bogado [EMAIL PROTECTED] wrote:
Can you read the documentation ?
On Sun, Oct 12, 2008 at 7:37 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
can i cache it ?
Nr
What's the best way to go about setting up dynamic routing
so that I can redirect all my 'missing controller' errors to another
defined controller to perform operations on?
I basically want any error page to filter through the pages controller
(or any other controller I choose) so I can check
On Oct 26, 7:03 am, Adrianifero [EMAIL PROTECTED] wrote:
Can you post documentation?? This is a popular one nowadays for
people on the group..
Be your own best friend:
http://groups.google.com/group/cake-php/search?group=cake-phpq=%22describe+query%22qt_g=Search+this+group
On Oct 26, 1:45 am, lazyeye [EMAIL PROTECTED] wrote:
Here is my table setup:
posts
id
name
...
tags
id
parent_id
name
...
posts_tags
id
post_id
tag_id
I want to be able to filter posts by their associated parent tag. So
for example I want to be able to request all posts with
On Oct 24, 11:17 pm, Mathew [EMAIL PROTECTED] wrote:
Hi,
I am thinking that there should be an improvement in Cake so that
Model caches are cleared when ever an update or insert is performed.
Anyone see any problems with that?
Probably. what cache are you talking about.
Don't use $form-select, use $form-input with type=select:
echo $form-input('answer', array('type' = 'select', 'options' =
array('0'='No', '1' = 'Yes')));
On Oct 20, 4:35 pm, clrockwell [EMAIL PROTECTED] wrote:
Thank you David, I was hoping to avoid that and simply thought I was
doing
you practically would be violating the MVC design pattern
why don't use simply assign the value in the controller
e.g. $this-set('status', $component-settings['status'])
when then you can access the $status in the view.
--~--~-~--~~~---~--~~
You received this
Unfortunately your post got me thinking (after I had replied). My
component is utter garbage, sorry.
When I looked at it, I saw that all it was, really, was a wrapper to
the Ticket model.
I moved all code into the model yesterday and I have the same
functionality without a component.
The reason
Hi guys,
I hope that some of you may be able to help me with this.
I am trying to build an online shopping application in Cakephp to be
used as a module for a bigger application.
I was just wondering if any of you would have any recommendation as to
how I could approach this and the sort of
Thanks for your suggestions.
I will flesh out the parts about converting configurations and the
form/html changes.
I will also try to look at the other things suggested... validation is
next on my list of things to look at. Something I left out of the
original application to a large extent.
The
The caching that is controlled by the AppModel-cacheQueries setting.
If you perform a find, and then update or insert records, and perform
the same find again. You get the old outdated results.
I think all the cached queries for a model should be cleared if the
model is updated.
D'OH! I knew there was something simple I wasn't seeing! Thanks for
sharing!
On Oct 24, 4:12 pm, teknoid [EMAIL PROTECTED] wrote:
$time-format(); handles all that quite nicely
On Oct 23, 1:10 pm, rgreenphotodesign [EMAIL PROTECTED]
wrote:
Forgive me if I've duplicated something that has
Hello Everyone,
I have a problem with the Auto Increment functionality of my
SQL Server (MySQL). Every time I delete a record of a specific table,
the reference for my auto increment still stays at the id of the
deleted record.
Shouldn't it suppose to move right after the largest id of the
Hi guys,
I have this following code snippet from my controller:
$salespeople = $this-Campaign-Salesperson-find('list',
array('order' =
'Salesperson.firstname ASC',
'fields' =
array('Salesperson.id',
Did you notice that it also happens in Opera, which from what I can
tell is somewhat rigorous when it comes to starndards compliance.
On Oct 25, 4:15 pm, Dardo Sordi Bogado [EMAIL PROTECTED] wrote:
It's a well known IE rendering bug (also the solution is well known),
just google it...
On
Here is what I get when I google it -- which result should I look
at?
#
Information technology - Wikipedia, the free encyclopedia
This article includes a list of references or external links, but its
sources remain unclear because it lacks inline citations. ...
Adam, thanks for your suggestion. Just to be clear, this code is in
your ctp/html? And you are defining 'IE' somewhere, or is that pseudo-
code?
Also, as I said in the problem statement, this happens in Opera, too.
On Oct 25, 10:14 am, Adam Royle [EMAIL PROTECTED] wrote:
I workaround this
I have noticed this to. Forget to post a ticket for enhancements, my
solution for now was to re-index the array.
On Oct 25, 7:33 pm, senser [EMAIL PROTECTED] wrote:
Hello,
I have problem using Set::extract class. Here is an example array
$test:
Array
(
[3181] = Array
(
Haya everybody.
I am kind of new on cake. I managed to put auth. to work on my project
but now I am trying to show the user name in the default.ctp. I
created a variable like this $nomeUsuarioLogado = $this-Auth-
user('name');
in my appController but I cannot see the variable in my default.ctp.
btw, I've done that on my appcontroller
echo div id='dataesaudacao';
echo $this-Auth-user('name');
echo /div;
and it works. But, I don't know why I don't think is the correct
approach.
thanks for any help
carlos
--~--~-~--~~~---~--~~
You
I just discovered that the default value on mysql server is 1MB. You
can increase the value by adding the following lines to /etc/my.cnf.
[mysqld]
max_allowed_packet=8M
On Oct 23, 1:49 pm, Smelly_Eddie [EMAIL PROTECTED] wrote:
I know your uploading to MySQL, but it might be the php engine that
You should just r3ad manual. It is all there!
http://book.cakephp.org/
On Oct 26, 7:18 am, deedod [EMAIL PROTECTED] wrote:
What's the best way to go about setting up dynamic routing
so that I can redirect all my 'missing controller' errors to another
defined controller to perform operations
Have a look at the bakesale project on cakeforge.
Also, just be aware that phpshop is being re-developed on cakephp.
On Oct 26, 2:27 pm, Marcus Silva [EMAIL PROTECTED] wrote:
Hi guys,
I hope that some of you may be able to help me with this.
I am trying to build an online shopping
I'm starting to explore some e-commerce apps to use with Cake.
Bakesale is frequently mentioned, but it seems their website has
disappeared, http://www.bakesalehq.com. Do you think that is
temporary, or is BakeSale going away?
Would you consider BakeSale a robust project that you could count on
Yes, chuck it in your layout. Search for ie conditional stylesheet
and you'll see reference to my code above. When Opera gains
marketshare I'll give two hoots.
On Oct 27, 4:02 am, rogwei [EMAIL PROTECTED] wrote:
Adam, thanks for your suggestion. Just to be clear, this code is in
your ctp/html?
After hours and hours of frustration, I've figured it out. It wasn't fun, but
maybe not having my questions answered makes me a better programmer. For
future reference, it's actually pretty simple. I started with a new app with
my existing models and by baking new controllers/views I was able to
Hello,
Take a look at http://cakeforge.org/
On Oct 26, 9:35 pm, Brenda [EMAIL PROTECTED] wrote:
I'm starting to explore some e-commerce apps to use with Cake.
Bakesale is frequently mentioned, but it seems their website has
disappeared,http://www.bakesalehq.com. Do you think that is
On Oct 26, 9:35 pm, Brenda [EMAIL PROTECTED] wrote:
I'm starting to explore some e-commerce apps to use with Cake.
Bakesale is frequently mentioned, but it seems their website has
disappeared,http://www.bakesalehq.com. Do you think that is
temporary, or is BakeSale going away?
PHPShop uses
It is temporary. Small problem with the hsting name renewal.
On 26 loka, 21:35, Brenda [EMAIL PROTECTED] wrote:
I'm starting to explore some e-commerce apps to use with Cake.
Bakesale is frequently mentioned, but it seems their website has
disappeared,http://www.bakesalehq.com. Do you think
Hi,
When Cake produces the 404 error page for missing pages. Does it send
a http/1.1 404 Not Found response code or does it send a http/1.1
200 OK response code?
Thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hello, CakePHP users.
Last Satureday, we had a CakePHP conference in Tokyo, Japan. (In
Japan.)
This was a fourth CakePHP study meeting (in Japanese language). More
than 140 + (at ustream 70) people attended.
Conference page:
http://conference.cakephp.jp
Photos:
Thank you, all. I will look at phpShop as well.
--~--~-~--~~~---~--~~
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 email
Great, thanks.
I've seen some websites issue a 200 for missing pages, but say 404
in the HTML text.
So I thought I would just check if Cake was working correctly.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I'm working on designing a shop of sorts. It sells widgets and
gadgets. Widgets have different sizes and colors; gadgets have
different weights. The price varies on the attributes. There may be
many, many different widgets and gadgets, but the only thing that
affects price is size/color or
I'm working on designing a shop of sorts. It sells widgets and
gadgets. Widgets have different sizes and colors; gadgets have
different weights. The price varies on the attributes. There may be
many, many different widgets and gadgets, that are uploaded by a
variety of sellers, but the only thing
You can use $session-read('Auth.User') and/or $session-
read('Auth.User.username') in the view.
Also, do NOT echo any HTML from the controller. It violates the MVC
pattern and the echo'd HTML will always come before anything else,
i.e. even before html, which is even wronger.
Chrs,
Dav
On
oops. add {n}. before Salesperson.lastname in the Set::combine
--~--~-~--~~~---~--~~
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
Just make sure when you are checking this that your side has debug
level at 0, one and up gives other types of error pages
Sam D
On Sun, Oct 26, 2008 at 6:56 PM, Mathew [EMAIL PROTECTED] wrote:
Great, thanks.
I've seen some websites issue a 200 for missing pages, but say 404
in the HTML
This is probably what your looking for...
[controller]
$salespeople = $this-Campaign-Salesperson-find('all',
array('order'='Salesperson.firstname ASC', 'fields' =
'Salesperson.id, Salesperson.firstname, Salesperson.lastname'));
$salespeople = Set::combine($salespeople, '{n}.Salesperson.id',
It does indeed respond with a 404 Not Found header.
On Oct 26, 7:44 pm, Mathew [EMAIL PROTECTED] wrote:
Hi,
When Cake produces the 404 error page for missing pages. Does it send
a http/1.1 404 Not Found response code or does it send a http/1.1
200 OK response code?
Thanks,
Nevermind, I figured it out, it was a simple permissions problem.
As for telling cake to never display SQL connection errors, anyone
have any suggestions? My hosting service's database server goes down
more frequently than I'd like, and even with debug on 0 my site will
display SQL connection
41 matches
Mail list logo