The paste is deleted. Repaste it and be sure to check 'save paste'
Rodrigo Perez ha escrito:
I'm using cake trunk 3363
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send
https://trac.cakephp.org/ticket/633
--~--~-~--~~~---~--~~
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
Nobody?
--~--~-~--~~~---~--~~
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]
For more
Hi Dear
Members,
FOLLOWING R THE NEW
JOBSPOSTED THIS WEEK:
Job Title
Job Posted By
IT
Recruiter
keriosolutions.inc
Req-0304 -Microsoft / Citrix System Engineer
keriosolutions.inc
Req-0285 - SQL / Oracle DBA
keriosolutions.inc
I created a model called 'Field' with a table called 'fields', and a
controller called 'FieldsController' and got no errors querying data.
What kind of errors were you getting?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Mandy, that's because I wasn't on IRC ;-)
in app/config/core.php, there is a setting called CAKE_SESSION_SAVE,
set that to 'database', and load the SQL from
app/config/sql/sessions.sql into your database. Then, if you include
the same database in both applications, you should be able to share
If they're static, keep them in webroot/files. Then you can link to
them as site.com/files/pdf.pdf
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
Here are my tables:
DROP TABLE IF EXISTS `countries`;
CREATE TABLE `countries` (
`id` int(11) unsigned NOT NULL auto_increment,
`name` varchar(255) collate utf8_bin NOT NULL,
`iso2` varchar(2) collate utf8_bin NOT NULL,
`iso3` varchar(3) collate utf8_bin NOT NULL,
PRIMARY KEY (`id`)
)
I just posted a new tutorial for an improved advance validation with
parameters on the CakePHP wiki. Check it out on this page:
http://wiki.cakephp.org/tutorials:advanced_validation:advance_validation_with_parameters:improved_advance_validation_with_parameters
Can anyone tell me how to alternate row colors in CakePHP? Is it
similar to doing it in regular PHP?
Ex:
$row_color = ($row_count % 2) ? $color1 : $color2;
$row_count++;
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Thanks. I wasn't aware of the search link you posted.
--~--~-~--~~~---~--~~
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,
I did search the group previously and found the topic linked from the
page you posted. I just haven't been able to get it to translate to
what I am doing yet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
First, I must say thank you for developing cakePHP.
I used mojavi, zoop and others but cake is the best.
Now, I'm new baker. I want to implement simple signup form.
I have 2-3 tables upppsss models :) with established relations.
For example, Signup form should take and validate all required
Right now the best place to check is the API:
http://api.cakephp.org/class_form_helper.html
Keep in mind, however, that most of the transition will take place in
1.2, which is as-yet undocumented, so you just have to look at the
code. Fortunately helper code is pretty straightforward, and
sam D,
really you want to avoid the custom sql (using -query) as much as
possible
Why? That method seems to work fine. I use query().
Please elaborate.
Ralph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
On 8/19/06, RosSoft [EMAIL PROTECTED] wrote:
The paste is deleted. Repaste it and be sure to check 'save paste'
Rodrigo Perez ha escrito:
Oh, sorry... I repaste and new url is
http://cakephp.org/pastes/show/d3968053471ab3fecfa353445fd2e6e1
Thanks
hi,
The question I have might be simple, but I am not sure how to do it.
Personally, I don't like pagination and would like to see all the
search results on one page. But then the problem is, it takes too much
time to retrieve all the relevant records from the database and render
them on a
A live grid control:
http://openrico.org/rico/livegrid.page
--~--~-~--~~~---~--~~
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
Oh I use it too, I just try to avoid it because I don't want to create
too many dependancies to a particular DB engine, it is far too easy
for me to put mysql specific syntax in there then I loose the
portability that a database abstraction layer buys me.
Now if I was very instinctive about
I have been doing something something similar in my views.?php foreach ($items as $key = $row): ?tr?php if ( $key%2 ) { echo ' class=altRow'; }?
td nowrap?php echo $row['Model']['field'] ?/td/tr?php endforeach?I have the altRow class defined in my style sheet.
On 8/19/06, c_doug [EMAIL PROTECTED]
Hi Ros Soft,
Thanks. This is great and does exactly what I need. I will give it a
try
Regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
OK, I've managed to confuse myself.
Here's the model:
Articles
Posts
Tags
A tag has a many to many relationship with both articles and posts, so
a single tag object has a list of articles and a list of posts. (nice
for searching by tags)
An article or a post has a list of tags.
That works
zonathen wrote:
[...] doesn't the many-to-many table name need to be in
alphabetic order as such: alphafirst_alphasecond, or areas_events.
That's correct.
Also, be aware that if you have an underscore (_) in a table name the
underscore comes AFTER alphabetic letters.
So:
images
I understand why you would want to write it in the app_controler (so
that all controllers might inherit from this). The problem is, there
doesn't seem to be a way to declare variables outside of functions.
And, as you probably are finding out, when a application controller
inherits from the
24 matches
Mail list logo