I'm trying to get a development install up and running on a shared
server (No mod_rewrite or access to the httpd.conf file), but am having
problems with:
define ('BASE_URL', env('SCRIPT_NAME'));
This line in the core.php file, which usually allows me to run a
development install when there is no
Ok. here we go...
I am using in view something like this:
..
$mycheckbox = '';
..
Any other way I can't get my HTML to be rendered appropriately... :(
In my contrroller I have something like this:
..
if ($this->Connection->save())
{
$this->flash('Saved!', '/admins/connections_editors')
Create database usernames/passwords for each shared account, including your
own, and don't allow them access to other databases.
Check the website for the database you are using (ie http://www.mysql.com/)
for more info on how to do this.
Eric
On 11/17/06, Chris Hartjes <[EMAIL PROTECTED]> wrote
I'm using Session::setFlash() to show messages to the user, but there
are some things I don't like about it:
1) It can only show one message at a time. I'd like to be able to set
several messages and have them all displayed once the page refreshes.
2) While you can set layouts for the entire flas
How is the best way to add owner_id to this association
exp. function addAssoc($id,$assoc_name,$assoc_id,$owner_id)
[cpde]
function addAssoc($id,$assoc_name,$assoc_id)
{
$data=$this->_auxAssoc($id,$assoc_name);
if (!is_array($assoc_id)) $assoc_id=array($assoc_id);
$data
Thank you for replyes.
I know how to do overall benchmarking and some specific benchmarkin
also. The part I'm intrested is taht are those autogenerated joins
optimal to use in live environment or is it wiser to use specific
querys and do not get a good/easy use of autogeneration and overall
datab
Try using css:
white-space: pre;
2000Man wrote:
> Another try :)
>
> In the latest Cake (version 1.1.10.3825), the selectTag function has
> been changed. In the previous version, I could use html-entities in my
> option-titles, for example
> ' Indented Title' (left out ';'). But now in
>
So I read the following article and implemented everything detailed
within. I followed the instructions exactly in this article and it's
not working.
The following is in my default layout:
charsetTag('UTF-8');
echo $javascript->link('prototype');
echo $javascript->link('script
I'm from poland -> island, WOLIN :D maaybe i can help you :) most of my
frends go to work in UK i can to USA :D
On 17 Lis, 06:24, "guitarclap" <[EMAIL PROTECTED]> wrote:
> I am in Charleston, SC (yes, i know, not the mecca for computer
> technology) and our company has finally allowed to bring
I have this Editor model which hasAndBelongsToMany Connection(s).
Editor, Connection models have all associations set corrrect.
On a page I have this Connection and a list of all Editors. I want to
use checkbox to check which Editor(s) I want to assign to this
Connection.id given.
How should I n
> I can't see any reason why you wouldn't want to model a view. As far as
> SQL is concerned, views can be treated just like any other table. So
> all of the fancy helper methods should work the same on views as they
> do on tables.
I agree on general principle. My question is about the wisdom o
On 11/17/06, cele1989 <[EMAIL PROTECTED]> wrote:
>
>
>
> So I was wondering...how am I going to solve this?
>
That sounds like a problem that goes way beyond CakePHP.
I highly recommend a book I have called "Transparent Databases" that
will probably show you some tips for keeping publicy-availab
I'm working on something
I have a own webserver and like to share it with a little amount of
members.
I need a website where they can login, etc etc...
Now I have a big problem...security...
I need to be able to easily controle the members and their rights, etc
etc...
I thought, well nice, I will
I don't have any experience with database view in cakePHP. But I have
used both, so here's my take.
I can't see any reason why you wouldn't want to model a view. As far as
SQL is concerned, views can be treated just like any other table. So
all of the fancy helper methods should work the same on
> I particularly like the idea of having records as ACOs and not just
> controller/actions as ACO as is mostly believed.
>
> Have been toying about with ACL and related issues I was thinking of
> making controller:action:id as ACOs but I like the idea of model:id as
yes it's a very good idea ! n
On 11/17/06, Christoph <[EMAIL PROTECTED]> wrote:
>
> > I believe that the point of the helper functions is to keep things
> > database-agnostic, and building in exceptions for a specific database
> > should be kept to a minimum.
>
> I'm not talking about creating helpers or helper functions. Jus
> I believe that the point of the helper functions is to keep things
> database-agnostic, and building in exceptions for a specific database
> should be kept to a minimum.
I'm not talking about creating helpers or helper functions. Just using
a DB view's model for things like findAll(), generate
Get the RSS feed. (See the "About" link".)
--~--~-~--~~~---~--~~
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
On 11/17/06, Christoph <[EMAIL PROTECTED]> wrote:
>
> Any thoughts?
>
> thnx,
> Christoph
I have zero experience with views...but I don't see what would stop
anyone from creating a model that manipulates views. Maybe you don't
get to use all the fancy helper methods, but I suspect you probably
n
Any thoughts?
thnx,
Christoph
--~--~-~--~~~---~--~~
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 P
hi christoph,
i´m joining this group via email, so i am always up to date.
daniel
Christoph schrieb:
> Is there a mailing list or other forum for CakePHP? It seems like this
> Google Groups format makes things more difficult. It seems like the
> older posts get overlooked because they are
If one were to develop such a tool to benchmark a CakePHP project under
high load, I guess a suitable name for it would be "PoundCake" :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to
Sometimes its because u have a primarykey diferent from 'id' if im not
wrong your PK is 'fldUserID' , make sure u specified it on the model
like $primaryKey = 'fldUserID'; , sometimes i use instead of
$this->Ciuser->id = $id;
$this->Ciuser->read();
-
$this->Ciuser->read(null,$id);
hope th
Dr. Tarique Sani,您好!
I am not good enough to write a tutorial like others. I am just newbie. But, I
am glad to share my experience.
First, the theme.php will handle the rest, when u set your theme. Just put the
theme.php into the folder of views. And, in your app_controller, set var $view
= 'T
Hi,
I have removed the styling information from the tagErrorMsg method, so
that no automaginess happens when outputting messages.
This does mean everytime I update cake I will have to update html.php
... are there any other options? Do you agree that having the
flexibility in surpressing this st
I had tried that approach. What happens is that the view sees the
variable without a problem, but not the default layout. It's almost
like I need to pass the variable to the controller that handles the
layout to set.
-Erich-
Grant Cox wrote:
> I think the problem to #1 is that you have
> if
Is there a mailing list or other forum for CakePHP? It seems like this
Google Groups format makes things more difficult. It seems like the
older posts get overlooked because they are 2 or 3 or more pages back.
Unless you check several times a day, it's very easy to overlook
messages...
thnx,
Ch
Hi Ismael,
Thanks for the pointer..I think I saw it...and got fckeditor
working...but now sure how to display FCKeditor when user double clicks
on a paragraph...
Bingo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
On 11/16/06, gazzur <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Anyone know what I should be doing?
Have you tried the -project switch? bake -h for details.
HTH
Sonic
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Ca
Maybe this helps: http://bakery.cakephp.org/articles/view/143
--~--~-~--~~~---~--~~
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 thi
Hi,
I am wondering did anyone try getting FCKEditor instead of regular
textarea for editInPlaceI would like to have that functionality.
But I am not very good with ajax and javascript.
Please let me know if you guys have some interesting pointers for that
Regards,
bingo
--~--~-~--
the cake session component works great:
http://manual.cakephp.org/chapter/session
--~--~-~--~~~---~--~~
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 Mandy,
Use the API for the 1.1.x.x version:
http://cakeforge.org/frs/download.php/264/cake-api-1.1.8.3544.chm
As long as there is no official release, cake 1.2 is considered to be
unstable. But if you can live with that, you can use it for your
project.
--
Daniel Hofstetter
http://cakebake
Hi Guys,
I am a little confused as with the versions of cake.
I am on latest 1.x series..
But, when I downloaded the API today, it was for version 1.2.0.3268 (is
this cake version or api version)?
And this has really cool classes for validation, router, etc etc that I
can make use of right awa
You might also want to try doing unbind model option before doing a
find
$this->User->unbindModel(array('hasMany'=>array('Message')));
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to th
On 11/17/06, nate <[EMAIL PROTECTED]> wrote:
>
> This tutorial is so, so wrong. Who told you all it was a good idea to
> use components in a model?? You think we're going to publish code on
> the Bakery that violates the tenents of MVC?
OK! went back and read the article - it can be refactored
On 11/17/06, nate <[EMAIL PROTECTED]> wrote:
>
> This tutorial is so, so wrong. Who told you all it was a good idea to
Yes! you are right!!
/me reminds himself to read complete article before commenting
Tarique
--
=
PHP Applications
37 matches
Mail list logo