Thanks a lot. I got it working now. =)
On Sep 27, 8:54 pm, Adam Royle <[EMAIL PROTECTED]> wrote:
> input('collection_id', array('label'=> false,
> 'empty' => true)); ?>
>
> or
>
> input('collection_id', array('label'=> false,
> 'empty' => 'Please select...')); ?>
>
> On Sep 28, 1:48 pm, mario <[E
Hello everyone,
I'm creating a search page in my website and I want to take advantage
of cakephp's find('list') command.
Here is a snippet of my controller's code,
$collections = $this->Exhibit->Collection->find('list',
array(
input('collection_id', array('label'=> false,
'empty' => true)); ?>
or
input('collection_id', array('label'=> false,
'empty' => 'Please select...')); ?>
On Sep 28, 1:48 pm, mario <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I'm creating a search page in my website and I want to take advanta
In answer to your questions...
1. Often I start by thinking about the urls I want in my app, since
I'm usually pretty picky about those things. That usually defines my
controllers and hence my models.
2. Once I have the controllers from step 1, I then know the routes
I'll have to use to get my de
just clear your app/tmp/cache folder.always worked for me
On Sep 27, 4:12 pm, "3lancer.eu" <[EMAIL PROTECTED]> wrote:
> Oh, got it kind of working, the workaround was quite strange however:
>
> //this must be set on home.pl
> if (strpos('example.com', $_SERVER['SERVER_NAME']) !== false) {
>
You can write validation function by yourself.
On Sat, Sep 27, 2008 at 12:50 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hari,
>
> I would like to use validation with 1.2. I need something like
> alpanumeric, but it seems it does not accept non latin characters. I
> need it for a hung
$this->set('programStateList', $this->ProgramBroadcaster->
Program->ProgramFile->ProgramState->find('list'));
You can add condition in it.
On Sat, Sep 27, 2008 at 10:43 PM, Mickael Gentil
<[EMAIL PROTECTED]>wrote:
> Hi all,
>
> I need some help with a problem.
>
> This is my controller :
>
>
CAKE_SESSION_TIMEOUT number of seconds until session timeout. This figure is
multiplied by CAKE_SECURITY.
CAKE_SECURITY
determines the level of session security for the application in accordance
with CAKE_SESSION_TIMEOUT. Can be set to 'low', 'medium', or 'high'.
Depending on the setting, CAKE_SE
becuase your running it through a project with its database settings dfined
in app/config/database.php
it may have different dbconnections listed but the console will allow you to
choose between these
- S
2008/9/27 brehg <[EMAIL PROTECTED]>
>
> So I have cakePHP set up to work with virtual host
no reason why it should not work unless your css is not found blueprint has
a llib directory and plugins (perhaps not any more) which I suppose your
storeing inside app/webroot/css/
on that assumption
echo $html->css(array('root', 'screen', 'fancy-type'), null,
array('media' => 'screen, projection
Oh, got it kind of working, the workaround was quite strange however:
//this must be set on home.pl
if (strpos('bomasport.pl', $_SERVER['SERVER_NAME']) !== false) {
ini_set('include_path', '/app/..:/app:.');
define('APP_PATH', '/app');
define('CORE_PATH', '/');
}
around l
Hi,
When a user registers on my site, an email with an activation link is
sent to him. In the email templates I would like to use something like
echo $html->link('controller'=>'users','action'=>'activate',$key). But
when this link is shown in the email it links to /users/activate/[key]
How can I
So I have cakePHP set up to work with virtual hosts and mulitple
databases. I want to set up ACL. If I run acl.php initdb from the
scripts directoy how will it know which database to use?
Brian
--~--~-~--~~~---~--~~
You received this message because you are subscri
Hey CakePhp Friends,
its my first post on the list but i really need help on creating this
project.
Ok here is the Situation:
I have to programm a Web Application for publishing Events, Parties and some
Photos.
I created a database in Mysql and want to write this Application with the
CakePHP Fram
Dear All,
Have anyone tried using Blueprint CSS or other CSS resets/frameworks
with CakePHP? I am trying to do so, but the typography does not follow
what I defined in CSS: I want to use Lucida Grande but Helvetica (the
default font) was used instead. Anyway,
here is my code:
views/layouts/defau
Hi,
How can i generate a tree list with a pagination ?
Is there any combination between $this->paginate('Category') and $this-
>Category->generatetreelist(null, null, null, '--')
Thank you.
Model :
class Category extends AppModel {
var $name = "Category";
var $actsAs = array('Tr
hi im running cake 1.1.19. I like the scaffold features, but I can't
access them now that my site is done (i configured routes).
Is there any way to keep the scaffold features open to an admin?
thanks,
rocket
--~--~-~--~~~---~--~~
You received this message because
I'm using a CHAR(36) for my id fields and my dev machine is fine with
that but when I move the table to the host server, the CHAR get
changed to a VARCHAR. What do I do with the automatic ID creation for
CHAR datatypes?
Rich
--~--~-~--~~~---~--~~
You received this
how do you set the timeout to infinite?
Configure::write('Session.timeout', x)
also, is this in seconds?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php
ideally it would be like. being able to be access /admin/posts and see
the posts scaffold.
rocket
On Sep 27, 6:21 pm, rocket <[EMAIL PROTECTED]> wrote:
> hi im running cake 1.1.19. I like the scaffold features, but I can't
> access them now that my site is done (i configured routes).
>
> Is ther
Oh, got it kind of working, the workaround was quite strange however:
//this must be set on home.pl
if (strpos('example.com', $_SERVER['SERVER_NAME']) !== false) {
ini_set('include_path', '/app/..:/app:.');
define('APP_PATH', '/app');
define('CORE_PATH', '/');
}
around l
Hi all,
Originally, my understanding of how Auth redirect was supposed to work
was the following:
- If the user is not logged in, and requests a page for which they
need authorization, they are presented with the login screen. After a
successful login, the user is redirected to the page they or
Nevermind guys! Realized one of my routes was routing wrong... I had
an extra "/" in the URL. omg @ these stupid bugs -_-
On Sep 27, 12:31 pm, rocket <[EMAIL PROTECTED]> wrote:
> Hi guys,
> I made a digg like function that can hide unwanted articles, but it
> only works the first time?
>
Hi guys,
I made a digg like function that can hide unwanted articles, but it
only works the first time?
A user can come to the site, hide, and everything saves. But if he
refreshes and tries to hide other articles, they don't save in the db
for some reason? It seems to work on first page load, bu
>try the $this->Session->chek('Auth.User')
Bingo! check("Auth.User") works, check("User") doesn't (maybe that
article was written for 1.1?)
Thanks for the help!
Alex
On Sep 27, 3:31 am, aaron50x <[EMAIL PROTECTED]> wrote:
> Well alex_c, try the $this->Session->chek('Auth.User')... and you onl
Hallo everyone,
Today, from the early morning, I'm feeling the pain to install Cake on
an quite untypical server (it's some Idea WebServer and the hosting
company is http://home.pl). The problem looks like, after copying Cake
installation there, I have that php errors:
Warning: array_merge() [f
Hi all,
I need some help with a problem.
This is my controller :
20,
'page'=>1,
'order'=>'ProgramBroadcaster.created DESC',
'fields'=>array('id','broadcaster_id','program_id','play_date','delivery_date','case_number','video_tape_number'),
'contain'=>
On Sep 27, 2008, at 2:50 AM, cronet wrote:
>
> I would like to thank especially
>
> John David Anderson aka _psychic_
>
> who has the overview about the documentation, and received so much
> indirect criticism in that era, where the book was not that what it is
> nowadays...
Please don't stop w
On Sat, Sep 27, 2008 at 10:03 AM, exo_duz <[EMAIL PROTECTED]> wrote:
>
> Currently I am working with someone who isn't a programmer and I would
> like to be able to structure the po files instead of just putting all
> the translations in /app/locale/eng/default.po
>
You can create .po files on pe
i already have a 'password2' in my form for password confirmation.
Can you please give me an example of what you are referring about?
Thanks.^_^
On Sep 27, 3:50 am, "Jon Bennett" <[EMAIL PROTECTED]> wrote:
> > > I want to validate the length of my password using the cakephp model's
> > > val
> > I want to validate the length of my password using the cakephp model's
> > validation. However, since the password is being hashed before it is
> > saved on the database, my length validation criteria becomes void. We
> > all know that a hashed password contains many characters.
>
>
>
Hi Mario,
> I want to validate the length of my password using the cakephp model's
> validation. However, since the password is being hashed before it is
> saved on the database, my length validation criteria becomes void. We
> all know that a hashed password contains many characters.
I woul
I'm experiencing the same problem. (updated to I figured out/have a
fix/workaround to this problem read on)
More details of what I've found.
I've set my sessions.save to database so I could look at the session
data at different points.
The one thing i've noticed is AFTER I logout the session has t
Hello guys,
I want to validate the length of my password using the cakephp model's
validation. However, since the password is being hashed before it is
saved on the database, my length validation criteria becomes void. We
all know that a hashed password contains many characters.
Here is my model
I would like to thank especially
John David Anderson aka _psychic_
who has the overview about the documentation, and received so much
indirect criticism in that era, where the book was not that what it is
nowadays...
Thank You !!!
On Sep 27, 7:59 am, Duncan <[EMAIL PROTECTED]> wrote:
> The bo
Thanks Tarique.
Will try that.
On Sep 27, 1:44 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On Sat, Sep 27, 2008 at 10:03 AM, exo_duz <[EMAIL PROTECTED]> wrote:
>
> > Currently I am working with someone who isn't a programmer and I would
> > like to be able to structure the po files inste
Well alex_c, try the $this->Session->chek('Auth.User')... and you only
can see the uploadpictures after logging, because only the show and
the register actions are allowed without login, so for any other
action you will need to login first.
And I'm not pretty sure, but I think that you should def
Hello bakers.
This is my problem, I have variuos $ajax->link that updates many $ajax-
>div, and everything works nice, but when I clicked on everyone
without waiting to complete the previous requests, cake throws me a
warning that tells me that the index [Auth] does not exist in the
Session array
38 matches
Mail list logo