Hi,
You have to include the FormHelper first, in your UsersController or
in the AppController :
var $helpers = array('Form', 'Html', 'Javascript');
But in the last version of Cake, it's included automatically. What
version are you working with ?
wael altahawi a écrit :
hi
i m trying to
Thanks for your answer i m working on cake_1.1.19
i have included
var $helpers = array('Form', 'Html', 'Javascript');
but also i get
*Fatal error*: Call to undefined method FormHelper::create() in *
c:\AppServ\www\applogic\app\views\users\index.ctp* on line *1*
On Tue, Sep 9, 2008 at 10:16 AM,
See: http://groups.google.com/group/cake-php/msg/3a0042bc4063ed68?hl=en
The documentation you're reading is for a newer version of Cake.
On 9 Sep 2008, at 15:56, wael altahawi wrote:
Thanks for your answer i m working on cake_1.1.19
i have included
var $helpers = array('Form', 'Html',
Ok, nobody answer... but I have tested again with Eclipse's console
and it works !
I don't understand why there is an issue with Windows CLI...
On 8 sep, 14:56, avairet [EMAIL PROTECTED] wrote:
Hi,
When I launch cake schema run create DbAcl -connection club on a
CLI, tables Aros, Acos,
The URL /test implies /test/index, which means Cake will look for this:
app/controllers/test_controller.php (needs to have function index())
app/views/test/index.ctp (or .thtml for Cake 1.1)
app/views/layouts/default.ctp is optional, you don't need it in the
beginning. Eventually you will
On 9 Sep 2008, at 16:28, David C. Zentgraf wrote:
The URL /test implies /test/index, which means Cake will look for
this:
app/controllers/test_controller.php (needs to have function index())
app/views/test/index.ctp (or .thtml for Cake 1.1)
Forgot of course that test_controller.php
Thanks very much it's working fine now
On Tue, Sep 9, 2008 at 11:09 AM, David C. Zentgraf [EMAIL PROTECTED] wrote:
See: http://groups.google.com/group/cake-php/msg/3a0042bc4063ed68?hl=en
The documentation you're reading is for a newer version of Cake.
On 9 Sep 2008, at 15:56, wael altahawi
Hello,
I still have some problems with the parameters for find
I have two different sets of parameters but I have the impression the
result doesn't react on them, but simply gives me a list with nearly all
of my datasets:
Version 1:
$params = array(
'conditions' =
See: http://groups.google.com/group/cake-php/msg/7d17a42d764ccce4?hl=en
Your problem is not in your conditions, it's right here:
$this-set('textmasters', $this-paginate());
Yes, this in fact does give you *everything*.
On 9 Sep 2008, at 17:04, Liebermann, Anja Carolin wrote:
Hello,
I
I'd also like this info. XDebug crashes my apache (on windows) too :-(
On Sep 9, 5:42 am, Dianne van Dulken [EMAIL PROTECTED] wrote:
Hi,
I was just wondering what profiler everyone else was using. I'm
having trouble finding one that will work with my cakephp setup.
Xdebug causes my
What David said.
You have to add your conditions to the paginate call.
Check out the google groups FAQ: http://groups.google.com/group/cake-php/web/faq
Scroll down to: How to add paginate support for custom queries?
On Sep 9, 9:13 am, David C. Zentgraf [EMAIL PROTECTED] wrote:
Toby
Type in the full path of everything
c:/full/path/to/php.exe c:/full/path/to/cakephp/cake/console/cake bake
and it works like a charm
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post
Thank you both. I will try to work with this and coem back, if I get stuck
somewhere.
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von
RichardAtHome
Gesendet: Dienstag, 9. September 2008 10:46
An: CakePHP
Betreff: Re: Find:
Using the latest cake 1.2 version
All was fine then one day suddenly I started receiving this error
after I had freshly baked an application
fatal error Cannot access empty property in view.php on line 744
What could be the cause of this strange error ?
Malcom
Ok I found it
var $helpers = array('Html', 'Form', '');
Changed to
var $helpers = array('Html', 'Form');
and evertything as usual works like a charm
Malcolm
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Pretty sure the code I'm using should be causing the save() function
to do a MySQL update instead of insert:
$this-User-id = 0; // static here for this example
$this-User-save($this-data);
But this is resulting in an insert, according to the output from debug
level 2. What I'm trying to do is
I'm using XDebug and it's working great (on linux).
On Tue, Sep 9, 2008 at 5:42 AM, RichardAtHome [EMAIL PROTECTED] wrote:
I'd also like this info. XDebug crashes my apache (on windows) too :-(
On Sep 9, 5:42 am, Dianne van Dulken [EMAIL PROTECTED] wrote:
Hi,
I was just wondering what
Do you have a PHP accelerator (as Zend Optimizer) ?
Try do disabled it
On 9 sep, 10:42, RichardAtHome [EMAIL PROTECTED] wrote:
I'd also like this info. XDebug crashes my apache (on windows) too :-(
On Sep 9, 5:42 am, Dianne van Dulken [EMAIL PROTECTED] wrote:
Hi,
I was just wondering
Thanks for the reply, but I now know that is the correct way to
perform an update as I have just figured out what the problem was.
Apparently, I can not use an id of 0. Changing the user's id to
another value greater than 0 fixed the problem.
Is this a bug or intended functionality?
On Sep 9,
Hi John,
When calling save the id should be part of the data. Setting it on the
Model before saving does not work as you expect it to.
Are you sure the id is in the data array?
/Martin
On Sep 9, 12:34 pm, John Jackson [EMAIL PROTECTED] wrote:
Pretty sure the code I'm using should be causing
I'd venture a guess that if your id column in the database is
auto_incrementing (which it should be), it usually can't be 0.
Hence Cake doesn't care about 0 ids.
On 9 Sep 2008, at 20:06, John Jackson wrote:
Thanks for the reply, but I now know that is the correct way to
perform an update
It is intended functionality. First value for auto_increment id in
mysql == 1
Not sure about all other dbs, but on others I have worked with it is
the same.
On Sep 9, 9:06 pm, John Jackson [EMAIL PROTECTED] wrote:
Thanks for the reply, but I now know that is the correct way to
perform an
Yeah, the reason there was a 0 id was because I manually entered 0,
for reasons I forget now. Oh well, wish I had thought about changing
the id earlier.
On Sep 9, 12:10 pm, David C. Zentgraf [EMAIL PROTECTED] wrote:
I'd venture a guess that if your id column in the database is
$this-Conference-bindModel(array(
'hasOne' = array(
'ConferencesSphere',
'FilterSphere' = array(
'className' = 'Sphere',
'foreignKey' = false,
'conditions' = array('FilterSphere.id
Hey guys,
I'm new to cakephp and can't wait to get it fired up.i was
creating a test app...and i followed the following steps:
1) created a database cake
2) placed my cake folder into my www folder and renamed it to todo
3) created a table items in database cake
4) configured my
Hi,
My Name is Navin from a business family doing bakery business,,
I am looking for expansion of my business. Any experirnced inthis
business Advice...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP
i set up all the configuration newly.and also create all the files newly.
Apache and mod_rewtrite are perfectly ok. and all the files are in right
place
still when i trying to access
http://localhost/project/caketoodoo/tasks/index
it showing URL not found error!!
please anyone can help me??
On
Hello I'm working with cakephp and vogoo (a Recommendation Engine).
I'm trying to include the file vogoo.php into a Service controller for
service managing, also I tested if import worked properly so I
included a functionality of vogoo
function addRating(){
App::import(Vendor,
Hi, it took me a while but in the end i found the class with two php
closing tags. Thanks a lot for your help.
On 4 sep, 21:00, Adam Royle [EMAIL PROTECTED] wrote:
Most likely you got a file or a class somewhere that has more than one
php closing tag...
?php
class Blah {
}
?
?
I have apache2 up and running on my Windows XP Pro laptop
I have established the following directory structure:
Apache2
htdocs
cake
When I type http://www.example.com/cake or http://www.example.com/
I get Page not found
some kind soul sent me these suggestions:
1. Create a simple
i am new for cake php and i want to learn cake can any one help me?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from
Isn't there one '/' too many in the url ?
Shouldn't it be http://localhost/cakePHP/ instead of
http://localhost//cakePHP/
?
On Sep 8, 11:04 pm, teknoid [EMAIL PROTECTED] wrote:
Make sure that AllowOverride is set to All in your apache conf.
Also, double check that mod_rewrite is enabled.
I think index() function is not Present in your ConTrollers Class.
On Mon, Sep 8, 2008 at 4:28 AM, lizzeelike [EMAIL PROTECTED] wrote:
i have create all files for creating new blog. but when i try to
access the following url
http://localhost/cakePHP/posts/index
it shows such error:
Not
Hi
I am working on a problem where I need to redirect all non www urls
to www
I changed my .htaccess file and it looks like this:
IfModule mod_rewrite.c
RewriteEngine on
RewriteRule^$ app/webroot/[L]
RewriteRule(.*) app/webroot/$1 [L]
RewriteEngine On
First value for auto_increment id in mysql == 1
Unless you tell it differently. You can have an autoincrementing field
that starts at 21 and increments in 6's if you like :-)
On Sep 9, 12:20 pm, Adam Royle [EMAIL PROTECTED] wrote:
It is intended functionality. First value for auto_increment
If I were you, I'd be investing heavily in high-volume chocolate based
cakes, always a winner.
On Tue, Sep 9, 2008 at 5:28 AM, Navin [EMAIL PROTECTED] wrote:
Hi,
My Name is Navin from a business family doing bakery business,,
I am looking for expansion of my business. Any experirnced
Hi,
forrestgump:
Error: Database table itemss for model Items was not found.
you should check your model.
Is it called items instead of item?
regards
Guenther
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Great!
That worked out after some cofiguring and thinking. Here is the result, I hope
this example helps someone someday:
In the controller:
function getHotelmastertexte($hotelmaster_id = null) {
if (!empty($this-data)) {
//additional
I did it on my side by looking for URLs that don't have the www
RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com$ [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
There is one problem with nesting records underneath each action.
Your Aco table becomes enormous, and if you add actions / controllers
to your application you end up with a monstrous mess. I think its
best to keep a separate branch of
models
--- posts
-- 1
--- 2
etc. And set the crud
Hey all,
Anyone know anything about integrating email onto a server, as in send
AND receive mail using smtp and POP3?
cheers
alex
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this
I have started working on a new app with cakephp 1.2.0.7296 RC2.
I would like to use the p28n controller/component which works great
with my other apps (1.2.0.5427alpha). As soon as I plug in the code
and routes my app crashes. I get an infinite redirect error.
I have the following setup:
one word . . . .xampp.
for xp, it is the beez kneez . . .
set up is easy and everything is done for you. apache, mysql,
php . . . .then edit the httpd.conf to add a virtual host.
i run many development sites from this configuration
On Sep 8, 8:09 pm, Pittore [EMAIL PROTECTED] wrote:
I have
http://book.cakephp.org/view/347/Marking-N...ontent-in-Views
In the link above they've got a cached page, but still within the
cake:nocache tags they access a variable called $newProducts. How is
that possible? I've been trying to use the $this-set([...]) function
in the action, beforeFilter and
Plus, the problem I ran into with this solution is that the logout
function goes into an infinite loop.
I will note that I didn't have problems with redirect until I started
using database sessions stopped using mod_rewrite because of
restrictions on the shared server I'm using.
On Jul 15,
Well, sure. How about this:
http://book.cakephp.org/
http://api.cakephp.org/
http://bakery.cakephp.org/
Good enough?
On Sep 9, 11:02 am, akhilesh [EMAIL PROTECTED] wrote:
i am new for cake php and i want to learn cake can any one help me?
--~--~-~--~~~---~--~~
On Tue, Sep 9, 2008 at 10:44 AM, bartez [EMAIL PROTECTED] wrote:
Hey all,
Anyone know anything about integrating email onto a server, as in send
AND receive mail using smtp and POP3?
This isn't related to CakePHP, bartez. There are plenty of HOWTOs on the
subject (here's one:
I believe this list was looking for an official comestible sponsor to
help get Bakers all over the world through all-nighters. Sounds like a
great expansion of business to me.
On 9 Sep 2008, at 21:57, Howard Glynn wrote:
If I were you, I'd be investing heavily in high-volume chocolate
I know I've had trouble with xdebug and doing code coverage analysis
on windows. However, activeState provide binaries of the newest
xDebug builds on their website. And those have been working well for
me.
-Mark
On Sep 9, 6:53 am, djiize [EMAIL PROTECTED] wrote:
Do you have a PHP accelerator
All you have to do is read the manual and run through the blog
tutorial. It will get you started. If you have complicated questions,
then ask here but not before you research them yourself. Google knows
all . . . plus search this group and check out #cakephp on
irc.freenode.net.
On Sep 9, 9:52
No one is forcing you to use CakePHP, if you feel you can do it faster
in plain PHP then do so.
But you will probably end up creating your own framework. So you
might as well use something like CakePHP which is already done and
proven to work by thousands of people around the world. Yes there
The problem seems to be with the routes. When I comment them out I can
manually call /P28n/change/eng
It seem to be that the Auth component is interfering...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP
recent xampp, which includes xdebug works fine for me on a few windows
pc's.
On Sep 9, 10:01 am, mark_story [EMAIL PROTECTED] wrote:
I know I've had trouble with xdebug and doing code coverage analysis
on windows. However, activeState provide binaries of the newest
xDebug builds on their
Hello, using cake_1.2.0.7296-rc2 under Apache/PHP5/Windows
I'm having a problem where when I submit a form to edit a database
entity, the controller sometimes does not recognize $this-data as
being set and sends me back to the orignal edit form. The weird thing
is, that if I try it a couple
I suggest posting the view and controller. The first thing I would
look at is there any JavaScript that IE is having issue with.
On Sep 9, 10:46 am, chicklin [EMAIL PROTECTED] wrote:
Hello, using cake_1.2.0.7296-rc2 under Apache/PHP5/Windows
I'm having a problem where when I submit a form to
Hello newsgroup!
I have defined the following associations in my models:
PostModel: Post _hasMany_ Comments
var $hasMany = array(
'Comment' = array(
'className' = 'Comment',
'conditions' = '',
'foreignKey' = 'post_id',
)
);
CommentModel: Comment _belongsTo_ User
var
I'm not sure what you mean when you say: how would you control static
pages? Can you explain what you want? I may not know the answer,
but someone else might be able to respond if you haven't yet figured
it out.
On Sep 7, 5:57 am, ojonam [EMAIL PROTECTED] wrote:
Hi,
thanks, that's what I
Hi,
This should be solvable with with Containable behavior. Or - if you want to
do this with just one query - use the infos you can find in teknoids blog:
http://teknoid.wordpress.com/2008/07/17/forcing-an-sql-join-in-cakephp/
Those infos are also present in the manual for 1.2.
2008/9/9 [EMAIL
The first routing rule is faulty. (I do not know why)
When I uncomment it P28n works.
On Sep 9, 4:30 pm, RLR [EMAIL PROTECTED] wrote:
The problem seems to be with the routes. When I comment them out I can
manually call /P28n/change/eng
It seem to be that the Auth component is interfering...
On Sep 9, 12:28 am, Navin [EMAIL PROTECTED] wrote:
Hi,
My Name is Navin from a business family doing bakery business,,
I am looking for expansion of my business. Any experirnced inthis
business Advice...
I think you came to the wrong place unfortunately. This is a mailing
list about
Hello everyone.
I have some trouble with Auth when using caching of main page.
I want that users will auto-login when they open main page. Login of
auto login from cookies implemented in AppController::beforeFilter:
if (!$this-Auth-user())
{
$cookie = $this-Cookie-read('Auth.User');
Okay that is getting more and more strange as I keep trying to get it
working. If I am at http://localhost/ and I try to access
http://localhost/pages/list.json?state_id=6 then I get the 404 page.
However if I am at http://192.168.2.4/ (which is the same site) and
try to access http://localhost/
I've asked this question in IRC before, but still didn't get the right
solution. Here is the problem :
class PdfController extends AppController {
function view($id)
{
//$this-Pdf-id = $id;
//$this-Pdf-saveField('viewed', 'Pdf.viewed + 1');
So, im getting solution:
In layout:
...if session is null...
if ($this-requestAction('users/getUserRole') == 'admin')
{
echo $this-element('admin_menu');
}
in UsersController:
function getUserRole()
{
if (!$this-Auth-user())
{
$cookie =
I've had this problem developing on my macbook using mamp. I finally
stopped using mamp and started using the builtin apache server, and I
haven't had any more problems.
On Sep 9, 11:44 am, Kyle Decot [EMAIL PROTECTED] wrote:
Okay that is getting more and more strange as I keep trying to get
Thanks for the response however I'm using the Built-in apache server.
Any other Ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To
Sorry, I didn't mention that I use cakephp 1.1!
I've read the post on teknoids blog. The disadvantage is, that this
solution only works for hasOne associations and not for hasMany.
But: I used the idea mentioned there and tried to create a LEFT JOIN
in the sql-query.
I found out, that this is
can we still talk about chocolate cakes?
On Sep 9, 12:19 pm, mark_story [EMAIL PROTECTED] wrote:
On Sep 9, 12:28 am, Navin [EMAIL PROTECTED] wrote:
Hi,
My Name is Navin from a business family doing bakery business,,
I am looking for expansion of my business. Any experirnced inthis
I have some users table with 2 value , email and password (hash with sha1).
Then i using auth component to make login form.
To make sure, that auth will using sha1 when hashing password, i'm using :
Security::setHash('sha1'); in beforeFilter().
Problem happen when Auth hashing password from
If someone is familiar with a post to this group or blog entry that
addresses this issue, please let me know. I've spent the morning
scouring both with no satisfactory results.
I have a cakePHP app on a shared server. In local testing, everything
worked fine. But mod_rewrite did not function
Hello again
I solved my problem.
Now i'm trying to unit Test a (child) model M_child having a belongsTo
relation to M_parent.
I encounter problem when i test a find method written in the child
model.
I thought , with a recursive value set to 1 (by default), i would get
in my resultset one line
Thanks...install of xampp went like a charm...am running XAMPP Control Panal
Application and see Apache, MySQL, FileZilla, and Mercury...but where is
CAKE? or am I trying to have my cake and eat it too?
Cheers,
Pittore
- Original Message -
From: Donkeybob [EMAIL PROTECTED]
To:
*bump*
On Sep 8, 6:02 pm, seanislegend [EMAIL PROTECTED] wrote:
I'm using the TinyMCE editor on a textarea in my CMS I'm building.
A problem I've just ran into is when I add images, once saved they end
up like this: 'img src=\ alt=\quot;\quot; width=258
height=318 /', obviously due to the
Try using :
$this-Auth-loginRedirect = array('controller'='users',
'action'='profile');
on beforeFilter()
then
function login() {
$this-redirect($this-Auth-redirect());
}
Yodiaditya - http://re.web.id
On 9/9/08, Tony Thomas [EMAIL PROTECTED] wrote:
If someone is familiar with a post to this
I'm try using netbeans 6.5 beta before. But, know back again to eclipse.
if netbeans 6.5 have good feature like eclipse, maybe i'll try again :D
On 9/7/08, Okto Silaban [EMAIL PROTECTED] wrote:
I've been using Netbeans PHP from the first time playing with CakePHP..
Of course i'll vote..
use date function. in controller.
for example, date('Y-m-d H:i:s')
On 9/8/08, shabba [EMAIL PROTECTED] wrote:
How do you set the default formatting for date. Its set to m-d-y as
default, this is great, but when you need user interaction and the
standard is d-m-Y. Its really not practical to
First off read this: http://en.wikipedia.org/wiki/Example.com
After that make sure you have your copy of cake in your www folder.
Than (if the server is on your machine your working from) try looking
at http://localhost/
On Sep 9, 1:23 pm, Jerry Ross [EMAIL PROTECTED] wrote:
Thanks...install
There is no Javascript in the page whatsoever. If you read through
the controller logic, the only way that the form will return to itself
without doing anything is if $this-data is not set (i.e. empty($this-
data)).
Here is the controller:
?php
class DomainsController extends AppController {
Is possible to debug console shell execution using xDebug or Zend
Debugger?
Yes, you have to enable (and load) xdebug extension in the cli
php.ini. You can check if it is loaded with:
php5 -m | grep Xdebug
I managed to debug any standard cake execution except console commands
due looks
2008/9/9 Dardo Sordi Bogado [EMAIL PROTECTED]
Is possible to debug console shell execution using xDebug or Zend
Debugger?
Yes, you have to enable (and load) xdebug extension in the cli
php.ini. You can check if it is loaded with:
php5 -m | grep Xdebug
Hi Dardo,
Thanks for the reply,
Hi,
I have problems with 301 Redirect in .htaccess file. It doesn't work.
I am trying to rename on the same file url. Look at what I wrote
inside the .htaccess file:
IfModule mod_rewrite.c
RewriteEngine on
RewriteRule^$webroot/[L]
RewriteRule(.*) webroot/$1[L]
Hi, Im new in cake and i have a problem, I have a model called Users,
in the view of the method add i want to show a options to add a Group
(groups is another model), how can I create a Group since the add view
of the Users model.
what can I use (ajax, element)
an how can I do it??
Please Help
Greetings,
I downloaded cake yesterday and I was going through the tutorial and
found a wii bit of trouble. I get this message when I go to a page.
Fatal error: Call to undefined method DboOracle::fetchResult() in /usr/
local/apache2-development/htdocs/cake/cake/libs/model/datasources/
I was following along a cake tutorial and I get this message:
Fatal error: Call to undefined method DboOracle::fetchResult() in /usr/
local/apache2-development/htdocs/cake/cake/libs/model/datasources/
dbo_source.php on line 345
A google search produced this:
https://trac.cakephp.org/ticket/5038
You just need to set recursive to 2.
On Sep 9, 8:20 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hello newsgroup!
I have defined the following associations in my models:
PostModel: Post _hasMany_ Comments
var $hasMany = array(
'Comment' = array(
'className' = 'Comment',
You can always at any time use any model.
By default a controller has direct access to the model of the same name.
If that model is associated with other models, you have access to them
too.
$this-User-Group;
You can also manually specify which models you would like to use in
your
I'm sure this is a pretty simple solution so I apologize in advance. I just
used bake to create some administrative panels associating a users table
with a languages table. There are 8 languages and when I add a user I want
to be able to pick the languages they speak from a drop down list.
The
Thank you. this worked for me
On Sep 9, 9:17 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I did it on my side by looking for URLs that don't have the www
RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com$ [NC]
RewriteRule ^(.*)$http://www.yourdomain.com/$1[R=301,L]
I'm sure this is a pretty simple solution so I apologize in advance. I just
used bake to create some administrative panels associating a users table
with a languages table. There are 8 languages and when I add a user I want
to be able to pick the languages they speak from a drop down list.
The
If the view is called from the users controller (the one that references the
languages model), then try using:
echo $form-input('language_id');
instead. It should generate the combo with the names instead of the id.
Regards,
Luiz Poleto
2008/9/9 Brian Fidler [EMAIL PROTECTED]
I'm sure this is
On Sep 9, 11:02 am, akhilesh [EMAIL PROTECTED] wrote:
i am new for cake php and i want to learn cake can any one help me?
Id recommend buying a book. I couldnt make out any sense of the
tutorials I found online, but once I learnt some things from a book
(begining Beginning CakePHP From Novice
El Tue, 9 Sep 2008 16:07:17 -0700
Brian Fidler [EMAIL PROTECTED] escribió:
I'm sure this is a pretty simple solution so I apologize in advance.
I just used bake to create some administrative panels associating a
users table with a languages table. There are 8 languages and when I
add a user
Not all my pages (views) can be linked to a specific model/controller.
For example. Imagine a welcome-page of a game-site. On it you'll see
alot of different things, not only connected to a single table. It
might show some news, some popular forum posts, as well as a list of
logged in users. Now
Hey friend,
I've had this discussion with a fellow baker that was trying this and
we got to the conclusion that it's not possible to use urlencode().
The reason is that the urlencoded string will be translated and feed
to the internal url var( mod_rewrite thing ) and it will have the
translated
I think I just got an answer for my own question. Looking at the pages
controller, all you really need to do is make a new controller, set
its $uses property to an emtpy array, and then in its action use $this-
render('whatviewtouse.ctp');
On Sep 10, 2:27 am, Kenchu [EMAIL PROTECTED] wrote:
thanks guys!
setting the $displayField worked perfectly!
brian
On Tue, Sep 9, 2008 at 4:21 PM, Juan Francisco Giménez Silva
[EMAIL PROTECTED] wrote:
El Tue, 9 Sep 2008 16:07:17 -0700
Brian Fidler [EMAIL PROTECTED] escribió:
I'm sure this is a pretty simple solution so I apologize in
I just stumbled across the opposite problem... :)
I had routes set up like this:
Router::connect(
'/places/:location/:category/*',
array('controller' = 'places', 'action' = 'index'),
array('location' = '\D+', 'category' = '\D+')
);
So a URL like
I believe a better thing todo would be in the model $useTable = false;
Models expect table based on cakes conventions. useTable can be used when
your tables names need to be named differently
Also something that is really cool is dynamic tables
Thanks for all your help...I now have example.com up and running and it
looks good. Now onto programming.
Pittore
- Original Message -
From: Donkeybob [EMAIL PROTECTED]
To: CakePHP cake-php@googlegroups.com
Sent: Tuesday, September 09, 2008 6:48 AM
Subject: Re: Need help on Install
Hello everyone,
I'm trying to perform a find operation on my 'event' model in order to
retrieve events that fall within a specific date range. I've read
the manual on the process to do complex find conditions but thus far
I've been unable to get it to generate working SQL code that will
1 - 100 of 103 matches
Mail list logo