Hi bakers,
I want to use the media view component to manage downloads of files
that reside on a different server
function download() {
$this-view = 'Media';
$params = array(
'id' = 'afile.pdf',
'name' = 'afile',
Thanks Lunar for your reply I'll test this out asap... lol I already
got used to the attachment.. bad me :)
On 30 Okt., 20:30, LunarDraco [EMAIL PROTECTED] wrote:
I build and test all my code as a normal controller.
I create a normal view for my normal action which will show me the
contents
Thx dude
On Tue, Nov 4, 2008 at 8:23 PM, AD7six [EMAIL PROTECTED] wrote:
On Nov 4, 2:30 pm, Cjo [EMAIL PROTECTED] wrote:
Hi,
I have to show all the files that I have uploaded through my
application.
Please help me with this.
Regards
Cjo
Hi all,
In my application, I need to insert records in the following pattern:
--- Source Country, Destination Country, Duration, Cost ---
In which, I need to check isUnique for the combination of Source
Country and Destination Country.
But, I only know to give isUnique for a single field in the
Hi Michaeal,
thank you for your response. I've taken a look to the ajax helper, and
basically i understand what you mean.
But I'am not experienced enough to do this :-(
On 4 Nov., 23:57, schneimi [EMAIL PROTECTED] wrote:
Hi,
this is not supported by the ajax helper, I think you have to
Well, thanks for the tool RyOnLife, that's very nice indeed. Yet, I do
not see how this will solve the general problem. There is an ID which
has to be assigned to every page. The user can change this ID, but this
should not affect any opened tabs, where he still must be able to
continue with
I've posted a job on withcake.com here:
http://withcake.com/companies/ (look for Moonrocket Interactive)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
I'm writing my computer science masters thesis about PHP-frameworks.
All performance tests I've been able to find use hello world-
application. I'm planning to code a test application with few
frameworks. What kind of application it should be? What would you
think are the essential requirements
Hi guys,
I'm using CakePHP RC3 and when I put my app in production I got this
error:
Warning (2): file_exists() [function.file-exists]: Unable to access /
usr/local/apache2/htdocs/domains/helomar/app/models/datasources/dbo/
dbo_mysql.php [CORE/cake/libs/model/connection_manager.php, line 177]
Hi Tulio,
I guess you developed on a windows system and migrated to an iX system.
Did you check the access right on all your files and folders already?
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Tulio
Faria
Gesendet:
Hi All,
i am intending to give a presentation to a number of developers about the
framworks and how useful they are when using them in the development phase
of a project life cycle.
my demonstration for this presentation will be based on CakePHP, because its
easy to learn, powerful, yet being very
Yes,
I have already done this...
The strange thing is that the generated SQL is wrong too, it does not
have the fields...
Any other guess?
On 5 nov, 11:24, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi Tulio,
I guess you developed on a windows system and migrated to an iX system.
Hi
I've just upgraded to 1.2.0.7692 RC3 and can seem to find the cause of
the flash message which appears on all pages after being rendered.
In the controller
$this-Session-setFlash(__('The User could not be saved. Please,
try again.',true));
The Layout
?php if
Did you also develop in RC3?
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Tulio
Faria
Gesendet: Mittwoch, 5. November 2008 14:41
An: CakePHP
Betreff: Re: ERROR: Unable to access file
Yes,
I have already done this...
The
Interesting.
You might try asking one of the cake developers, what benchmark app(s)
they have written to use for their recent performance optimization
effort.
If they have some already, why not try one of theirs?
On Nov 5, 5:11 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I'm writing my
You can change the apparent (visible) position of the checkbox/label
with good css-fu, so it doesn't really matter either way, imho.
Like I said above, we could use a repository of css files for laying
out cake forms in various ways.
You could use $form-checkbox();
or simply: This is my
If anytime this happens to you, checks out that there's no .php file
named like the controller in the root folder (not webroot, the real
root folder of the project, that ones before 'app').
On 5 oct, 16:01, mattocrocop [EMAIL PROTECTED] wrote:
Hi everybody,
I'm going through a book called
Hi all,
I have a simple app that needs to have 2 types of users, normal users
and admins. I have got the Auth component working great and has the
entire site requiring log in etc, but I want to redirect users that
are admins to the admin route sections upon login.
I have this in my
Hi,
Any ideas of other subjects that might be useful to be mentioned over the
above?, and may be if there is any one who did something like that in the
past, it would be nice to share the docs or the slides of his/her
presentation.
Have a look at the slides on http://cakephp.org/files/,
Daniel, I'm a big fan of Firecake. Big time saver!!
Back to your problem: You've described it in pretty general terms, which I
think is usually a good idea for posting in a forum. In this case though,
maybe if you provided some background and gave more specifics on what you're
trying to do,
Hello all, I have 2 applications that are pretty much set up the same,
when I call this on one application every works fine and data is set:
$eventsx = $this-ScheduledItem-findAll(
array(
No.
I've update to RC2 because I got other erros that in RC3 were fixed.
But is there any significant change?
On 5 nov, 12:08, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Did you also develop in RC3?
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com
unfortunately the PDF files are broken, or at least this is how i see them,
and actually thats what i was really looking for in terms of subjects, would
you please try them out to assert my claims.
Thank you!
On Wed, Nov 5, 2008 at 11:42 AM, Daniel Hofstetter [EMAIL PROTECTED]wrote:
Hi,
Hello Guys,
I apologize in advance if this is not the appropriate forum to ask
this question, but I am interested in finding a Cake Developer to work
on a new project.
Thanks,
Selva
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
yeeehaw, I found it ;-)
It was just a new entry in the option array of the $ajax-submit();
Now it looks:
$ajax-submit('Absenden', array('div' = false,'url' = '/messages/
overview','update' = 'refreshArea','indicator' =
'loading','complete' = 'document.entryForm.reset()'));
On 4 Nov.,
I'd recommend giving them a non-blog tutorial for a few reasons:
* Shows more thought and attention to detail
* Are you guys developing blogs? The walkthrough should show how the
framework can be relevant to your business. If this is for a local
user group, they'll all soon discover the blog
I've updated the dev version too... And I dont get these errors :(
On 5 nov, 14:01, Tulio Faria [EMAIL PROTECTED] wrote:
No.
I've update to RC2 because I got other erros that in RC3 were fixed.
But is there any significant change?
On 5 nov, 12:08, Liebermann, Anja Carolin
[EMAIL
Hi guys,
I am completely stuck and cannot figure out what I am doing wrong.
I have created a custom Upload behaviour but I cannot get the
following validation rule to work.
Just after the setup function in the behaviour I call this function
_create_validation_rule($model){} which sets the
Hi,
unfortunately the PDF files are broken, or at least this is how i see them,
and actually thats what i was really looking for in terms of subjects, would
you please try them out to assert my claims.
Hm, I can read the PDFs without problems (using kpdf).
--
Daniel Hofstetter
I have different methods in my code that send ajax requests and fancy
stuff like that . . .these functions work great when i set my debug
mode to 1 or 2 but when i set it to 0, they don't work.
any ideas why this would happen?
thanks,
rich
--~--~-~--~~~---~--~~
Hi Daniel,
You want to include the ID in the URL so that it persists when
bookmarked, and using a session doesn't provide that feature.
I understand what your trying to do, but the form action does not
require the ID to be included, because posted form requests first
require an HTML page to
I could not make it work as well. I have the exact same configuration (with
xdebug) as Daniel's.
On Wed, Nov 5, 2008 at 10:43 PM, Daniel Hofstetter [EMAIL PROTECTED]wrote:
Hi all,
I'm trying to get the code coverage analysis to work on my system, but
so far without luck. If I click on the
Hi all,
I'm trying to get the code coverage analysis to work on my system, but
so far without luck. If I click on the analyze code coverage link in
the test suite either nothing happens or an empty test.php gets
downloaded. In the log files I couldn't find anything suspicious.
I'm using PHP
Hi all,
I also have a problem with XDebug, but not like Daniel. I get the code
coverage page properly, but Apache throws an exception randomly on
some tests. So, it's kind-of working, but...
Daniel, is your xdebug installed as a zend extension?
On Nov 5, 5:43 pm, Daniel Hofstetter [EMAIL
Oh, and I do second 703designs' suggestion regarding bake +
scaffolding. Those two alone are brilliant tools.
On Nov 5, 11:05 am, soosa [EMAIL PROTECTED] wrote:
unfortunately the PDF files are broken, or at least this is how i see them,
and actually thats what i was really looking for in terms
I respectfully disagree with it being a bad idea. It was an example,
so if taken literally then perhaps yes, but it was an example to show
that one can create their own label (that would also then be
associated with the input itself). Although we'd have to manually
define the input the label is
I also think it's worth mentioning something about documentation. The
Cake Cookbook is now an absolutely excellent resource for material,
and I know that in some businesses people are frightened by open
source because of lack of documentation. Zend's manuals are
excrutiatingly in-depth (just
You are welcome to use my Auth tutorial, which should show some
powerful features (well, more powerful than a blog or maybe you could
combine the two).
I've also just published a tutorial on how to secure your forms with
just a few lines of code, I think both of these features will make
anyone
Hi Hannibal,
I also have a problem with XDebug, but not like Daniel. I get the code
coverage page properly, but Apache throws an exception randomly on
some tests. So, it's kind-of working, but...
Daniel, is your xdebug installed as a zend extension?
Yes, the xdebug.ini is:
Another issue with benchmarking is that when dealing with OOP, or any
code in PHP, TMTOWTDI (There's More Than One Way To Do It)... So, to
properly benchmark any framework, one would have to know each
framework inside and out to take advantage of all the tricks to
increase performance when
OK, ok :)
So, use $form-label(), then... I'm sure you know this quite well.
It was a simple example to show a very simple solution...
On Nov 5, 5:35 am, grigri [EMAIL PROTECTED] wrote:
You can change the apparent (visible) position of the checkbox/label
with good css-fu, so it doesn't really
Just in case it helps someone else...
Elsewhere in the reply function of my controller I was retrieving some
data that needed to be displayed in the form. I was using $this-
PrivateMessage-read(...) when I should have been using a find.
Apparently the read function blanked out the error messages
Hi all,
I'm a newcomer to CakePHP, trying to write a plugin (with Cake
1.2.0.7692 RC3)
I'd like to handle major (and plugin-specific) errors that may happen
with the cakeError method, but we can't define a MyPluginAppError? Is
there another way?
This idea has already been submitted :
Hi Galdan,
ok here is a little help:
function remoteTimer($options = null) {
$frequency = (isset($options['frequency'])) ?
$options['frequency'] : 10;
$timervar = (isset($options['timervar'])) ? $options['timervar'] .
'=' : '';
$code = $timervar . new PeriodicalExecuter(function()
Hallo everyone,
I am manually starting a session in one cake app (Session.start ==
false in config/core.php). So in order to take advantage of the flash
messages, I need first to activate the session component (which is
straightforward in the controller) and then activate the session
helper. Is
Hi everyone,
at the risk of being that bastard :) I'm going to ask for your help
here, I apologize if it's too much off-topic.
Not to repeat myself too much, the original plea for help can be found
here:
http://dsi.vozibrale.com/articles/view/neutrinocms-development-and-design
In a nutshell:
How are you going to measure the performance?
The time it takes to process a request?
The time it takes to develop?
Are you going to implement caching?
Are you going to try multiple datasources (of various types)?
IMO, a real-world app should have the following features:
- User registration
-
I'm using $javascript-link to generate calls like:
script type=text/javascript src=/js/scriptaculous.js/script
Now I want to change it to something like:
script type=text/javascript src=http://foobar.com/js/
scriptaculous.js/script
I was looking for some kind of parameter in core.php to
This appears to be an issue with the versions. The cake version it
works with is 1.2.0.6311 and then the version it doesn't work with is
1.2.0.7296. Any idea on how I can get this to work with version
1.2.0.7296? I would like to have both applicaions running on the
lastest version however I get
the should be on the key side now (due to security fixes)... so
'ScheduledItem.start =' = '2008-11-02'
On Nov 5, 1:47 pm, MDB [EMAIL PROTECTED] wrote:
This appears to be an issue with the versions. The cake version it
works with is 1.2.0.6311 and then the version it doesn't work with is
I am getting a cakephp web page when I type localhost. I am trying to follow
the cakephp tutorial and create the first table. I don't know how to find the
mysql phpMyAdmin to create the table in Xampp?
I thought I got it by typing localhost/xampp or something like that. NOw all I
get is
I'm hoping someone can help. I'm fairly new to CakePHP but am
thoroughly enjoying coding with it.
Basically I've got a field within a table that contains my content.
I'm trying to grab the search terms from a single input, explode them
and search the content section for each term individually.
Hey guys,
I'm quite new to cake and MVC Patterns in general. At the moment I'm
playing around a bit to figure out how cake works. My plan was to
build a little forum for learning. But I already fail when designing
the models :/
I got the following (sql) tables:
forums (id, category_id,
THANK YOU!
On Nov 5, 2:03 pm, teknoid [EMAIL PROTECTED] wrote:
the should be on the key side now (due to security fixes)... so
'ScheduledItem.start =' = '2008-11-02'
On Nov 5, 1:47 pm, MDB [EMAIL PROTECTED] wrote:
This appears to be an issue with the versions. The cake version it
This is getting quite confusing/frustrating ...
If I use 'contain' it's the equivalent of using 'unbind' (on the fly)
on everything not listed in 'contain' (as described in the Cookbook);
however, if I use 'contain', it seems to actually execute an extra
query to get that corresponding
Seems like you are overriding your condition each time...
On Nov 5, 1:49 pm, Nick [EMAIL PROTECTED] wrote:
I'm hoping someone can help. I'm fairly new to CakePHP but am
thoroughly enjoying coding with it.
Basically I've got a field within a table that contains my content.
I'm trying to
I have some tables/models such that Post HABTM Tag and Tag HABTM
Category (for example).
When I do a Post-find('all') with recursive set to 2 (or even using a
'contain' array with Post = Tag = Category, I am getting duplicate
entries for Category. So, part of my results end up looking like:
Yes, thats my biggest issue, I don't know if there is a way within
Cake to define multiple array values for 'Question.content LIKE'
I've tried building it like this, however the SQL query built off of
this array isn't correct:
$term = $this-data['Question']['searchTerm'];
Hi there!
I have tried to save some data from a non cakephp form and it has been
impossible, how can I do that? Currently I have a javascript file and
I'm creating an URL like this:
http://localhost/articulosXml/add/name:testName/description:testDescription,
but when I use cakephp to retrieve
Hello all,
I am implementing the jEditable plugin for jquery for inplace editing
of database fields.
I am working off of the instructions found here:
http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/
I should note that the field is, in fact, being updated in the
First, it should be POST... then you need to take a look at the way
the form helper names the fields.
And if you don't want to do any of that take a look at pr($this-
params);
On Nov 5, 2:58 pm, Nic [EMAIL PROTECTED] wrote:
Hi there!
I have tried to save some data from a non cakephp form and
Sorry I sent an earlier message but I didn't explain very well.
I installed phpCake. I have Xampp version of apache and mysql server for
localhost testing which earlier worked. If I typed http://localhost/xampp I
would get a list of tools and status and so forth. Now if I type
Nothing to do with cake. Your usage is incorrect.
Please review how to correctly build an 'OR' condition in the manual,
there are multiple examples.
On Nov 5, 2:45 pm, Nick [EMAIL PROTECTED] wrote:
Yes, thats my biggest issue, I don't know if there is a way within
Cake to define multiple array
Never had this problem myself - in fact, usually the other way round!
Although I have seen threads about Ajax and session persistence being
a problem, and debug level might have an impact on that.
Do you have firebug for Firefox installed? You can take a look at what
comes back from the ajax
nothing comes back into firebug when i run it with 0 set . . . .just
weird . . its like it doesn't even start.
On Nov 5, 3:33 pm, the_woodsman [EMAIL PROTECTED] wrote:
Never had this problem myself - in fact, usually the other way round!
Although I have seen threads about Ajax and session
I have created a join table between Recipes and Categories table name
categories_recipes as
create table categories_recipes
(category_id int(11) not null,
recipe_id int(11) not null)
engine innodb;
And in the Recipes model I put:
var $hasAndBelongsToMany = array('Category' =
Simple scenario:
Top div contains ajaxed, paginated index of items. Bottom div shows /
view when an item is selected from the index. You can choose to edit
the item in the bottom div, it ajaxes in the /edit form. On
susccessful submit, you redirect back to /view with flash saying
'Saved OK'.
do you have any example code that we can look at, ive just gone
through a session where i have had to work with ajax in cake, mighe be
able to help you out
On Nov 5, 9:48 pm, Donkeybob [EMAIL PROTECTED] wrote:
nothing comes back into firebug when i run it with 0 set . . . .just
weird . . its
I've been staring at the manual all day... maybe I am missing
something and if so, my bad.
If I build an or statement without the foreach loop, I would do it as
follows:
$conditions = array(
'conditions'= array(
'OR' = array(
Hi teknoid! thank you for ur time
So! you are telling me that I can NOT pass parametes via GET to
cakephp? the problem is: I'm doing some nice stuff with google maps
balloons, and that balloons have some type-text inputs and I need to
save in a database the info that is filled in those type-text
There are two sentences and you missed one of them:
look at pr($this-params);
On Nov 5, 3:56 pm, Nic [EMAIL PROTECTED] wrote:
Hi teknoid! thank you for ur time
So! you are telling me that I can NOT pass parametes via GET to
cakephp? the problem is: I'm doing some nice stuff with google maps
How can you tell me you looked at the manual, when the example is
right there in complex find conditions?
http://book.cakephp.org/view/74/Complex-Find-Conditions
(I know 'cause I remember adding it :))
$this-Post-find('all', array('conditions'=array(
'OR'=array(array('Post.title
When you say different server do you mean one that is on a different
domain/website? If so, you can just redirect to that file and not use
the media view at all.
The media view is used to read local files.
Cheers,
Adam
On Nov 5, 6:15 pm, JuergenRiemer [EMAIL PROTECTED] wrote:
Hi bakers,
I
...finally, I have seen the light, Thank you very much, I have spent
two bussines day traing to do that!
Nic!
On Nov 5, 4:22 pm, teknoid [EMAIL PROTECTED] wrote:
There are two sentences and you missed one of them:
look at pr($this-params);
On Nov 5, 3:56 pm, Nic [EMAIL PROTECTED] wrote:
you should install cake in xampp/htdocs/cake for example, not in
htdocs directly.
Also, I guess xampp does not have the mod-rewrite enabled by
default .. Check your php.ini in the xampp/apache/bin and uncomment
the line relative to mod-rewrite.
hth
On Nov 5, 9:26 pm, Janis Rough [EMAIL
I guess that if you include http://; in the name it should generate
the righrt url ..
On Nov 5, 7:15 pm, Andres Monroy-Hernandez [EMAIL PROTECTED]
wrote:
I'm using $javascript-link to generate calls like:
script type=text/javascript src=/js/scriptaculous.js/script
Now I want to change it
Well quite normal since as long as you are not logged in beforeFilter
has no much effect on redirection ..
Better, use $this-Auth-autoRedirect = false; in beforeFilter ..
In login,
if($this-Auth-user('id'))
{
if($this-Auth-user('admin') == 'n')
blah;
else
otherblah ...
}
OH MAN!
I see exactly what I was missing, I wasn't defining each condition
within the OR array as an array! Thank you for pointing it out. I
must have typed and re-typed those lines so many times that I just
overlooked it...
That settled it, thanks a ton for the help!
On Nov 5, 4:27 pm,
What might also help is a way to include recursion on only certain
associations - which can be done with 'contain', but again, 'contain'
is doing more db queries than it needs to.
On Nov 5, 11:38 am, Brenton B [EMAIL PROTECTED] wrote:
This is getting quite confusing/frustrating ...
If I use
JOINS are only built for hasOne and belongsTo relationships.
A bunch of little selects will not harm your DB (how many milliseconds
do those queries take?)
Are you displaying some list on the page? Maybe paginate is in order
for this case?
All that being said, if you are not happy with that and
He's asking how to define the path to the file as absolute rather then
relative to the app folder.
Which you can't because the MediaView.php file is hard coded to
compute the path as follows.
$path = APP . $path . $id;
There are two ways to resolve this problem.
1) Change the MediaView.php
That's the problem with 'contain' though ... even if I do use a hasOne
bind, 'contain' will still do extra queries.
In the example I mentioned, it will retrieve everything properly in 1
big query, but then it'll go back again and find the models listed in
'contain'.
On a default page of 20
After a bit of digging setting the 'recursive' property in the model
_partially_ solves this:
var $actsAs = array('Containable' = array('recursive' = false));
However, obviously won't help where some items need a 2nd or 3rd
level.
So I guess it comes back to: is there any way to be
Hello Guys,
I am building an application that has items available for specific
times only, up to 14 days. the timeAgoInWords function helped me a
great deal and saved me a bunch of time in displaying something like:
Time Left: 1 week, 3 days
However, id like it to be a bit more specific and
I find that Model-bindModel() brings back the association, but still
not ideal having to do that for everything...
On Oct 29, 3:40 pm, tobi_one [EMAIL PROTECTED] wrote:
Can confirm this happening, but don't know the reason. What's
interesting: it only occurs sometimes, not all the times.
As a
Thank you Matthew - I log it everytime before throwing the 404 and I
figured whatever was creating these things would stop - but it
continues. I'm so dadgum anal obsessive it just kills me - hard to
ignore...
It is not coming from any 'known' bot either...
hi guys,
I just would like to ask about creating tables. I have read a book
Apress Beginning CakePHP in chapter 2 it says there that
Giving each record a unique id value is essential for Cake to
function without trouble.
This application is simple, so you may be able to get by without
In this case you'll have to tell Cake what the primary key is:
http://book.cakephp.org/view/437/primaryKey
Why would you want to name it this way though? An id column in the
Category table is obviously going to be the Category.id.
Category.category_id seems pretty redundant to me, and in
Hi All,
I've been porting a 1.2 Beta site to RC3 7830 and found that if I
refresh a cached view that has in this case a comment form surrounded
by cake:nocache/cake:nocache I get the following errors :-
Notice (8): Undefined property: stdClass::$model [CORE/cake/libs/view/
helper.php, line
Can you say which version you are running RC3 and latest svn ?
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
I am using Set::extract to pull some IDs out of a large multi-dimensional
array. Works great, except in the array that is returned, the IDs are
shuffled.
For example, the ID from the 0th dimension of the multi-dimensional array is
the 3rd element in the return array. IDs are not returned in the
Could you do the same with a setAction() inside the controller?
(assuming it's the same controller)
Adam
On Nov 6, 6:54 am, jasonL [EMAIL PROTECTED] wrote:
Simple scenario:
Top div contains ajaxed, paginated index of items. Bottom div shows /
view when an item is selected from the index.
On Wed, Nov 5, 2008 at 11:46 PM, RyOnLife [EMAIL PROTECTED] wrote:
Anyone else experienced this problem? How can I get the elements in array
returned by Set::extract to be in the same order they're found in the
multi-dimensional array?
I'm still a beginner with CakePHP, but I suppose
that the
Marcelo, I don't know any Java, however, just seems strange that it shuffles
the data. Even if it's not ordered and not sorted, why wouldn't it just
return in the existing order?
Marcelo Andrade wrote:
On Wed, Nov 5, 2008 at 11:46 PM, RyOnLife [EMAIL PROTECTED] wrote:
Anyone else
On a hunch, I searched my code for shuffle and spotted a line where the
array was indeed shuffled before Set::extract was called. Set::extract does
in fact return elements in the same order.
:-)
RyOnLife wrote:
Marcelo, I don't know any Java, however, just seems strange that it
shuffles
Hi...
Is it possible to insert multiple records in a single save().
For example:
I need to insert the following array in a single save():
$this-data = Array('Model' =
Array(
Array('office_id' = '7',
'name' = '666',
Try saveAll().
http://book.cakephp.org/view/75/Saving-Your-Data
On Thu, Nov 6, 2008 at 11:32 AM, si-mon [EMAIL PROTECTED] wrote:
Hi...
Is it possible to insert multiple records in a single save().
For example:
I need to insert the following array in a single save():
$this-data =
Hi,
I've run into a frustrating problem, I'm trying to validate an array
of the same type of model, but the
I have used the name convention as suggested here:
http://manual.cakephp.org/complete/181/Core-Helpers#Field-naming-convention-547
eg:
?php
echo $form-input('fieldname.1');
echo
On Oct 15, 9:50 am, avairet [EMAIL PROTECTED] wrote:
I've an issue with custom routing and automagic paginator links...
snip
How can I keep this pattern in the paginator links (prev, first,
numbers)?
Because all my tests have failed: the paginator links always contain
Hi. I've scoured the web to my best extent without wasting away days
of time on this, and I'm stuck... I'm running a CakePHP site with RC3,
and am having some serious memory overhead issues. As I came into this
project picking up the pieces of another programmer, I've recently
decided it'd be
1 - 100 of 105 matches
Mail list logo