Yes, I'd work it using
Containablehttp://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html
.
Sincerely,
Michael Stelly
On Thu, May 3, 2012 at 9:59 PM, Rob bizarro...@gmail.com wrote:
I have a setup where there are Books Users and Logs. Each Log has a
Book and a User and I
it up.
~Michael
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscr
if(!isset($this-ModelName){
$this-ModelName-loadModel();
}
This only works in the controller, but it should get you what you want if I
understood the question correctly.
Sincerely,
Michael Stelly
mobile: +1.918.978.2000
skype: mjstelly
LinkedIn http://www.linkedin.com/in/mstelly
On Sat, May
http://book.cakephp.org/2.0/en/index.html
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
I think you could also set it up as a Virtual Field since its
calculated off the id and that wont change. It would also keep your
table a bit smaller and not run the risk of data duplication.
~Michael
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check
I am using Cake 2.1 and have a two models, Domain Location which use
the DomainsLocation join table. In the DomainController, I have a
function called AddLocation() which I want to add a record to the
DomainsLocation table so that the domain knowns which locations belong
to it. So here is my
' = array(
'OtherModel.column' = 'ASC'
)
)
)
On Tue, May 1, 2012 at 5:55 PM, Michael Gaiser mjgai...@gmail.com wrote:
So, I have been able to sort queries of the basic model, but how do
you specify sorting paramaters for the associated models?
--
Our newest site for the community
So, I have a Location Model that is using the tree behavior. Level 1
is Countries, their children are Regions. The Regions children are
cities... So I need to give some context to the results in the select
menu since there are several cities with the name Portland for
example. Is it Portland,
So, I have been able to sort queries of the basic model, but how do
you specify sorting paramaters for the associated models?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
So, I want to use Google maps on my project which makes use of a
Location model. In that model there is a longitude and latitude value.
Most of the tutorials I have looked at talk about how to place
markers on your map. What I want to do is use the map to allow people
to navigate to the location
Yep... that would cause an issue. Thanks.
On Fri, Apr 27, 2012 at 9:12 PM, lowpass zijn.digi...@gmail.com wrote:
public $actsAs = array('Tree');
Notice the lowercase s you left out.
On Fri, Apr 27, 2012 at 7:39 PM, Michael Gaiser mjgai...@gmail.com wrote:
I want to use the Tree Behavior
Would it be possible to just put a test in your app_controller.php and
then make use of it in your \View\Layouts\default.ctp file? That way
all your pages get it by default and you do not need to drive yourself
crazy with placing that code everywhere.
~Michael
--
Our newest site
I want to use the Tree Behavior on one of my models in 2.1, but it has
multiple belongsTo relationships which I think is messing it up.
In my domain model I have added:
public $actAs = array('Tree');
In my controller I have:
public function index() {
$data =
I was able to fix the issue by adding this to my core.php file.
Configure::write('App.baseUrl', /);
:)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP
So, I am getting this strange error. My links have the site name
listed twice in the url.
http://www.mysite.com/mysite.com/users/view/9
Now, http://www.mysite.com brings up my home page as expected, but all
the links on the site have the additional layer in the name for some
reason. I am
localhost. Any help would be greatly appreciated.
Thanks.
On Sun, Apr 22, 2012 at 2:05 AM, Michael Gaiser mjgai...@gmail.com wrote:
So, I am getting this strange error. My links have the site name
listed twice in the url.
http://www.mysite.com/mysite.com/users/view/9
Now, http://www.mysite.com
So, I want to have a requirement for my users email to be confirmed
before they are allowed to login. This will be represented by a
confirmed field in my User table. I have set my Authentication scope
to be array('User.confirmed' = 1) and it works as expected. My only
issue now is that when the
Ok. Thanks.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
Using Cake 1.3
I installed the 'full calendar plugin'. It has a tree that duplicates
the cake tree, which may be the problem. When I am in the calender
view and try to log out I get and error. The error is tied to the url
path tree, i.e.
http://doman.com/full_calendar/users/logout.
I would have
So, I have a login link in the corner of my homepage which I want people to
click on to login... pretty simple. Problem is that I cannot seem to view
my homepage as I am automatically redirected to the login page. This causes
issues when you login since the login returns you to the initial page
I forgot to post it, but there is a call to parent::beforeFilter() as well
as $this-Auth-allow('/', 'login', 'logout', 'confirm'); in the
beforeFilter within the User Controller.
I still cannot figure out why its automatically getting sent to the login
though.
--
Our newest site for the
Yeah, clearing the cache didnt work either. When I view the page source, it
is completely empty.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related
So I have been working on a site for a while now on my laptop (localhost)
and things pretty much worked the way I would expect. But when I tried to
deploy it to my host and thats where my problems started. When I go to my
site, a blank page shows up, even though the redirect to /users/login does
= $this-Domain-Locations-report($id)
But that doesn't seem to work. Is there a way to do this or is my
thinking backwards on this one? Thanks.
~Michael
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http
in the WebOrb which should call an action in one of cake's
controllers.How do I call a thea seasoned PHP devs.
Thanks for help.
--
Michael Ivanov ,Senior Programmer
Neurotech Solutions Ltd.
www.neurotechresearch.com
http://blog.alladvanced.net
Tel:054-4962254
mich...@neurotech.co.il
t
multiple if statements and set it up like a large switch, or is it
possible to have the controller call a different view depending on that
variable as would be my preference. Thanks.
~Michael
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new
I was wondering whether the issue below had ever been solved...
http://cakephp.1045679.n5.nabble.com/Non-caching-of-flash-elements-td1279440.html
Basically the problem is that in my layout (default.ctp), my flash
messages are not being displayed.
Specifically:
Case 1
1.
In
want dates between Date X Date Y or only find records that have the
desired month, but still of the same year, ie ignore the day data. Thanks in
advance.
~Michael
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http
was defined in my component and helper
arrays within my app_controller. Using setFlash used to display a message in
the next page. Is this still the proper way to use it? Any help on this
would be greatly appreciated.
~Michael
--
Our newest site for the community: CakePHP Video Tutorials
http
the product is ready to ship, we will manually sync the live server to the
revisions, as versions are tagged and released.
- Michael
On Mar 31, 2011, at 8:13 AM, Akeda Bagus wrote:
On Thu, Mar 31, 2011 at 4:38 AM, Shinya Koizumi sh.koiz...@gmail.com wrote:
CentOS
Subversion
Zend Studio( Remote
Hi all. I am an noobe here.I want to be able to cancel an action before its
execution.The scenario is as follows. I have a navifgation bar. When I press
a link I check if the current URL is the same as that of the link.If it is I
want to prevent the controller to execute the action which renders
So Nic, you got it to work? I didn't have to change the $_callbackArguments
field; I just modified the callback arguments within my implementation of
autocomplete().
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
IIRC, $html is from cake 1.2 or earlier.
$this-Html is for 1.3 and going forward.
If you use $html, you are at risk of having to fix all of your code when newer
versions of cake come out that don't support it anymore.
On Feb 13, 2011, at 12:47 PM, Rumkuchen wrote:
Hi cricket!
thanks for
I'd be interested to hear what other people say about this suggestion, but
since PHP is a loosely typed language, you could use that to your advantage.
To reduce confusion, I would suggest changing the name of the variable from $id
at this point, but what about doing something like:
(albeit loaded) questions.
Any help is appreciated, thank you!
- Michael
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe
by _plural['uninflected'], while 'children' was falling all the
way through to the rules. Therefore, by adding the word to the
_plural['uninflected'] array in the Inflector, I solve the problem for
me. I guess you'd need to add 'menus' to the same array.
Hope that helps,
Michael
On Jan 12, 2:28 pm
So I've found when ever a cake error happens it causes $this-params
to clear and I lose all access to information it held (url, named,
etc) is there a way around this? My app_controller used some of the
data provided in it to theme pages (I would prefer not to have generic
site template for any
element. This way, your select elements could be defined
statically, and hence appear on the form from the first page load.
Does it sound like I'm on the right track? If so, I can provide you
with a small example on how to achieve this.
Cheers,
Michael
On Nov 24, 10:42 pm, Stephen step
PS - very nice styling on your forms! Is that proprietary or free to
use?
On Nov 24, 10:42 pm, Stephen step...@ninjacodermonkey.co.uk wrote:
Hi Michael
Thanks for the reply.
What does your code look like at the moment?
Please see:http://pastie.org/private/3ojfcqvo2g395rgab6cnbw
I am
I ran into this issue a while ago. I decided to add the autocomplete
method to the JsHelper / jQuery engine myself. Here's what you need to
do.
In jquery_engine.php, you need to create an autocomplete method. You
can copy/paste from a similar method e.g. the 'sortable' method. You
might want to
Huoxito - are you referring to server side and client side validation?
Generally, it's a good idea to do both anyway. That way you can
guarantee that even if someone attempts to trick the server into
saving something invalid, it will still be validated.
On Nov 22, 7:22 pm, huoxito
the value of a select list changes? Are you pre-loading all
conceivable options once at the start and just selecting the
appropriate subset of options when you change values?
Regards,
Michael
On Nov 22, 11:09 pm, Stephen step...@ninjacodermonkey.co.uk wrote:
Hi There
I have a system in place
Note that if you want to use the JsHelper, you might find that some
jQuery widgets/functions might not be available e.g. autocomplete. You
will have to extend the JsHelper yourself to do that.
Good luck!
On Nov 19, 12:42 am, jd poweredbyb...@gmail.com wrote:
Hi All
Excuse the beginners
It sounds like he wants a scheduler to be able to execute some
arbitrary thing (send an email) at a particular time.
As a fellow Cake newbie, I myself have been wondering whether this is
possible. With a web application server like Tomcat, you could just
have an extra thread which runs the
of the user table and does not join the domain table info into it as if
recursive was set to 0. How do I get it to include that joined domain name
when the Auth-user function is called?
Thanks.
~Michael
Check out the new CakePHP Questions site http://cakeqs.org and help others
On Oct 28, 5:17 am, Tomfox Wiranata tomfox.wiran...@gmail.com wrote:
how do view and layout work together? thx :)
Conceptually, the view should only contain the HTML relevant to a
specific action, while the layout should contain HTML that is common
across multiple actions. How this is achieved
Hey Josh,
Maybe the reason why your original attempt didn't work is because you
didn't modify all 3 of the .htaccess files that are required in a Cake
app? The files are in:
/your_cake_dir/.htaccess
/your_cake_dir/app/.htaccess
/your_cake_dir/app/webroot/.htaccess
Give that a try.
Cheers,
On
.
Michael
PS - read your blog post on dynamic navigation menus today and was
wondering if you ever did happen to make it into a plugin?
http://articles.classoutfit.com/2009/11/cakephp-dynamic-navigation-bars/
On Oct 5, 8:31 pm, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
I'm going
. In our pizza ordering
plugin example, we'd access our PizzaOrdersController at /pizza/
pizzaOrders.
That's what triggered me to use plugins - the url format.
On Oct 13, 1:49 pm, Michael Tokar michael.to...@gmail.com wrote:
Interesting. Do you think you could post some sample code of your
I had similar problems like yours and I found that using Firebug to
debug what was being sent back to the server via Javascript was *very*
helpful. If you haven't done so already, you should install it.
What version of CakePHP are you using? I know that in 1.3 you can use
the JsHelper's 'request'
I have to do a similar thing in my Cake app, so I'm very interested to
hear how you go about it in the end. For the time being I've taken
your first approach of having a report-per-action in the one
controller.
I was thinking about defining each report in the Model layer however
(similar to what
{
alert(html);
}
}
});
});
On 13 Okt., 11:17, Michael T michael.to...@gmail.com wrote:
I had similar problems like yours and I found that using Firebug to
debug what was being sent back
On 14 October 2010 07:17, cricket zijn.digi...@gmail.com wrote:
But let's back up a bit--do you have Sale Customer models? What I
was getting at in my earlier suggestion was that you could declare
options in each model for how its reporting would be conducted.
For my situation at least,
... controllers/views. The url will look like:
http://url.com/reports/sales/
On Oct 13, 1:15 pm, Michael Tokar michael.to...@gmail.com wrote:
On 14 October 2010 07:17, cricket zijn.digi...@gmail.com wrote:
But let's back up a bit--do you have Sale Customer models? What I
was getting at in my
Hi all,
In attempt to solve a particular problem, I've tried a solution which
to me, a CakePHP novice, seems a bit un-Cake like. I wanted to ask
your opinion here on whether a) this matters; and b) if it does
matter, what's the Cake-friendly way to do it?
Here's a summary of my models and their
.
Thanks in advance for your help!
Michael
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php
When I try that is says that Location is not associated with Domain, which
is correct since the join table is the one associated with both of them.
On Sep 29, 2010 10:46 PM, wrdevos wrde...@gmail.com wrote:
Hi Michael,
take a look at the Containable behavior:
http://book.cakephp.org/view/1323
I will also add that changing the recursive setting does not seem to work.
~Michael
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post
Might this have anything to do with it using the tree behavior?
On Sep 29, 2010 7:14 AM, Michael Gaiser mjgai...@gmail.com wrote:
I will also add that changing the recursive setting does not seem to work.
~Michael
Check out the new CakePHP Questions site http://cakeqs.org and help others
(
)
)
)
As you can see, I am getting the location_id but I am not getting the name
of that location and I do not want to have to do a separate search for each
location. Any idea what I am doing wrong? Thanks.
~Michael
Check out the new CakePHP Questions
So I want to use some of the functions from my locations controller in my
domains controller. I know how to load a model, which is working, but when I
tried to load a controller, it didnt seem to work is there some special
syntax for this?
~Michael
Check out the new CakePHP Questions site http
really like it if the database would do all the heavy lifting. Thanks.
~Michael
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post
That worked. Thanks
On Sep 1, 2010 6:06 PM, cricket zijn.digi...@gmail.com wrote:
On Wed, Sep 1, 2010 at 5:51 PM, Michael Gaiser mjgai...@gmail.com wrote:
The structure is currently a int(11) which can also be NULL.
The command I am using is this.
$results = $this-paginate('Location', array
in that
function. Thanks.
~Michael
function index($searchStr = null) {
$results = array();
//Use the searchStr if there is no data.
if(empty($this-data) $searchStr != null) {
$this-data['autoComplete'] = $searchStr;
$this-data['Location']['constrainType
the DB again. Is there anyway to change the text of the link after
clicking on it so I know that it actually did something without having to
have firebug open and without having to reload the page again?
~Michael
Check out the new CakePHP Questions site http://cakeqs.org and help others
around.
~Michael
On Thu, Sep 2, 2010 at 10:30 AM, cricket zijn.digi...@gmail.com wrote:
When you say that the query is empty, do you mean $results? Or are you
referring to the DB query itself (as printed at the bottom of the
page, for example)?
Have you tried debugging $searchOptions immediately
.
~Michael
On Thu, Sep 2, 2010 at 5:37 PM, Michael Gaiser mjgai...@gmail.com wrote:
I was meaning $results didnt have any info in it. When I debug($results),
it is just an empty array. I think this has something to do with the fact
that the paginate link doesnt supply the views form again, so
I am trying to limit my search to all the records that do not have a
confirmed_id assigned to them. How do you set that condition up? I have
tried ' ', None, NONE, NULL, null and many others and nothing seems to work.
Any suggestions?
~Michael
Check out the new CakePHP Questions site http
to get it to return all the
records that have a null in the confirmed_id.
~Michael
On Wed, Sep 1, 2010 at 8:46 AM, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
What is the data type of the field? What is your full find statement at the
moment?
Jeremy Burns
*Class Outfit
Hey guys, I know that Cake has a great online set of documentation, but the
only time I really have to work on my project is on the train which
unfortunately does not have internet access. Is there a copy of the online
docs anywhere or do you know of a program that can crawl the
cakephp.orgsite
No it is not and I don't have access to have that changed. Nor is it
something that I can request to be changed.
Is that a showstopper?
thanks,
Michael
On Jul 30, 7:08 am, cricket zijn.digi...@gmail.com wrote:
Does Apache have mod_digest loaded?
On Thu, Jul 29, 2010 at 2:58 PM, Michael
Nor is mod_php. I did a bit of digging in the security.php source and
it looks that those two nos are my show stoppers.
thanks,
Michael
On Jul 30, 10:00 am, Michael desert.bo...@gmail.com wrote:
No it is not and I don't have access to have that changed. Nor is it
something that I can request
is
5.2.9.
thanks in advance,
Michael
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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
So I am currently trying to migrate to Cake 1.3RC2. Everything is going
well, except the array that is being returned when I call
$this-Auth-user(). If I am navigating to my user page, the array key is:
Array ( [User] = Array ( etc..))
But when I am navigating to any of my other pages it comes
+San Francisco
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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
the
children id's. For my find call, I am having to nest the same call over and
over inside the containable array because we can have up to 4 levels of
children. (World, National, Regional, City, Landmark). Is there a better way
to do this?
~Michael
Check out the new CakePHP Questions site http
So I want to display all the results from my table that are like the search
string. Since there is a lot, I am using the paginate functions so we only
display 20 at a time. This works fine, but once I click the link to the next
20 results, it loses the search string because it was originally
Cakes error log is empty and debug is set to 2. Any ideas why there isnt
anything being written to the debug log? Thanks for the help
~Michael
On Fri, Oct 9, 2009 at 8:51 AM, brian bally.z...@gmail.com wrote:
Set debug to 2. When set to 0, Cake displays a 404 message. It's
probable that you
When I uncomment Configure::write('App.baseUrl', env('SCRIPT_NAME')); in
my core.php it seems to work but feels like a cheat. Any reason mod_rewrite
isnt working with the default setup? when I did a php info, it shows
rewrite_mod loaded.
~Michael
Nope. Already went though that page and everything was set right.
On Tue, Oct 13, 2009 at 11:30 PM, AD7six andydawso...@gmail.com wrote:
On 14 oct, 08:09, Michael Gaiser mjgai...@gmail.com wrote:
When I uncomment Configure::write('App.baseUrl', env('SCRIPT_NAME'));
in
my core.php
I have been making a site and testing it on my localhost, but when I have
uploaded it to my real host, it breaks. It is able to load the homepage, but
the images and css files are unable to be found. The error log shows that it
is looking in www.site.com/css instead of www.site.com/app/webroot/css
Solved with: ?php echo $form-create('User', array('url'=array
('plugin' = null, 'action' = 'login')));?
On Sep 24, 5:39 pm, michaelc micha...@hwsinet.com wrote:
I'm experiencing an interesting problem wherein I include from within
a view in a plugin an element which contains a form (the users
the first idea to work as it is
less of a hack. Any suggestions? Thanks
~Michael
--~--~-~--~~~---~--~~
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
Cool. Thanks.
On Thu, Sep 3, 2009 at 4:17 AM, Miles Jmileswjohn...@gmail.com wrote:
A few things your doing wrong and should change immediately.
Do not call error(), text() (or the other variants, select(), radio
()).
The following code:
?php echo $form-label('Devotion.name',
Thanks.
On Wed, Sep 2, 2009 at 10:53 PM, schrec...@gmail.com wrote:
Configure::write('debug',2);
Schreck
From: Michael Gaiser
Date: Wed, 2 Sep 2009 22:08:42 +0200
To: cake-php@googlegroups.com
Subject: Debugging SQL's
How do I view the sql generated
How do I view the sql generated by my controller's add() function? I need to
see why some code isn't working and was wondering if there is an easy to
view the generated sql. Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
This is what is being generated:
Array
(
[Devotion] = Array
(
[name] = testcase
[description] = A cool Test case
)
[Disciplines] = Array
(
[0] = Array
(
[discipline_id] = Array
$form-input('Disciplines.0.discipline_id', array('label'='Discipline
1', 'type'='select',
'selected'=$html-value('Disciplines.0.discipline_id'),
'options'=$disciplines, 'multiple'='false', 'empty'='Choose One'))
There are multiple selection boxes in the view so thats why I needed
to add an
just need to loop though the post data and fix it? Thanks
~Michael
--~--~-~--~~~---~--~~
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
that link to have their own record but
only once. ie, the whole record needs to be unique, not just the
character_id and the job_id. user_id needs to be condidered too.
I have been banging my head against the wall for a while now. Any help would
be greatly apprecated.
~Michael
groupId doesnt seem to work either.
This is what the group array looks like.
[Group] = Array
(
[0] = Array
(
[id] = 2
[name] = Standard User
[created] = 2009-07-30 21:55:03
): Undefined index: id [*APP\views\users\admin_edit.ctp*, line *12*]
I would be grateful for any help.
~Michael
The Controller:
function admin_edit($id = null) {
$groups = $this-User-Group-find(list);
$this-set('groups', $groups);
if (empty($this-data
']['username'].' '));?/td
How do I get the link text to update when I click on the link? I am a bit
new to using ajax/javascript so any help would be wonderful.
~Michael
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
', 'ParentController');
}
class ChildController extends ParentController {
// Imeplement controller as normal
}
Cheers,
Graham Weldon
e. gra...@grahamweldon.com
p. +61 407 017 293
w.http://grahamweldon.com
On 27/07/2009, at 8:22 PM, Michael Gaiser wrote:
I want to have
Ok, after taking several peoples advice to look into admin routing, I have
decided I want to go with that strategy. But my ACO's have only ever had the
controller name, not the actions. So if my User has access to my
LocationsController, then he would also have access to any admin_* functions
as
I want to have my UserAdmin controller inherit from my User controller
instead of AppController. but it cannot seem to find it. Is there a special
way to do this in cake or can I just use and include statment? Thanks.
~MJG
--~--~-~--~~~---~--~~
You received this
...@grahamweldon.com
p. +61 407 017 293
w. http://grahamweldon.com
On 27/07/2009, at 8:22 PM, Michael Gaiser wrote:
I want to have my UserAdmin controller inherit from my User
controller instead of AppController. but it cannot seem to find it.
Is there a special way to do this in cake or can I
of shared code between them,
I wanted to have the admin inherit from the normal, then add in the
additional functionality.
So that's where I am right now. I hope that sheds some light on what I am
trying to accomplish.
~Michael
On Mon, Jul 27, 2009 at 4:46 PM, brian bally.z...@gmail.com wrote
I am trying to authenticate the login, and the username makes it to the user
controller, but for some reason, the passord is empty.
In the before filter of the app controller, everything is there, but when I
look at the data in the login function, the password is blank. Any ideas?
Here is the
anyone else? This seems to be going wrong on some basic level. What could
cause the $validate function not to run?
On Thu, Jun 4, 2009 at 6:19 PM, Michael Gaiser mjgai...@gmail.com wrote:
This is the feedback from the debug:
Array
(
[User] = Array
(
[username
101 - 200 of 295 matches
Mail list logo