Oh, I checked the ticket, thanks very much!
I'll wait for the next release.:)
--~--~-~--~~~---~--~~
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
i thought php automatically addslashes to posted data?
--~--~-~--~~~---~--~~
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,
You may place html.php from previous release into /app/views/helpers
folder, to solve the problem.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
[EMAIL PROTECTED] wrote:
It will be useful to have running demo of cheeseCake
OK here is it http://sanisoft-demo.com/cheesecake/
Login with admin / admin to test the admin side - be nice and upload
only work-safe pictures, Also do not change the theme - there is only
one
Am still looking for
Has anyone implemented EventObserver in the $ajax-observefield helper.
This method uses an event instead of a timer as per the
Form.Element.Observer. The parameter passed is, for example, on: blur,
instead of the frequency: 5. This is available in the rails
observefield method, ie depending on
here's my code:
form onsubmit=alert('hehe'); style=display:inline
but no messagebox shown.
the form was not really submiied.
here's the submit button:
?php
$options = array(
'url'='/news/add',
'update' ='newListBox',
deepa wrote:
this is what i am using to link the document
$html-link('test','/post/view');
This one is quite easy.
In your post_controller.php you will have to define the query in the
function view()
klmann
--~--~-~--~~~---~--~~
You received this
Great! I found the solution by myself.
Put the js codes for validation into $option['before'] instead of the
form's attribute onsubmit can solve my problerm.
Like this:
?php
$options = array(
'url'='/news/add',
'update' ='newListBox',
the query in function view only helps me to update the data to the
table but how will i link to the document?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
Only if magic quotes is enabled in php.iniOn 7/20/06, yeastinflexion [EMAIL PROTECTED] wrote:
i thought php automatically addslashes to posted data?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake PHP group. To
Hello,
I'm searching for an option to get all controllers included
controllerfunctions and variables from an application.
for example: $controller1-restrictions; $controller3-var3;
I only need this for my permission-controller to get a list for all my
controllers ;)
Has anybody an idea?
Hello! I don't have much experience in CakePHP. I have read tutorials,
wiki and I have studied a lot of code of this framework but I have a
problem with one basic thing.
I have 3 tables:
users:
id | username | password
groups:
id | groupname
user_groups:
id | user_id | group_id
How to set
Tener wrote:
I have 3 tables:
users:
id | username | password
groups:
id | groupname
user_groups:
id | user_id | group_id
How to set members declarations (is that the proper-english-name for
objects/classes variables?) of 3 models to make everything works
perfectly?
I'm writing
Hi Tuner,
This is a hasAndBelongsToMany relationship. You would need to name your
join table groups_users for things to be handled automatically (the
names need to be in alphabetical order), and the id field in the join
table wouldn't be used.
If the conventions are followed you can define this
Hi Symfony,
To do what you have asked, you would need to write a function that
would loop through each file in the controllers (or models, if
easier/appropriate) folder, derive the controller name from the file
name, create an instance of that controller and then retrieve the
fields. There are
You could read the file from the server and output it to the browser
directly from your view() function, or you could
$this-redirect('/path/to/my/doc') within your view() function.
Example of first option:
http://groups.google.com/group/cake-php/browse_thread/thread/061ad2bd1f87fc4c
Ryan
Doesn't look like this has been implemented. How about opening a
ticket on it?
https://trac.cakephp.org/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
On Jul 21, 2006, at 2:48 AM, symfony wrote:
Hello,
I'm searching for an option to get all controllers included
controllerfunctions and variables from an application.
for example: $controller1-restrictions; $controller3-var3;
I only need this for my permission-controller to get a list for
Hey, thanks for your fast, excellent help :) I'll try it these weekend.
When I'll finish I'll post it here as a function :).. kind regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to
You could use the adodb_date library by putting it in the vendors
folder.
--~--~-~--~~~---~--~~
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
You could use the adodb_date library by putting it in the vendors
folder.
--~--~-~--~~~---~--~~
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
Using PHP 4.1.2, I get the following error when I try the tutorial:
Call to undefined function: mysql_real_escape_string()...of course this
is because the mysql_real_escape_string() function only works in PHP
4.3 or above. If I can't upgrade, my only recourse is the
mysql_escape_string()
Cake doesn't really support PHP 4.1.2. Try upgrading to something more
recent like 4.4.
[EMAIL PROTECTED] wrote:
Using PHP 4.1.2, I get the following error when I try the tutorial:
Call to undefined function: mysql_real_escape_string()...of course this
is because the
Cake does not officially support versions of PHP below 4.3.2.
--~--~-~--~~~---~--~~
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
I just add the line
link rel=shortcut icon href=favicon.ico type=image/x-icon
in app/views/layouts/default.thtml
and nothing happens
if I copy the favicon.ico at app/webroot/img
and then add the line:
link rel=shortcut icon href=../img/favicon.ico
type=image/x-icon
only works on
Should belink rel=shortcut icon href="" type=image/x-icon /
And make sure your favicon is in /app/webroot/favicon.icoOn 7/21/06, saavedrajj [EMAIL PROTECTED]
wrote:I just add the linelink rel=shortcut icon href=""
favicon.ico type=image/x-iconin app/views/layouts/default.thtmland nothing
Also make sure to clear the cache, close, and then re-open the browser (especially IE) to get the favicon to display. Some versions of IE only display the favicon if you save the site in your Favorites.
On 7/21/06, John Zimmerman [gmail] [EMAIL PROTECTED] wrote:
Should belink rel=shortcut icon
link rel=shortcut icon href="" echo $html-url('/favicon.ico');? type=image/x-icon /This one adds the full url using the Cake HtmlHelper
On 7/21/06, John Zimmerman [gmail] [EMAIL PROTECTED] wrote:
Also make sure to clear the cache, close, and then re-open the browser (especially IE) to get the
mmm... doesn't work, this is my code
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
head
titleTitle/title
link rel=shortcut icon href=/favicon.ico type=image/x-icon /
?php echo $html-charset('ISO-8859-1'); ?
meta
Didn't try your code out yet, but right off your closing head tag is invalidneeds to be /headOn 7/21/06, saavedrajj
[EMAIL PROTECTED] wrote:mmm... doesn't work, this is my code!DOCTYPE html PUBLIC -//W3C//DTD XHTML
1.0
Try the following...!DOCTYPE html PUBLIC -//W3C//DTD XHTML
1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
htmlhead titleTitle/title
link rel=shortcut icon href="" echo $html-url('/favicon.ico');? type=image/x-icon /
?php echo $html-charset('ISO-8859-1'); ?
meta
Maybe this will help:
1) what is the absolute url that works to view the favicon in the
browser (e.g. http://www.noswad.me.uk/favicon.ico)?
2) What is that path, relative to your cake install (/favicon.ico)
put the relative path in your layout and that should be that. Note that
if you are using
What version of CakePHP are you using? What version of PHP and MySQL?I just did a grep on the cake directory and found no reference to mktime().I then setup a test model/controller/view and used a DATETIME MySQL field type. I scaffolded everything and CakePHP brought up 1946 as the earliest year
And the webserver is Apache on DebianOn 7/21/06, John Zimmerman [gmail] [EMAIL PROTECTED] wrote:
What version of CakePHP are you using? What version of PHP and MySQL?I just did a grep on the cake directory and found no reference to mktime().
I then setup a test model/controller/view and used a
So far I am unable to get $html-dateTimeOptionTag() to display a year below 1946, but I did manually modify the database entry to make the year 1700 and it displays correctly when I view the timestamp output by Cake, but when I go to edit that record the year still stops at 1946.
Anyone have any
Hi.. i have a problem with the multiple select in a relationship
many-to-many...
my tables:
event
id_event - int
name - varchar
areas
id_area- int
name - varchar
events_areas
area_id - int
event_id - int
then, i need to put in the multiple select the areas of the event: add,
show, delete and
We are working with our hosting provider to upgrade Fedora/PHP/MySQL as
after looking into this issue a bit more I think it is a problem that
reaches beyond Cake due to our setup. Thank you for looking into this
Zimmerman. I will post updates on here as soon as I make more headway
with it.
put the relative path in your layout and that should be that. Note that
if you are using mod_rewrite using $html-url will give you a valid
url, if you are using pretty urls - it will not.
you also need both icon and shortcut icon
link rel=icon href=?php echo $html-url('/favicon.ico');?
I believe if you add the multiverse onto the end of any line of your sources.list that has universe and then do an 'aptitude search java' you will get the sun packages again. Just run 'aptitude install packagename'.
I did this with Ubuntu and it works fine.Should be similar with a straight Debian
http://www.cakephp.org/pastes/addCan you create some pastes of your code?On 7/21/06, Matt2012
[EMAIL PROTECTED] wrote:Dont know whats happening - CAKE loading fine the homepage
definitely connecting to the right database but what ever table I putinuseTable its saying its missing. (I started off
well theres not all that much to it (I think you can ignore the view?)
http://www.cakephp.org/pastes/show/2f021e23b8505de6867f55b79f090276
I appreciate the extra eyes..!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
What versions of the following are you using: PHP, DB Type and Version (i.e. MySQL 5), CakePHP?What operating system are you running the webserver on?And can you dump the SQL schema for your database as well?
One thing to double check is that the table name is the plural form instead of singular.
ticket sent.
--~--~-~--~~~---~--~~
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
Apache version 1.3.34 (Unix)
MySQL version 4.1.19-standard
PHP version 4.4.2
//
--
-- Table structure for trains
--
class DATABASE_CONFIG
{
var $default = array('driver' = 'mysql',
'connect' =
'mysql_connect',
'host' =
'localhost',
I'm having a bit of difficulty getting Cake to recognize any Ajax
functionality. My most recent attempt is to make a simple autocomplete
box following Nate's example as seen at
http://cakebaker.wordpress.com/2006/06/06/autocompletion-the-easy-way/
I included the helper and the component in the
Hi.
Even I have exactly smae problem...I am also not sure what
autocomplete=off means.
Regards,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
47 matches
Mail list logo