See what happens when you remove these "required" =>
true,"allowEmpty"=>false.
--~--~-~--~~~---~--~~
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 unsubsc
Hmmm it seems once I moved my custom pagination method, it worked...
but now im getting 55+ queries. They all look like this, anyway to
shorten it? Its double querying the User/Member data.
2 SELECT COUNT(*) AS `count` FROM `friends` AS `Friend` LEFT JOIN
`users` AS `User` ON (`Friend`.`use
So I have this pagination setup using containable, but the contain
isn't working, suggestions?
var $paginate = array(
'Friend' => array(
'limit' => 10,
'order' => array('Friend.requestTime' => 'ASC'),
'recursive' => 2,
'contain' => array(
'Member',
If it is within the Billings model itself, it is $this->.
But if its used in a controller, it is $this->Billings->.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email t
I dont think there is a cake setting, just do this during signup.
$restricted = array('users','pages','controllername');
if (in_array($usernameVar, $restricted)) {
// do not allow registration
}
--~--~-~--~~~---~--~~
You received this message because you are subsc
@Rimeo - You need a restricted names list that users cant use as their
username, else you will have conflicts. Its best to do /user/username
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to
It would be best to do a custom whos online using a MEMORY table. Then
create a model for WhosOnline or something.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to
Can you paste the query you get with this, would be easier to help:
return $this->find ('list', array(
'fields' => array ('Alert.message'),
'conditions' => array(
'Alert.alert_subject_id' => strtoupper ($subject),
'AND' => array(
'OR' => array(
Are you using Auth or ACL?
--~--~-~--~~~---~--~~
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
cake-php+unsubs
You usually can do a compare in SVN.
On Jan 7, 8:52 am, Brenda wrote:
> Oh my, now I'll really look stupid, but how do I 'run it against the
> latest svn'?
>
> ...Brenda
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
It doesnt matter when you use it. But it would be good to do it first
if you are actually testing users.
http://www.milesj.me/blog/read/5/using-cakephps-auth-component/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Here you go:
return $this->find (
'list',
array (
'fields' => array ( 'Alert.message' ),
'conditions' => array (
'Alert.alert_subject_id' => strtoupper ( $subject ),
'OR' => array(
array(
'Alert.start_date
Heres an article I wrote on displaying for errors an alternative way,
hopefully it helps.
http://www.milesj.me/blog/read/10/displaying-form-errors-as-a-list-in-cakephp/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Yeah you basically just copy'n'paste the new folders/files and
overwrite the old ones.
But any custom changes you made will be overwritten.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to
What about using containable to filter the results?
--~--~-~--~~~---~--~~
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
It will work fine in your AppController beforeFilter().
--~--~-~--~~~---~--~~
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, s
Is this the only way to access named parameters without throwing a
notice?
$var = (isset($this->params['named']['var'])) ? $this->params['named']
['var'] : '';
Is there some sort of function to get named params that im overlooking?
--~--~-~--~~~---~--~~
You receiv
Leave your login() action empty. CakePHP automatically does all the
login magic.
http://www.milesj.me/blog/read/5/using-cakephps-auth-component/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To pos
Are there any benefits, or behind the scenes magic for doing this:
$html->link('Link', array('controller' => 'users', 'action' =>
'login', 'var'));
Compared to:
$html->link('Link', '/users/login/var/');
This also applies to anywhere else you build urls.
--~--~-~--~~~---
This is my team model. Once I change TeamUser to TeamsUser it works
correctly, but that shouldnt be. Based on the docs and naming
convention it should be TeamUser.
class Team extends AppModel {
/**
* Teams belong to a country, state
*/
var $belongsTo = array('Co
This happens to me when I place a HABTM on another HABTM, I have found
no solution to this except to just remove that relation.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, s
Ok I have a users and teams system. Users are part of a team. Here is
the naming conventions:
Model: Team, User
DB: teams, users
HABTM: teams_users (TeamUser model)
But when I set my HABTM relationships I get errors because it says
that the model TeamsUser does not exist. Shouldnt it be TeamUser
Is this a localhost or webserver?
Make sure mod_rewrite is enabled.
--~--~-~--~~~---~--~~
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
s.http://book.cakephp.org/view/164/pagination
>
> On Jan 3, 10:30 pm, gearvOsh wrote:
>
> > Heres my tables and relations:
>
> > Team
> > Team->belongsTo: Country, State
> > Team->hasAndBelongsToMany: User (the players on a team, table =
> > teams_play
Firstly use PHP 5.
Secondly remove $this->Auth->allow('*'). Why are you even using the
Auth component if your allowing all pages to be viewable? Perhaps
place this in each controller separately.
And thirdly, I thought isAuthorized is called after you are logged in.
Someone correct me if im wrong
Heres my tables and relations:
Team
Team->belongsTo: Country, State
Team->hasAndBelongsToMany: User (the players on a team, table =
teams_players)
Team:
CREATE TABLE IF NOT EXISTS `teams` (
`id` int(10) NOT NULL auto_increment,
`status` enum('approved','pending') NOT NULL default 'pending',
I usually open the files myself instead of using the API online. I
usually have to go through the methods themselves to find out the
options.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to
These benchmarks dont mean anything.
Do a benchmark using a full fledged system (perhaps a whole social
community) and see how the work. Simply hello world pages are nothing
because no frameworks are used for that.
--~--~-~--~~~---~--~~
You received this message be
I could of sworn I tried that and it didn't work, I must have changed
the foreign_key. Anyways that worked.
Yeah I was also thinking in my system... is that a user is top level
and he has many different parts. A user is not necessarily part of a
country, but I guess ill have to do it that way.
--
I know how to do relations for foreign keys, but I cannot figure out
how to do this.
In my users table, I have a column called state_id and country_id. I
tried a hasOne country but that does not work. It looks for a user_id
on the Country table that matches the user id, I need it the other way
ar
You mean an accordion?
http://docs.jquery.com/UI/Accordion
--~--~-~--~~~---~--~~
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 grou
What does your AppController beforeFilter() look like?
http://www.milesj.me/blog/read/5/using-cakephps-auth-component/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send emai
http://groups.google.com/group/cake-php/browse_thread/thread/48835c8925d3ca7a#
You already asked this. There is a search function.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this grou
k
>
> On Dec 30, 6:45 am, jason m wrote:
>
> > i think it should be
>
> > return $this->find('count', array('conditions'=>$conditions));
>
> > On Dec 30, 2:59 pm, gearvOsh wrote:
>
> > > All I did was this:
>
Ok you keep asking like 10 questions a day here.
1 - Read the CakePHP manual
2 - What you want to do is JSON/Javascript
3 - Perhaps actually learn PHP or Cake
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP"
All I did was this:
return $this->find('count', $conditions);
return $this->findCount($conditions);
$conditions = array('OR' => array(
'Friend.user_id'=> $user_id,
'Friend.friend_id' => $user_id
));
--~--~-~--~~~---~--~~
You received this message b
So I noticed when I used find('count') that the query is wrong:
SELECT COUNT(*) AS `count` FROM `friends` AS `Friend` LEFT JOIN
`users` AS `User` ON (`Friend`.`user_id` = `User`.`id`) WHERE 1 = 1
But when I use findCount the query and results are correct:
SELECT COUNT(*) AS `count` FROM `friend
Ive been messing around with it a bit and got this, is this the right
way to do things?
class DashboardController extends AppController {
var $uses = array('Friend');
// Pagination
var $paginate = array(
'Friend' => array(
'limit' =
Im having problems getting pagination working. I have complex custom
queries and I just cant get it working correctly. Ive tried building a
custom paginate() method within the model that does additional
filtering, but then I also feel limited using the $paginate var in the
controller.
Anyone have
You either need to have:
required = true
Or use the notEmpty rule.
http://book.cakephp.org/view/127/One-Rule-Per-Field
http://book.cakephp.org/view/740/notEmpty
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake
Can I see your AppController or another Controller besides 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
You dont have to build your views with cake code only:
Name
Also there is no in cake.
--~--~-~--~~~---~--~~
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
You need to be using the User model.
Make sure this is in your controller: $uses = array('User');
Perhaps look at these two links also:
http://book.cakephp.org/view/171/Access-Control-Lists
http://book.cakephp.org/view/172/Authentication
--~--~-~--~~~---~--~~
You
I have not found any option or setting for using HTML or XHTML.
All I have seen is that you can set the Doctype, but even if you set
the Doctype as HTML, all the tags are in XHTML.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
This is what I came up with, I dont know if theres another solution.
Also im completely lost how to paginate this.
function getMyFriends($user_id, $status = 'approved', $limit = 5) {
$friends = $this->find('all', array(
'fields' => array('Friend.*')
I got something working on this but I ran into a problem. When joining
the user table to the friend data, I dont know if its the friend_id or
the user_id. So I will have to do some filtering and extra queries
after i grab all friends.
--~--~-~--~~~---~--~~
You recei
Snippets of the code:
CREATE TABLE IF NOT EXISTS `friends` (
`user_id` int(10) unsigned NOT NULL,
`friend_id` int(10) unsigned NOT NULL,
`status` enum('approved','pending') NOT NULL default 'pending',
`requestTime` int(10) NOT NULL,
KEY `user_id` (`user_id`),
KEY `friend_id` (`friend_
Im a bit new to the model system, trying to understand how I would do
a query like so.
SELECT Friend.*, User.username, User.avatar, User.handler FROM friends
AS Friend, users AS User WHERE Friend.status = 'approved' AND
((user_id = ':user_id') OR (friend_id = ':user_id')) AND User.id =
Friend.use
@Arthur Pemberton - Yeah but then if I set my Doctype as HTML 4 im
riddled with markup errors which isnt good for me or the client.
@Marcelo Andrade - Yeah thats what I was hoping was in the system, but
I guess not. Ill see if I can extend it in some way.
--~--~-~--~~~
No thats the thing, XHTML is not supported.
You would need to put the content-type as application/xhtml+xml which
in most cases breaks the layout and always breaks IE. Everyone usually
puts it as text/html which then renders the browser as regular HTML
and NOT XHTML. Im not telling you XHTML is b
How is your database setup? Are tags a column in the blog table or is
it its own table?
--~--~-~--~~~---~--~~
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
Most browsers dont support XHTML and most people dont even write XHTML
correctly. If this is your site(http://www.pembo13.com/), your DTD is
XHTML but its being parsed as HTML. So basically thats kaput, did you
read the article I posted earlier?
@Graham Weldon - Seems like a lot of work to overwr
Please explain your cleanliness? HTML 4 can do everything XHTML can
except self closing tags />.
Also your XHTML is being parsed as HTML and removed, so whats your
point?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Honestly I really dislike the "xhtml" type of tags in CakePHP. There
are no reasons for that, I think it would be a better idea to make it
html 4 strict.
Heres an article on why xhtml is retarded.
http://www.webdevout.net/articles/beware-of-xhtml
--~--~-~--~~~---~--~-
Your filename should be xxx_controller.php (no capital). If you were
just typing it that way.
Also why are you changing the controller before submit? This makes no
sense.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Ive only been used cake a couple of weeks but have been watching it
for years. Ive got to say I love it the most out of the others ive
tried, keep up the good work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cak
Is there a reason why this has not been implemented in the l10n? Im a
but curious :p
--~--~-~--~~~---~--~~
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 u
Ah I came to that assumption last time, but then I had random
instances where the hash wasnt being used as the id so I got confused.
Anyway, would I just leave it? Or put an ($id = null, $hash = '')?
--~--~-~--~~~---~--~~
You received this message because you are s
No not that. In the models beforeValidate() is it possible for me to
do like $controller->params?
UsersController -> User Model
So in User::beforeValidate() can I get UsersControllers params, is
basically what im asking?
--~--~-~--~~~---~--~~
You received this mes
I never use allowEmpty or required = true. Simply use the rule
"notEmpty" which means the field cannot be empty, thus required. And
if a field doesnt have that rule, its not required, it works perfectly
for me.
--~--~-~--~~~---~--~~
You received this message because
Thanks, also is there a way I can get the parent controller data as
well?
--~--~-~--~~~---~--~~
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
Is there a way to use dynamic variables within the Model validation,
an example below.
'between' => array(
'rule' => array('between', $passMin, $passMax),
'message' => 'Password must be between '. $passMin .' and '. $passMax
)
I have an array of config settings that I would like
So I have an action that verifies an email address after a successful
signup. It uses a hash that was given in the email sent out.
function verify($hash = '') {
}
This is my test hash and the url becomes: /users/verify/
eac20adf536b50f9fc0be58550fde763
When I go to that page, and even without s
Is there a setting to disable the AuthComponent from automatically
hashing the password index, without having to edit the core files? It
really annoys me.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" grou
@Adam - Theres nothing wrong with it, but when you have fancy forms
and pre-cssed systems, cakes markup just gets in the way/breaks things.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to t
Yes I really dislike that also, you have to do this everytime.
input('email', array('div' => false, 'label' =>
false)); ?>
Div removes the surrounding div, and label removes the label.
Then you can create the label manually:
label('email', 'Email:', array('class' =>
'label')); ?>
--~--~---
Dont you need to call this?
if ($this->Task->validates()) {
// if no errors, do something
}
--~--~-~--~~~---~--~~
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.
Its automatic in the Auth component, just do this.
if ($this->Auth->user()) {
// they are logged in
}
If user() is null, that means they are not logged in. Hope that helps.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
So really weird. This was my previous action in the controller.
function verify($hash = NULL) {
}
That would fail the saveField(), and the saveField would try to do an
insert. It would also grab the wrong id for the User model.
But once I changed it to the following it works fine.
function veri
I even moved all the code into the Model, did what you said, and its
still doing an insert instead of an update. Heres the method I call in
the controller:
function verifyEmailExpiration($username, $password, $hash, $expHours)
{
$userObj = $this->find('first', array(
'cond
Like I said, I dont want to Import the locale in every model method.
Also saveField fails at this point:
if (!empty($this->id)) {
if (!$db->update($this, $fields, $values)) {
$success = false;
}
}
Because of this, When I know for sure the row exists.
if (!$this-
Also I wish to not import and initiate a locale class in the model
everytime I need it, which would be most of the time.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send ema
I cant use i18n/l10n in models now can I. Please show me how I would
add errors to the $this->validationErrors array with a locale. If
something works, who cares where it belongs.
@grigri - I did updateAll, I just dislike how it doesnt escape and
quote the data.
--~--~-~--~~--
I still have yet to find a straight forward way to do this, so ill
simply do something like this:
function update($user_id, $fields) {
if (is_array($fields)) {
App::import('Sanitize');
Sanitize::clean($fields);
$cleanFields = array();
Oh but the extra code is for extra form validation on my end. Using
invalidate() adds errors to the array that I can then loop through and
display in the view (I dislike having the error show up after the
input).
On Dec 17, 3:24 am, AD7six wrote:
> On Dec 17, 9:56 am, gearvOsh wr
Try this: http://www.milesj.me/blog/read/debugging-cakephp-auth/
Or it could also be your password column in your database is at like
30 varchar... you would at least need 50+ if your hashing passwords.
Its possible some of the hashed password got cut off.
On Dec 17, 11:29 am, Christian wrote:
Honestly things like that I would just manually code or even use
Wordpress just because its so simple. You could use CakePHP simply for
the practice and automation, but there are no downsides using Cake.
Perhaps just a ton of files the client wouldn't understand what
they're for.
--~--~-~-
I was only doing what the other guy suggested, I usually do not have
the create() method.
--~--~-~--~~~---~--~~
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
Nope, still doesn't work. This seems like a lot of hassle/steps in
between just to do something simple like update.
Heres a snippet of my code:
if ($this->User->validates()) {
$userObj = $this->User->find('first', array(
'conditions' => array(
'User.username' => $this->da
Tried it again that way and heres the error:
Warning (512): SQL Error: 1062: Duplicate entry '' for key 2 [CORE\cake
\libs\model\datasources\dbo_source.php, line 521]
Query: INSERT INTO `users` (`status`) VALUES ('inactive')
It keeps inserting, even if I set the id.
--~--~-~--~~-
Ive done that also, it still inserted a new row.
--~--~-~--~~~---~--~~
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 ema
Ok, I may be stupid... but how would I update a single field on a
single row. Something like the following without having to write a
custom query.
UPDATE users SET status = 'active' WHERE id = 1
Ive tried doing saveField() but that inserts a new row. Ive also tried
using updateAll() but that do
Perhaps do something like this
if ($this->RequestHandler->isPost()) {
$cleanData = array();
foreach ($this->data as $field => $data) {
// Rebuild the cleanData array based on your structure for the
database
}
$this->data = NULL;
$this->data
Why/How is it a multidimensional array? If you use the FormHelper it
builds it into a nicely formatted array in $this->data['ModelName'];
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to thi
Have you tried placing the Auth information in AppControllers
beforeFilter()? Try that and see what happens... and if that doesnt
help, look in the Auth Component manually.
On Dec 14, 11:59 am, DavidH wrote:
> Please note that since the above post I've corrected the model name to
> Twitcher as o
If I believe what you are saying, something like this would work (not
sure what fields you need):
// all the tenants
tenants
- id
- name
// all the expenses
expenses
- id
- cost
// relating a tenant to an expense = multiple tenants possible on an
expense
tenantExpenseRelation
- id
- tenant_id
-
So I have input fields that need javascript events for onfocus and
onkeyup.. here is my code:
input('username', array('onkeyup' => "populateUrl
('username', 'usernameUrl');", 'onfocus'=> "showSignupHelp
('username');")); ?>
That works, BUT when you look at the source it looks like the
fo
It seems you will have to remove/comment out that part that redirects
in the auth component manually.
On Dec 12, 4:41 am, Dav wrote:
> Tried that earlier, still redirects to "users/login".
>
> I have this in my controller
> function beforeFilter() {
> $this->Auth->autoRedirect = false;
>
> }
Or check the $this->params, I believe its $this->params['action'];
On Dec 12, 7:06 am, Daniel Hofstetter wrote:
> Hi Anja,
>
> > I get kicked out of some actions in some controllers. I have alread
> > placed
> > function beforeFilter()
> > {
> > parent::beforeFilter();
> >
Also, correct me if im mistaken.
Instead of loadModel('ModelName') and other variations, its now
App::import('Model', 'ModelName');
On Dec 12, 10:21 am, aranworld wrote:
> The following are the main things I came across during a recent
> upgrade:
>
> -- all the html helper functions related to
Yes most likely, but in my own apps I just write the div manually and
only use $html for forms/links and images.
On Dec 11, 1:53 pm, maytawn wrote:
> gearvOsh -
>
> Yeah, your're right. I don't know what I was thinking... but is does
> bring up a related question. If I
Perhaps look at this: http://book.cakephp.org/view/395/autoRedirect
If that doesnt work, you may have to edit the core files manually.
On Dec 11, 9:40 am, Dav wrote:
> Hi,
>
> I want to use the Auth component but I don't want it to send out the
> location: header.
> (I'm not using ajax)
>
> I j
If your logged in its:
$this->Auth->user('username');
Or you can assign a user variable to the view:
$this->set('user', $this->Auth->user());
echo $user['username'];
Hope that helps.
On Dec 11, 11:10 am, "bioselem...@gmail.com"
wrote:
> I've been wacking my head on the wall for the past few
Yes, I was about to to point out that it might be because your model
file name is capitalized.
On Dec 11, 4:57 am, AJV wrote:
> :D
>
> Well I guess I just confirmed my newbie status, I had written the
> names of the model files Capitalized. I noticed that small letters
> work much better :D
>
>
I just finished doing this today, these two links should help:
http://book.cakephp.org/view/125/Data-Validation
http://groups.google.com/group/cake-php/browse_thread/thread/d5e98df32a08c5cd#
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Oh and also stupid me, its basically in the manual:
http://book.cakephp.org/view/410/Validating-Data-from-the-Controller
My way doesnt require you to set the data to the view though, but
either way works.
--~--~-~--~~~---~--~~
You received this message because you
I figured it out. $validationErrors contains the array, I simply set
it in the view.
// login.ctp
element('errors', array('errors' => $form-
>validationErrors['User'])); ?>
// elements/errors.ctp
$error) { ?>
But
Ok ill take a look at that. Hopefully I can do something to get an
array so I can do a simple loop.
On Dec 11, 12:27 am, Marcus <[EMAIL PROTECTED]> wrote:
> On Dec 11, 9:14 am, gearvOsh <[EMAIL PROTECTED]> wrote:
>
> > So I understand the Model validation using $va
So I understand the Model validation using $validate. I applied snooks
multiple validations using
http://snook.ca/archives/cakephp/multiple_validation_sets_cakephp/,
all that works perfectly.
I do however dislike it when a field errors, the error message is
shown after the input. Id rather a lis
You mean like this? Label ?
Thats incorrect syntax.
On Dec 10, 8:59 pm, maytawn <[EMAIL PROTECTED]> wrote:
> gearvOsh:
>
> I like your idea... it sems simple, but how do I call the $form->label
> () method so that the $form->input() method is wrapped inside?
>
1 - 100 of 120 matches
Mail list logo