Thanks sir,
its working fine.!
On Tue, Jun 8, 2010 at 8:40 PM, calvin cal...@rottenrecords.com wrote:
Don't post the same question twice, please. You already had people
helping you with this in the other thread.
On Jun 8, 4:16 am, Narendra Padala crazycake...@gmail.com wrote:
Hi i am
CakePHP is using the AppModel, because your User model is named
incorrect!
Name it User, not UserModel!
Enjoy,
John
On Jun 8, 9:04 pm, Matthew ghostofagoodth...@gmail.com wrote:
I followed the Simple ACL Tutorial but have a database of plain md5
passwords.
This line is storing an object
OK, if you look at this in a slightly different way and think of your
subjects as tags then you could use this behaviour Cake 1.2:
http://bakery.cakephp.org/articles/view/simple-tagging-behavior
Or this plugin Cake 1.3:
http://cakedc.com/downloads/view/cakephp_tags_plugin
I add comma separated
Dear Experts,
i18n script ans default.po file
How i can generate default.po file for bengali language .
Pls give me instruction.
--
Regards,
Mohammad Arif Hossen
Software Enginner at
Epsilon Consulting and Development Services(ECDS)
www.ecds-tech.com
www.arifhossen.wordpress.com
+88
it is enabled i also worked with it and cake wouldn´t show me a correct page
with this
url: http://my.site/*app/webroot/index.php/*clients/add_client
it have to be anything else. perhaps it have something to do with the
route.php or the .htaccess isn´t done well
2010/6/9 Dr. Loboto
Hello fellows, is there any chance to validate an IP v6? Can u please give
some hint?
thanks in advance
--
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP
I have some trouble with the init of Auth component is it the same as
1.2?
it displays me the user login information in the url without loging in
in 1.2 i had not this problem!!!
http://localhost/~cherif/myapp/users/login?_method=POSTdata[User][username]=admindata[User][password]=admin
any one
http://book.cakephp.org/view/142/ip
is a little bit outdated
ip does validate BOTH by default!
var $validate = array(
'clientip' = array(
'rule' = 'ip',
'message' = 'Please supply a valid IP address.'
)
);
but Validation::ip($check, 'ipv6') would only validate pure v6
good hint. Just following the book I ve the following rules in the model
var $validate = array(
'ipV4Address' = array(
'rule' = 'ip',
'message' = 'Please supply a valid IP v4
address.'
),
'ipV6Address' =
I've built the blog, the ACL controlled version and a few other apps in
Cake already. The book and API docs are helpful to a point. The point
when they stop being helpful is when you try to figure out how to build
multi step logic into an app. Which is where I am.
I've already tried the
cricket - thanks for the suggestion. I've been reading up on MPTT,
but the first link doesn't have the demo described on the site. I was
wondering if you could post our example just so I can go through it
and see how MPTT structured table calls are made.
Thanks,
Dima
On Jun 8, 8:10 pm, cricket
You might want to take a look at the Loggable Behavior it has some of
what your looking for in logging usage info.
http://bakery.cakephp.org/articles/view/logablebehavior
There is also a WhoDidIt behavior which only logs who created/modified
a specific record. I didn't care for this method as it
im sry
the validation array is too flat (i just copied it)
var $validate = array(
'ip' = array(
'validIp' = array(
'rule' = 'ip',
'message' = 'Please supply a valid IP v4/
v6
address.'
Hi all,
I'm following the basic cakephp Blog example, here is my code:
posts_controller.php
?php
class PostsController extends AppController
{
var $name = 'Posts';
var $uses = array();
function index() {
$this-set('posts', $this-Post-find('all'));
}
}
?
So its obviously nothing new that the documentation on ACL + AUTH
implementations is for the most part... lacking
I am trying to implement the AclBehavior into my users and groups
controllers, but I just can't seem to get them to auto add AROs into
my database. I have followed the cake tutorials
I resolved this problem yesterday, you are right though. Posted
solution in CakeQ's:
http://cakeqs.org/eng/questions/view/change_hash_function_problem_in_1_3
On Jun 9, 3:48 am, John Andersen j.andersen...@gmail.com wrote:
CakePHP is using the AppModel, because your User model is named
In your PostsController try using var $uses = array('Post');
On Wed, Jun 9, 2010 at 8:27 AM, Pedro pedrohme...@gmail.com wrote:
Hi all,
I'm following the basic cakephp Blog example, here is my code:
posts_controller.php
?php
class PostsController extends AppController
{
var $name =
I agree with John,
And I would personally use a join query in this type of situation.
Your most likely not going to need all of the data that comes back
from normal cake binding. And normal cake binding is going to perform
multiple queries to obtain the data (this is not a bad thing, but it
does
It make this easy:
Cake if you want development to be fast and easy and dont have to
think about implementation much as long as you follow convention.
Zend if you want full control and want configuration over convention
as well as strict OOP setup. Takes longer to implement, but can be
more
On Jun 8, 11:44 pm, fadhli - e.fad...@gmail.com wrote:
hi everyone.
i'm new in cakephp and i want to know how to
makehttp://www.example.com/home/index.phpin cakePHP.
controller without 's' (home not homes)
In routes.php:
Router::connect(
'/home',
array('controller' = 'homes', 'action'
On Jun 9, 10:36 am, Dima dmitriy.pind...@gmail.com wrote:
cricket - thanks for the suggestion. I've been reading up on MPTT,
but the first link doesn't have the demo described on the site. I was
wondering if you could post our example just so I can go through it
and see how MPTT structured
Did you study cakebook link? You need:
1) mod_rewrite installed and enabled;
2) AllowOverride set to All for your site dir;
3) .htaccess files must exist, be valid (unchanged rewrite section
actually), and be accessible by webserver (on *nix wrong rights
prevent it).
Also there can be problem
Maybe you should ask this in the PHP Forms forum. This is the CakePHP
group.
On Jun 8, 8:26 am, LoveYou vrybako...@gmail.com wrote:
Hey!
I have such question: How php form availabilities do you know? PHP
Form have different varifications and functions such as form
generator, form creator,
... are you doing this in prod. or dev. environment at this poing?
What are the details of your set up?
On 6/9/10 9:26 AM, Matt Y wrote:
So its obviously nothing new that the documentation on ACL + AUTH
implementations is for the most part... lacking
I am trying to implement the AclBehavior
Manipulating bit fields can be confusing at times (e.g. on Monday it
took me a while to realize the query in my original post didn't do
what I thought it would), and there's usually more than one way to do
it. But, basically, the way I approached it was to group all of the OR
conditions together
Hello,
I set my database config as follows:
var $default = array(
'driver' = 'mysql',
'persistent' = false,
'host' = 'localhost',
'login' = 'root',
'password' = 'pward',
'database' = 'site',
... are you getting any error message?
if so - post them
what debug level setting?
... which version of cake are you using?
Are you implementing it on something you've build already or are working
though the tutorial only? ( meaning you only have 'widgets' model, etc.)
On 6/9/10 5:22 PM,
Hi,
first of all thank you for your long and detailed answer.
I'm aware of both methods John mentioned.
So neither the containable behaviour nor the forced join solution
are new to me, and
i already used both techniques in the past with success.
But my problem is a bit more complicated:
First of
where did you get that from?
its just
'encoding' = 'utf8'
On 9 Jun., 23:18, saidbakr said@gmail.com wrote:
Hello,
I set my database config as follows:
var $default = array(
'driver' = 'mysql',
'persistent' = false,
'host' =
@Calvin:
I have very little experience with bitwise operations but if the concept was
totally escaping me and you saw this don't ever be hesitant to tell me I'm
being a dummy. I have no reservations with diving into a tutorial and
picking up on something new. I never expect the answer but will
Can you elaborate on what you mean by multi step logic? If you're
talking about something like a user registration process with multiple
steps/screens, then just link multiple single-interaction actions
together. That isn't something that needs to be covered in the
documentation because the
Hi, I have a trouble on my godaddy shared linux hosting account.
I want to install a PHP forum (phpBB3) in a /forum folder *
-app
-cake
-forum *
-plugins
-vendors
and I want to access this forum using this url:
http://www.MyCakeApp.com/forum
but, of course, the following error appears:
Missing
According to the W3C, they expect to reach the recommendation
milestone for HTML5 in Q3 2010.
http://www.w3.org/2007/03/HTML-WG-charter.html#deliverables
On Jun 9, 11:11 pm, calvin cal...@rottenrecords.com wrote:
You can use whatever you want, but HTML5 is nowhere near completion.
It's not
33 matches
Mail list logo