you might want to bump up the debug level in config/core.php to 2 and
see ifthere are any sql errors being reported.
Sa,m D
On 8/27/06, AD7six [EMAIL PROTECTED] wrote:
Hi Mandy,
what version of MySQL do you have, there looks to be nothing wrong with
the sql statement.
Cheers,
AD7six
Which is why when ever you update your database with new fields you
need to clear the various cache files or you can get bit in the a$$
like I used to ;)
Sam D
On 8/28/06, nate [EMAIL PROTECTED] wrote:
When in debug mode, the cache of the model description expires every 20
seconds or so.
it's cheating ;)
use the bindModel methods for this little dealio
see
http://cakebaker.wordpress.com/2006/02/22/new-feature-bindmodelunbindmodel/
Its the bee's knees
Sam D
On 8/28/06, Cheeze [EMAIL PROTECTED] wrote:
I would like to find out more about this as well. Any takers?
--
==
also if you do not need/want the associated models you can user
recursive = 0 or -1 (I forget which) to have cake not even try t oget
them...
On 8/29/06, DJ Spark [EMAIL PROTECTED] wrote:
Hi sonic,
In debug mode 0 , cakephp caches models for a few seconds (20 sec)
. In production mode,
you mean like
$this-ModelName-AssociatedModel-findAll($condition);
You can do that
On 9/1/06, Evan [EMAIL PROTECTED] wrote:
you misunderstand me. i am already too familiar with the four regular
associations. what i'm looking for is a way of making associations
THROUGH an intermediary
how does something that hasOne have ordering?
perhaps what you are looking for is a hasMany with an ordering and a limit of 1
On 9/2/06, Evan [EMAIL PROTECTED] wrote:
I defined my model with this association:
class Topic extends AppModel
{
var $name = 'Topic';
var
Also with some tools that people use to uncompress the cake files to
begin with the .htaccess files are not uncompressed or their file
permissions are set in such a way that the web server can not read
them.
Sam D
On 9/3/06, nate [EMAIL PROTECTED] wrote:
Either you don't have mod_rewrite
On 9/3/06, Chris Lamb [EMAIL PROTECTED] wrote:
On Sun, 3 Sep 2006 14:01:18 -0400, Chris Hartjes wrote:
..snipped a whole load of common sense..
On a related note, never ask the 'obfustication' question in #php. I've
seen other people do it, and the outcome is not pretty.
Unless you read
It is possible, I think that nate has talked about it in the list
before, try searching the list at googlegroups if you can't find it
I'll try to find the reference later today
Sam D
On 9/11/06, Chris Hartjes [EMAIL PROTECTED] wrote:
On 9/11/06, Aaron Santiago [EMAIL PROTECTED] wrote:
see Nate is THE MAN and cake is the BOMB
On 9/11/06, nate [EMAIL PROTECTED] wrote:
Yes, you can update mutliple divs in a single request.
Check out the following threads for some details on how to do it:
In all likelyhood your controllers do not have the var $helpers =
array('Javascript','Ajax');
On 9/13/06, TWIOF [EMAIL PROTECTED] wrote:
Hi,
I have a the following code in my default.thtml layout:
echo $javascript-link('scriptaculous.js?load=effects')
it works on my index page but doesn't
you might look at some of the date parsing tools in php,
like
http://php.net/strtotime
but to be honest, I tend to either split out the fields for entry or
use pull downs...
Sam D
On 9/13/06, M [EMAIL PROTECTED] wrote:
Hello, seems that mysql store dates in the following format:
-mm-dd.
Also saw this cool javascript date entry tool today.
http://datebocks.inimit.com/
Sam D
On 9/13/06, Samuel DeVore [EMAIL PROTECTED] wrote:
you might look at some of the date parsing tools in php,
like
http://php.net/strtotime
but to be honest, I tend to either split out the fields
I usually either encode it in another searchArg element in the view
links or I use a session variable to track it
On 9/13/06, Gregory Stewart [EMAIL PROTECTED] wrote:
I am trying to use pagination as described in this wiki here:
http://wiki.cakephp.org/tutorials:pagination
It works fine,
I have found that sometimes the session id can show up in the urls
when there is a trailing eol (end of line char) in a helper or
component
Sam D
On 9/14/06, nate [EMAIL PROTECTED] wrote:
In order to completely disable it, I put the following in my
app/config/bootstrap.php (note that you can
like a vendor, (precede with pear/
On 9/14/06, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote:
On Sep 14, 2006, at 2:36 PM, Brian French wrote:
Actually, an extended questions to his...
How could you use PEAR in cakephp? (no, im lazy ad didnt do even a
basic
search)
try
function copytest($id)
{
$this-Applicant-id = $id;
$this-data = $this-Applicant-read();
$this-Applicant-id = null;
unset($this-data['Applicant']['id']);
$this-data['Applicant']['schoolyear_id'] = 16;
save takes the associated array
either
$this-Applicant-save($this-data);
or
$this-Applicant-save(array('Applicant',$this-data['Applicant'));
On 9/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Thanks - it has been pasted.
make sure that you delete the contents of the /tmp/cache/models
folder for your app
Sam D
On 9/17/06, BlenderStyle [EMAIL PROTECTED] wrote:
I just added a new field to my clients table. However, when I do
$client = $this-Client-find('where id='.$id);
the new field isn't showing up in
http://www.xs4all.nl/~mechiel/projects/bomstrip/
has versions of the same thing in a ton of languages (not php thought ;)
for utf8 you could do this probably if you have sed
sed -i -s -e '1s/^\xef\xbb\xbf//' files
On 9/18/06, DJ Spark [EMAIL PROTECTED] wrote:
I had the same problem here,
in my world my components and helper directories are kept in a
seperate svn repository and then checked out as externals to the
deployment and test applications. This way I share them all with all
my client applications, and it helps me define ownership of those as
seperate entities from the
you might want to check your php info and see if mysql support was
built in. In php5 it is often not installed by default. See
http://us3.php.net/manual/en/ref.mysql.php
you can make a page in your webroot that contains ?php phpinfo() ?
sam d
On 9/19/06, greg [EMAIL PROTECTED] wrote:
Hi,
and cache the look ups so the queries don't kill ya :)
On 9/20/06, lloydhome [EMAIL PROTECTED] wrote:
I think it is a matter of taste and how you want to use it. The simple
solutions are if it is view-centric then a simple helper might do the
trick. The other is to create a lookup table in
in config/routes.php i added
$Route-connect ('/admin', array('controller'='pages',
'action'='display', 'admin_home'));
$Route-connect ('/admin/', array('controller'='pages',
'action'='display', 'admin_home'));
On 9/20/06, green-mamba [EMAIL PROTECTED] wrote:
Hi,
I have been using admin
Man,Iwouldlovetoseethat!!!HopefullytheCakeBakerymightgoliveonedayandyoucouldgetthetutorialinthere.Ihaveplayedaroundwithtryingtogetsomeappsdeployedusingcruisecontrolandant(wehaveourmajorjavastrutsappdeployedwithitandaninhouseguruforant/cc)
http://cakeforge.org/snippet/detail.php?type=snippetid=63On 9/22/06,
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Is there Cake Migrations now?I hadn't heard about this yet.-- ==S. DeVore (the old fart) the advice is free, the lack of crankiness will cost you
try searching the group
http://groups.google.com/group/cake-php/search?group=cake-phpq=two+div+nateqt_g=1searchnow=Search+this+group
(btw a trick to shrink number of results is to add nate to the end of
the query ;)
Sam D
On 9/28/06, carlosrg [EMAIL PROTECTED] wrote:
Hi
I have the
Inflector::pluralize
look at the api for it http://api.cakephp.org/class_inflector.html
most of these can be called directly without and instance of the class
Sam D
On 10/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
i'm writing compoennt and i need function convert controlername to
chmod -R 1777 /path/to/dir
'man chmod' is a big help ;) if you get Bwana
http://www.bruji.com/bwana/index.html you can get nicely formated
man pages in your browser.
On 10/2/06, ComputerGuy [EMAIL PROTECTED] wrote:
To tell you the truth I have no idea of how to do that. I'm new to the
Mac.
I've done it, maybe not the most elegent way but I used a ajax
observer and when the first selection is made it requests a view that
is nothing but the next select, passing the it the id of the selected
popup. I'll see if I can dig up the code, It was about 10 months
ago...
On 10/2/06, rdoggsv
you might be able to do this with a hidden field that gets updated
with the id. You would probably need to alter the autocomplete code,
you would probably be best served asking on the rails spin off lists
(rubyonrails-spinoffs@googlegroups.com) is the address it is a
googlegroups so you could
I make it a part of the request path and go from there
On 10/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I plan on having many observeFields in a form, but I don't want to code
a function for each one. I would rather just have one function that
responds to all the obervers. But within
assuming that the permissions on the folder are permissive enough :)
On 10/4/06, nate [EMAIL PROTECTED] wrote:
They are recreated automatically if they do not exist.
--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you
As a public notice, Mac OS X is usually configured the same way out of the box
Sam D
On 10/4/06, John Zimmerman [EMAIL PROTECTED] wrote:
On 9/29/06, John Zimmerman [EMAIL PROTECTED] wrote:
Does anyone have mod_rewrite working properly under Debian Etch Testing?
I fixed the problem the
I agree broken down by
server and hosts
Sam D
On 10/4/06, John Zimmerman [EMAIL PROTECTED] wrote:
On 10/4/06, Samuel DeVore [EMAIL PROTECTED] wrote:
As a public notice, Mac OS X is usually configured the same way out of the
box
Sam D
This would explain some of the problems OS X
I think if you are assured that your app will only ever 'get' to run
in php5 that there are enough benefits to the language features that
it is worth working in php5. If you think that there is even the
slightest chance that you might have to run it in 4 then build it in
4.
Sam D
On 10/7/06,
here are somethings that have caused me problems with ie and scripta/prototype
stuff in tables
nested forms (never a good idea anyway)
lack of unique id's on contained elements
load order of scripts and other js code
HTH
Sam D
On 10/7/06, Brian Wisti [EMAIL PROTECTED] wrote:
On 10/7/06,
you can also get a reference to the db handler and get errors
If you do $db =
ConnectionManager::getDataSource($this-Model-useDbConfig), that will
give you a reference to the database connection object, from which you
can retrieve query and connection errors.
On 10/9/06, Troy Schmidt [EMAIL
Dan you might want to store those in the filesytem (ok I was just
wanting to get that thank you you were giving away)
You might look at http://wiki.cakephp.org/tutorials:dynamic-image
there are some things to look out for in that. I have created images
on the fly like this and it does work, but
Right but it could be in a helper, a component, a config file, a
you might also try using output control buffers
http://us2.php.net/manual/en/ref.outcontrol.php
On 10/12/06, tom [EMAIL PROTECTED] wrote:
I had noticed that before and checked: no newlines before ?php on
runs_controller
()), but the
whitespace is before that. What else is there to do?
On Oct 12, 11:01 am, Samuel DeVore [EMAIL PROTECTED] wrote:
Right but it could be in a helper, a component, a config file, a
you might also try using output control
buffershttp://us2.php.net/manual/en/ref.outcontrol.php
On 10/12/06
it down might be very difficult. They are
somewhere, I wonder if someone has any tricks to find them? some
awk/sed magician in the house perhaps
On 10/12/06, tom [EMAIL PROTECTED] wrote:
Not sure what you mean?
On Oct 12, 11:20 am, Samuel DeVore [EMAIL PROTECTED] wrote:
clear the buffer first
Where did you upload them to?
Sam D
ps I did the textmate ones, and have been to lazy to do ones for zend
so whoopeee and thankss
On 10/12/06, underdog [EMAIL PROTECTED] wrote:
Hi list.
I have just uploaded a set of CakePHP templates for Zend Studio. I
based them on the textmate bundle,
we can keep them all in the cakeforge project that has the textmate templates
http://cakeforge.org/projects/tmbundle/
I'll update the textmate links and add anyone who wants to work on
other ide sets
On 10/14/06, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote:
On Oct 14, 2006, at
put it in the paste bin please, not in the mail,
http://www.cakephp.org/pastes/add or the new fancypants
http://bin.cakephp.org/
On 10/15/06, BlenderStyle [EMAIL PROTECTED] wrote:
Can you post your form tag, along with an input tag, and your add()
method please?
--
==
S. DeVore
I would open a ticket at http://trac.cakephp.org and explain the benefits
On 10/15/06, johnpfisk [EMAIL PROTECTED] wrote:
I tried to do something similar using unbindModel on all the
associations of the other models associated.
Probably not the best way to go about it as it has created a
this site http://www.glicksmanlaw.com/ is a very basic cake site
running on the private label hosting component of godaddy wildwest
domains. When I get to work tomorrow, I'll login and see how it is
set up (I can't remember the logins off the top of my head) And see
if that helps you.
Sam D
no but it does make it private 'like' in cakephp in that it can not be
called with the /controller/method from the browser.
On 10/17/06, Chris Hartjes [EMAIL PROTECTED] wrote:
On 10/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Just preceed the function name with a underscore.
/me
yea try it
On 10/17/06, Chris Hartjes [EMAIL PROTECTED] wrote:
On 10/17/06, Samuel DeVore [EMAIL PROTECTED] wrote:
no but it does make it private 'like' in cakephp in that it can not be
called with the /controller/method from the browser.
Hey Sam,
Is this actually a feature
you can also use the magic function of findAllByName('moore')
On 10/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Perfect! That helped a lot!
Thanks
--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you
you can also unset the arrays, as you write to the end of the files.
The garbage collection should help you. You might need to directly
interact with the msysql calls so you can release those connections as
well, I'm not sure how long cake holds them, also you might benifit
from not using
Since I wanted to be (needed to be php4 and 5 savvy) I basically
followed this http://www.zend.com/zend/tut/tutbarlach.php and just
still do it this way.
Sam D
On 10/22/06, Richard [EMAIL PROTECTED] wrote:
Hi,
How do you guys parse XML? I have looked at various options and
wondered if
just for kicks I did move a couple of sample projects to the new core
stuff and other then the chaning of the index.php files and some
tweeking of config files they all seemed to move fine.
No rigorous testing but initially pretty good
Sam D
On 10/23/06, Mariano Iglesias [EMAIL PROTECTED]
actually you can move the xml.php file to vendors and it works pretty
good in 1.1
On 10/23/06, Richard [EMAIL PROTECTED] wrote:
I looked at the thinkingphp solution but it only works in Cake 1.2 ...
the other option i could see was using PHP's SimpleXML (only PHP 5) .
On Oct 23, 5:27 am,
$this-Username Models are CamelCaseSingular
On 10/23/06, Gayathiri [EMAIL PROTECTED] wrote:
Hi, i need to extract a record whose name is from input field and
language_id id $lang value. I have the following code. But it isnt
working..can anyone help on this please.
try adding
$this-Artist-recursive = 2;
(or other recursion level defaults to 1)
values
-1 only the model of interest NO joins
0 only the root level (may include belongsTo and hasOne
1 only first level of hasMany and hasAndBelongsToMany
2 ok I bet you can guess ;)
hth, if not hope for someone
Nate is it possible to have deprecated methods through notices in
debug mode but work in deployment for deprecated methods for a release
or two before the scheduled removal. Given that there are more and
more sites built on CakePHP that are in production?
SD
On 10/24/06, nate [EMAIL PROTECTED]
$cryptPass = md5($plaintextPass); // this and other fun facts at
http://php.net/md5
I would like to say something cranky like
did you look up md5 at php.net
or
perhaps some time spent in a nice comfortable desk chair with a girl
named Google
or some other snide, sarcastic comment. But then I
if you are on php4 you might need to use findByUser_name
On 10/24/06, roby [EMAIL PROTECTED] wrote:
Hi all.
Based on the CakePHP manual tutorial (appendix B), I've found that if I
changed the table structure for users become like this:
CREATE TABLE users
(
user_id INT AUTO_INCREMENT
then php.nt should be yu bed time reading the manual is REALLY REALLY good
On 10/24/06, roby [EMAIL PROTECTED] wrote:
Thanks Samuel. Just FYI, I really new to PHP too and I'm really sorry
to take your time.
--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness
Ok I am an epically bad typer with a sleeping baby in arms should read
Then http://php.net/ should be your bedtime reading, the manual is
Really Really good (and some of the comments are great places to learn
good tricks, ok and some bad ones)
Sam D
On 10/24/06, Samuel DeVore [EMAIL PROTECTED
btw here is a great newbie tip, add 'nate' to the end of search
queries on the cakephp group to get better result sets.
On 10/24/06, Chris Hartjes [EMAIL PROTECTED] wrote:
On 10/24/06, Ismael S. Kafeltz [EMAIL PROTECTED] wrote:
I do search a lot before any question, but i found too many
tease
On 10/25/06, nate [EMAIL PROTECTED] wrote:
- Acts (acts allow you to decorate a model's behaviour with
additional orthogonal aspects and encapsulate that behaviour
in a single, central place)
We have something called 'Behaviors' in Cake 1.2. There have been a
few
perhaps posting some code in the bin to let people see what you are
doing might help.
http://bin.cakephp.org/
On 10/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Here's my problem. In my database firstname and lastname are required
fields. If you enter a space in the field, it will let
One thing to keep an eye out for is some text editors have a Freehand
Editing mode (TextMate for one) and sometimes inadvertent mouse
clicks can add extra spaces after closing tags. You might keep an eye
out for a setting like that, I try not to use that editing mode for
that reason. Also some
if you write one ;) it should be possible to make it a model file
(like some people have done for rss, ldap and other services. you
should be able to take existing php code from another source and wrap
it into a model and then retrieve data for read only.
Sam D
On 11/2/06, tms [EMAIL
I can not. I do not run cake on a windows server. I would recommend
getting on the irc channel for quicker feedback. It is likely that
you will only get an answer from someone who has this problem. And I
know that most people I have seen don't usually answer when they do
not have the problem,
I'll assume that you have a dvds_genres table with dvd_id and genre_id
columns and the you have set up genre.php and dvd.php models to
hasAndBelongToMany each other
and that you have looked at the
http://manual.cakephp.org/chapter/models page down near the bottom
where it talks about this type
yes you can just use something like this
var $hasMany = array('ChildGenre' =
array('className'='Genre','foreignKey' = 'parent_genre_id'));
var $belongsTo = array('ParentGenre' = array('className'='Genre'));
should get you started
On 11/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
findBy I think you still have to findByCamel_case if your model name
is CamelCase in php4 (at least I do in my version)
see last comment in this thread
http://groups.google.com/group/cake-php/browse_thread/thread/30aaee6b59a3a32f/2831ec4eeedb2a23?lnk=stq=findby+naternum=1#2831ec4eeedb2a23
we had a similar problem on a server update recently and it turned out
that the tmp folder was no longer writable. Once the permissions
issue was corrected the problem was resolved. You might check the
permissions at /tmp and /var/tmp and see if they have changed. You
can also try changing
i use elements ( see http://manual.cakephp.org/chapter/views about
half way down)
for the common form element parts of these two views
On 11/7/06, dieter.randolph [EMAIL PROTECTED] wrote:
Hello! I'm in the middle of my first Cake PHP project, and, though I'm
thrilled about working in this
Actually there is something similarin the controller at the end of the method calling path can do this$this-Session-setFlash('The Role has been saved'); see
http://api.cakephp.org/class_session_component.html#75c36eab6a62904b4378978cf72a307e you can also define layouts for thisthen somewhere in
I think that you will find that judicious use of bindModel and
unbindModel will really help out here. Do a quick search in google if
you need help on these.
http://www.google.com/search?client=safarirls=enq=bindModel+unbindModel+cakephpie=UTF-8oe=UTF-8
On 11/10/06, lemp [EMAIL PROTECTED]
Actually I believe the correct code is
:)
?=$javascript-codeBlock(); ?
? if (validationIsSuccessful()) { ?
alert('Nate is a god.');
window.location.href = ?=$html-url(/); ?;
? } else { ?
// Show an error
? } ?
/script
On 11/13/06, nate [EMAIL PROTECTED]
is it possible that when you ftp'd it you did not get the .htaccess
pages, I know that by default my ftp client ignores dot files
On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi all,
I developed an application with CakePHP on my local webserver (actually
MAMP); when I finished
a component is like a helper for your controllers like many
controllers might want to send email, so you could have a email
component
Sam D
On 11/16/06, Adrian Godong [EMAIL PROTECTED] wrote:
OK, I got the big point.
But pls CMIIW: anything that a Helper can do, an Element can also do the
also in your client look for a setting regarding dot or hidden files.
On 11/16/06, Chris Hartjes [EMAIL PROTECTED] wrote:
On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Mmm yes, it's possible. I'll check this one later on; but, in case the
problem is that, what could be a good
and sharing is always nice for future searchers of google ;)
On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
No problem anymore mates, problem solved! ;-)
--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you
you also need to set var $recursive = 2; in the two primary models,
and it should be noted that this will not work with scaffolding
On 11/29/06, Jon Bennett [EMAIL PROTECTED] wrote:
Before replying with possibly irrelavent info, what is it that a HABTM
doesn't do for you, and what is it
here's the thread on this
http://groups.google.com/group/cake-php/browse_thread/thread/bef70558f7854732/865df96b0d8b2420?lnk=gstq=hasmany+recursive+2+naternum=1#865df96b0d8b2420
On 11/29/06, Samuel DeVore [EMAIL PROTECTED] wrote:
you also need to set var $recursive = 2; in the two primary
here are the things I did to get it to work at a bare minimum for a
REST style service
make a rest.php file in components
?php
class RestComponent extends Object {
}
?
make a rest.php file in views/helpers
?php
class RestHelper extends Helper
{
}
?
in views/layouts make a folder
:) hey Chris one of us has better type faster to save the other some trouble ;)
On 11/29/06, Chris Hartjes [EMAIL PROTECTED] wrote:
On 11/29/06, Christoph [EMAIL PROTECTED] wrote:
So after all of that, I'm very curious to find out if anyone has gotten
this to work using CakePHP *native*
webservices request.
I hope all this helps
Sam D
On 11/29/06, Samuel DeVore [EMAIL PROTECTED] wrote:
My completely uneducated, uninformed guess is that you need to do the
bits with the helpers and components because the webservices stuff was
planned and built into 1.2 and back ported to 1.1
and the like would be
http://blog.samdevore.com/archives/2006/11/29/quick-and-dirty-getting-your-cakephp-to-rest/
damn this cranky old fart needs more sleep...
On 11/29/06, Samuel DeVore [EMAIL PROTECTED] wrote:
Ok here is a start for posterity and I promise I will finish the
bakery article
Ok here is a start for posterity and I promise I will finish the
bakery article soon. If anyone wants a short gig helping me with a
couple of cake projects for a school district contact me off list
Sam D
On 11/29/06, Samuel DeVore [EMAIL PROTECTED] wrote:
Another thing I forgot to mention
But I did get the first comment on your page ;)
On 11/29/06, Chris Hartjes [EMAIL PROTECTED] wrote:
On 11/29/06, Samuel DeVore [EMAIL PROTECTED] wrote:
and the like would be
http://blog.samdevore.com/archives/2006/11/29/quick-and-dirty-getting-your-cakephp-to-rest/
Hah! Beat you
http://en.wikipedia.org/wiki/Representational_State_Transfer
http://www.xml.com/pub/at/34
http://www-128.ibm.com/developerworks/java/library/j-cb08016/index.html?ca=dgr-lnxw07Rest4RubyOnRails
On 11/29/06, Christoph [EMAIL PROTECTED] wrote:
here are the things I did to get it to work at a
app_model.php
On 11/30/06, bingo [EMAIL PROTECTED] wrote:
It seems you are missing unbindAll function...google for cakephp
unbindAll. Oth has a written a unbindAll function. Copy the function
and put in app_controller
Regards,
bingo
--
==
S. DeVore
(the old fart) the advice is
?php foreach ($things as $row=$thing): ?
tr ?php e(($row%2)?class='even':class='odd') ?/tr
td?php e($thing['field']) ?/td
/tr
?php endforeach; ?
see if that gives you a hint
On 12/4/06, mschwer [EMAIL PROTECTED] wrote:
Hello!
To retrieve the Output on my views template i used the
probably you have a validate for username being not empty or password
or something like that, go with saveField it will be marginally faster
;)
On 12/4/06, Mariano Iglesias [EMAIL PROTECTED] wrote:
When updating a single field it is better to use saveField(). Assuming 4 is
the ID of the user
which can have the effect of tripling the data size, just so you keep
that in mind when setting up your db
On 12/5/06, Brian French [EMAIL PROTECTED] wrote:
also, if you want to store the data of the file in the database instead
of just in a file, you should also base64_encode(); the data
Mariano,
I think you are due to actually ask a question now.
On 12/5/06, Mariano Iglesias [EMAIL PROTECTED] wrote:
Check this, it may help you out:
http://groups-beta.google.com/group/cake-php/browse_thread/thread/3363979513
f6297b/18d4669098d6d90d?lnk=gstq=rnum=14#18d4669098d6d90d
http://start.gotapi.com/
note cake has a place here, actually a nice way to search the api.
Sam D
--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you
--~--~-~--~~~---~--~~
You received this message because you are
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Samuel DeVore
Enviado el: Jueves, 07 de Diciembre de 2006
Hey MI asked a question, now we can ask him 10 more ;)
On 12/12/06, gwoo [EMAIL PROTECTED] wrote:
Thanks Mariano.
--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you
--~--~-~--~~~---~--~~
You received this message
On 12/13/06, Webchemist [EMAIL PROTECTED] wrote:
Thanks all!
The problem was in the caching of queries. When the security level was
'hign', all worked. But when it was changed to 'medium', caching
started. I hate cake.
Then don't use it, or file a bug (either against documentation if you
$this-ModelName-create();
before your save.
On 12/13/06, Dave Rogers [EMAIL PROTECTED] wrote:
I have a report form that has a list of people who attended an event.
When I try to save the attendees, the first one is added to the db, the
rest attempt to update with the id of the event.
here
Here is my code
e($ajax-dropRemote('sidebar',null,
array('url'='/portfolios/remoteSelect',
'update'='sidebar',
'with'='data[Image][id]=' + encodeURIComponent(element.id),
'complete'=new Effect.Highlight('sidebar');)));
The key here is the 'with' statement
does
There is documentation on the irc in the form of an auto-repsonding
bot named 'gwoo' if the bot is online just say 'gwoo: I have a
question about rdBaker' you have to use those exact words or it will
respond with some snarky sarcastic tones. Ignore the tones and launch
into your questions.
101 - 200 of 687 matches
Mail list logo