Hi everybody, I have 2 models: Restaurant and Zone
app/models/restaurant.php
array(
'className' => 'Zone',
'foreignKey' => 'zone_id'
)
);
}
?>
app/models/zone.php
array(
'className' => 'Restaurant
I'm tired about Godaddy.com I want to change all my projects to a full
compatible CakePHP hosting server.
Please recommend me one without problems with subdomains, installing
another php aplication inside cakePHP, etc.
Wich one is the best?
Your .htaccess files works correctly?
THANKS!
Check o
error
log.
***
Any suggestions?
*Remember that I have an godaddy shared linux hosting account
On Jun 10, 2:57 pm, saavedrajj wrote:
> which one for example?
>
> On Jun 10, 4:28 am, Bharadwaj Parthasarathy
> wrote:
>
which one for example?
On Jun 10, 4:28 am, Bharadwaj Parthasarathy
wrote:
> This may not be the ideal choice, but consider using a sub domain
> [forum.mycakeapp.com] and have it pick up from a separate folder.
>
> On a totally different note, IMHO godaddy sucks big time. Try getting
> a bett
Hi, I have a trouble on my godaddy shared linux hosting account.
I want to install a PHP forum (phpBB3) in a /forum folder *
-app
-cake
-forum *
-plugins
-vendors
and I want to access this forum using this url:
http://www.MyCakeApp.com/forum
but, of course, the following error appears:
Missing
OMG Hi JeremyPlease if you have some working example there
send it to me if you can.
saavedrajj -at- gmail.com
otherwise... i have to wait :(
good luck with the update
On 7 jun, 01:21, Jeremy Burns wrote:
> That's my article. It needs updating as I have improved it subst
I'm tired of search all the web for the best article about Dynamic
Navigation in CakePHP
I think this is one of the best articles that i found, but doesn't
have a code to download
http://articles.classoutfit.com/2009/11/cakephp-dynamic-navigation-bars/
I realized that nobody wants to share how to
thanks everybody for the help
On 16 jul, 12:31, Travis L wrote:
> If you have httpd.conf access, I'd put the directive in there.
>
> Alias /pma /var/www/html/phpMyAdmin
>
> ...
>
>
> On Jul 15, 9:11 am,saavedrajj wrote:
>
> > it works with th
it works with this code
RewriteEngine on
rewritecond %{REQUEST_URI} ^/(name_of_folder_application|fm)/
RewriteRule .* - [S=2]
RewriteRule^$ app/webroot/[L]
RewriteRule(.*) app/webroot/$1 [L]
any better idea?
--~--~-~--~~~---~--~~
You r
Hello everybody, inside my cakePHP configuration i want to install
the phpMyAdmin and phpBB forum
http://www.cakeapp.com/phpMyAdmin
http://www.cakeapp.com/phpBB
I have been uploaded, as usual, the applications in my root server
directory,
but the following error appears:
Missing Controller
Er
Hi everyone! I have the next problem:
I wonder if is possible to put a query result on a static page.
I have created a view (views/modelos/some.ctp) who calls some()
function who is included inside the controller models_controller.php,
that i can see it perfectly in::
http://www.example.com/mo
Hi everyone! I have the next problem:
I wonder if is possible to put a query result on a static page.
I have created a view (views/modelos/some.ctp) who calls some()
function who is included inside the controller models_controller.php,
that i can see it perfectly in::
http://www.example.com/mo
Anyone? please?
--~--~-~--~~~---~--~~
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 mo
I don't think that it's a sql problem
the value for
disappears when I put an empty value on:
input('Tipologia/name', array('size' => '30',
'maxlength'=>'100'))?>
tagErrorMsg('Tipologia/name', '* Blank
Field')?>
--~--~-~--~~~---~--~~
You received this message be
Hi, I been working in some data validation, and my code
works fine when I try to add a new entry in my database table
(when I try to save an empty record) BUT, I try to do the same
thing when I want to edit an entry of my database table.
- If I change the old content with a new content works fine
thanks for all the replys, but it only works for FIrefox... I don't
know
the reason why on IE doesn't work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake
mmm... doesn't work, this is my code
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
Title
charset('ISO-8859-1'); ?>
css('default'); ?>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I just add the line
in app/views/layouts/default.thtml
and nothing happens
if I copy the favicon.ico at app/webroot/img
and then add the line:
only works on Firefox...
What I'm doing wrong?
--~--~-~--~~~---~--~~
You received this message because you ar
I tried to do this example
http://wiki.cakephp.org/tutorials:image_gallery_2
but doens't work... anyway, there's another example for making
an image gallery on CakePHP?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
thanks for the replys, for static pages I used AD7six example
--~--~-~--~~~---~--~~
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 need to use at least 2 different layouts in my static pages
at cake/app/views/pages
How can I do this?
I dont't understand this thread:
http://groups.google.com/group/cake-php/browse_thread/thread/84314667706d38ca/e12788ee919633e8
Thanks
--~--~-~--~~~---~--~---
nothing... even with the new cake release, created es a DATETIME type
and there no files at tmp/cache/models, it's weird becuase it only
happens with my database, i made the blog tutorial and "created" and
"modified" fields works fine.
--~--~-~--~~~---~--~~
You re
nothing... even with the new cake release, created es a DATETIME type
and there no files at tmp/cache/models, it's weird becuase it only
happens with my database, i made the blog tutorial and "created" and
"modified" fields works fine.
--~--~-~--~~~---~--~~
You re
Congratulations
--~--~-~--~~~---~--~~
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 mo
sorry...:
"in order to update the values of these fields without our intervention"
--~--~-~--~~~---~--~~
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
Hi, according to the CakePHP manual, when we add these fields
on our database tables, we add some extra cakePHP funcionality
in order to update the values of these fields with our intervention,
I added these fields in my tables but CakePHP only update
correctly the "modified" field, the "created"
thanks but doesn't work:
I have this in my controller:
$this->set('levelID', am(array(0 => 'Select a Level')),
$this->User->Level->generateList( null, "name_en ASC"));
and only view shows:
selectTag('User/level_id', $levelID, null, null,
$html->tagValue('User/level_id'), true);?>
--~--~-
There's a way to asign a name and a value
for the empty value of a salecTag?
for example:
Select a Level // <-- CUSTOM EMPTY
VALUE
Administrator
Editor
Guest
Regular
I considered put this value on the related table, but isn't elegant.
--~--~-~--~~~-
Maybe bootstrap.php?
--~--~-~--~~~---~--~~
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]
F
Hi, I'm making a content system that manage Users, Products, etc..
this is how it looks
Menu:
1. Users
1.1. User Manager
1.1.1. List users
1.1.2. Add user
1.2. User Subscriptions
1.2.1. List Subscriptions
1.2.2. Add Subscription
2. Products
2.1. Product Manager
2.1.1. List products
2.1.2. Add p
works fine :) thank you
--~--~-~--~~~---~--~~
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
thanks for the help Gustavo.
--~--~-~--~~~---~--~~
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 PROT
Well... in my cake app, it seems that works fine (view, edit, add
methods)
but if I browse my database with some MySQL GUI
shows me "áá" instead of "áá"
Is that right? or I'm wrong thinking that this data has to be saved as
"áá"?
I'm thinking again that the best way to control this is on the
d
oops, it seems that this works:
class AppModel extends Model
{
function __construct() {
parent::__construct();
$this->execute("SET NAMES 'UTF8'");}
}
somebody can explain this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi to everyone, I've installed the
MySQL 4.1.14 with Standard Character Set latin1
(default value for instalation) on my server.
I'm a spanish/portuguese user and I use a lot of characters
like á,é,í,ó,ú,ñ,ç,è,ã, etc, etc...
I want to know if there are a way to setup or hack the database
configu
Hi, how can I substitute these links:
link('Yes',"/users/delete_action/{$data['User']['id']}", null,
"Are you really sure?"); ?>
link('No', '/users/index'); ?>
for submit buttons that do the same?
--~--~-~--~~~---~--~~
You received this message because you are s
Hi Nate, thanks for your answer, but doesn't work, maybe I don't
explain
the case correctly.
First of all I made a controller that returns a unique timestamp:
Then, in my UserController I call it with:
$this->set('uniqueID', $this->Time->uniqueTimeStamp());
and in my add.thtml view I can use
I have a component that returns an unique 14 digit timestamp.
I need to use it on the add method of my UserController
in order to identify each record as unique, I don't want
to use the autoincrement property of mySQL table.
UserController:
$this->set('uniqueID', $this->Time->uniqueTimeStamp());
Hi everybody, anybody can tell me how can I make links like:
http://localhost/cake/controller:sublink1
http://localhost/cake/controller:sublink2
http://localhost/cake/controller:sublink3
I saw them at the Wiki Tutorials:
http://wiki.cakephp.org/tutorials:migration
http://wiki.cakephp.org/tutori
39 matches
Mail list logo