I redid one of my old sites in CakePHP, it can be found here:
http://www.sc2armory.com/
Another app of mine is: http://www.gamesync.com/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to thi
The upload method is empty right now. I can't even figure out how to
access the piece's associated image(s). I can get the image data, but
when I try to call upload() I get an error about calling a method on a
non-object, so I'm not getting the actual image object, only its
data. I feel like I'
If I understand your question properly, you can use the Pages
controller.. Just put your views in view/pages and they will be
available at /pages/. If you aren't happy with having
"pages" in your url you can use the router to make it look prettier.
On May 16, 4:32 pm, hahmadi82 wrote:
> How do
Can we see your upload method?
If you want multiple controllers to use the method, place the method
in the appcontroller or make a component.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post t
Hi all, I am still pretty new to CakePHP and I can't seem to figure
this one out for the life of me. I am writing an admin site to manage
a collection of art pieces which will be available on the front end of
the site. I have a pieces controller, and an images controller. A
piece "hasMany" imag
Check out fredistrano http://code.google.com/p/fredistrano/
SVN is compatible with all files...
On May 16, 7:53 pm, adam wrote:
> I currently use FileZilla and Windows Explorer. My IDE of choice is
> eclipse, but have never used any integrated features or plugins for
> deployment/synchronizing
Sure, there is an open bug on the firefox bugzilla.
https://bugzilla.mozilla.org/show_bug.cgi?id=215055
Which has been open for 6 years. Firefox uses a 16bit api in windows
to render elements with scroll bars. However the 16bit api runs out
of numbers after 16384. So the rest of the box is no
How do I create a page in cakephp that can get data from various
classes/models/controllers without having to create a set of models and
controllers for the page itself?
I have set up all my models/controllers/views/indexes for everything in my
database and now I want to start pulling that da
httpdocs/cake/app
I just entire folder as it unzipped and also I did same to the
different server and everything was fine.
I have this issue with mediatemple and still no chance to figure this
out yet.
On May 16, 1:59 am, Miles J wrote:
> What is your full cake setup, like where are your app
I currently use FileZilla and Windows Explorer. My IDE of choice is
eclipse, but have never used any integrated features or plugins for
deployment/synchronizing localhost and webhost.
I use Dreamhost, and I know they offer SVN as a feature, but was
scared away by SVN's incompatibility with .htac
Put your security level to low and see what happens.
On May 16, 8:33 am, Charles wrote:
> I am echoing the session and nothing happens, it keeps resetting
> itself.
>
> On May 16, 3:58 am, Miles J wrote:
>
> > And how do you know your sessions aren't started, what exactly happens?
--~--~---
Hi,
After setting debug to 0 all pages are loaded without layout.
Any ideas?
Thanks
--~--~-~--~~~---~--~~
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
T
I am echoing the session and nothing happens, it keeps resetting
itself.
On May 16, 3:58 am, Miles J wrote:
> And how do you know your sessions aren't started, what exactly happens?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Have a look at the Cake based Neutrino CMS:
http://dsi.vozibrale.com/articles/view/neutrinocms-0-1-beta-has-been-released
It uses a component to get these kind of data. I use this approach all
the time and it works like a charme.
Markus
--~--~-~--~~~---~--~~
You re
You should have a look at PHPExcel. It's a very good class for
creating Excel sheets on the fly.
http://www.codeplex.com/PHPExcel
Hope that helps.
Markus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" grou
or $form->create('Users' instead of 'User'
--~--~-~--~~~---~--~~
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 this group, send email to
> Array
> (
> [Users] => Array
It should be 'User', so it tells me you're using $form->input
('Users.email' instead of 'User.email' etc in view.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
T
Is the name field a varchar255 not null or tinytext?
Try using cake bake to create your starting environment and work from
there
On May 15, 5:38 pm, number9 wrote:
> Actually I tried displayfield earlier when I was searching, but it
> didn't work, presumably because: "The model will use name or
Like this?:
Message HasOne User (From)
Message HasOne ToUser (To)
Message HasOne CcUser (Copy)
In message.php:
var $belongsTo = array(
'User' => array(
'className' => 'User',
'foreignKey' => 'user_id',
Hi,
strange behaviour I got in my register-form. I have a form that collect
some basic data:
Sourcecode:
when I submit the form, the output of print_r($this->data) is the following:
Array
(
[Users] => Array
(
[title] => Mr
[firstname] => test
What is your full cake setup, like where are your app folders located?
--~--~-~--~~~---~--~~
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 fro
And how do you know your sessions aren't started, what exactly happens?
--~--~-~--~~~---~--~~
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 fr
If you mean you only want a single user account to be able to login at
one time, you would have to store a unique session id with the user
(in the db). Then do a check to see if the ids match, if they dont log
em out.
--~--~-~--~~~---~--~~
You received this message
maybe try this:
function login() {
if (($this->Auth->user() ) &&
!($this->Session->read('Auth.User.online'))){
$this->Session->write('Auth.User.online', true);
$this->Session->write('Auth.User.host', {function of your
choice});
$this->redire
or try using containable behavior:
http://book.cakephp.org/view/474/Containable
hahmadi82 pisze:
> bump
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to c
This is the code I'm using, works 100%.
function login() {
$this->layout = 'login';
if ($this->Auth->user()) {
$this->User->id = $this->Auth->user('id');
$this->User->saveField('last_visit', 'now()');
$gr =
$this->User->Group->findById($this->A
26 matches
Mail list logo