Hi -
I am having a little trouble with the find function in a model.
When I use opening and closing parenthesis cake generates an invalid
query.
For example in my model I have -
$term = '(pasta)';
$cond = array("pizza" => $term);
$num = $this->findCount($cond);
and returns the SQL slightly
I am getting close.
My beforeFilter function in the app controller is being called on each
page (just like I want) but it seems to have trouble running something
in a model.
Anyone have any ideas on what I am doing wrong.
app_controller.php
AppModel->carSign();
return t
Hi -
So I am trying to include a small snippet of code in each page of my
site. Is there a way to do this without modifying each controller?
For example - I want to log visitors to my site. Each page visited
would have some information put into the database.
URL
User info
tiestamp
browser inf
in jedit select Utilities -> Global Options.
Then in the left navigation click on 'Editing'.
In the first box 'change settings for mode' scroll down until you find
php.
Uncheck the Global settings checkbox.
Then in the textbox that says File name Glob: change the entry from
*.{php3,php4,php,phtml
Has anyone been able to integrate a third party shopping cart into
cake?
--~--~-~--~~~---~--~~
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 unsubscrib
So today I was having a discussion with a coworker who is not a fan of
using CAKEphp.
He is in favor of building his sites from scratch and clams that he
gets a faster development time (though I argue that he is writing puny
sites)
He also claimed that use of a framework like CAKE will result in
PROTECTED]> wrote:
> http://api.cakephp.org/1.2/class_model.html#d45dbbc6a13d9921731abf738...
>
> On Oct 22, 2:24 pm, carSign <[EMAIL PROTECTED]> wrote:
>
> > Is there a way to change the config variables inside my model on the
> > fly.
>
> > For example.
What have you found to be your best solution for a shopping cart
system in cake php.
List the pros and cons of what you have used.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to
Is there a way to change the config variables inside my model on the
fly.
For example. If a user visits:
http://www.example.com/videos/rent/toy_story
the page will be returned as normal. But if a user visits,
http://www.example.com/videos_qa/rent/toy_story or something like it
I want to use
Is there such a thing as some kind of catch all action - or good way
to handle when a user mistyps the url?
for example if I have
http://www.example.com/videos/rent/5124/0-235253
and a user types 'reny' instead of 'rent' like
http://www.example.com/videos/renr/5124/0-235253
is there some kind
Hi -
I found some good information on using cake to display a rss feed from
content on my site - any good tutorials or examples on how to use cake
to pull an RSS feed and display the contents?
thanks
Drew
--~--~-~--~~~---~--~~
You received this message because y
I am trying to execute a command from within a view. Something like:
And I get nothing. I get the output I need when run on the command
line.
Any ideas why this doesn't work?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
12 matches
Mail list logo