is this the same or uses ACLBehaivor?
On 25 mayo, 00:58, Changoso <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I just downloaded the new cakephp 1.2.x version and i hear it now
> comes with some libs for making the authorization automaticlly
>
> I mean, make a users table and it will automaticlly work
Hello!
I just downloaded the new cakephp 1.2.x version and i hear it now
comes with some libs for making the authorization automaticlly
I mean, make a users table and it will automaticlly work with
permissions.
I've quick-looked for some tutorials but all i find is 2007 tutorials
which i believ
I have a multi language website with caching
At the view there is some no cache tag to record which locale the
user is currently in and it has to be stored in the session.
So I need to store data into session at the view page,
Strangely this statement works
$session->read('Config.language');
> echo $form->input("$i.time");
> echo $form->input("$i.category_id");
Have you tried,
echo $form->input("ModelName.field_name.$i");
I believe this will return everything as an array on the backend that
you can loop through. Mind you, you may have to fill the value in for
those manually.
--~
I got this to work by changing the language in the MembersController
before calling the requestAction for Users. I guess it didn't work
before because requestAction is kind of special. However, though I'm
resetting the language back to the original right after that, the view
presented to the brows
hi,
I need to use the session component in the view, but the view is
cached, hence it will not go to the controller,
in the view there is nocache tag, in between the nocache tag, there is
some code where I need to store some data into the session, but I am
not sure how to call the session compon
I think it'd be better to create components through which to access
these services.
On Sat, May 24, 2008 at 1:58 PM, the_woodsman <[EMAIL PROTECTED]> wrote:
>
> Hi Bakers,
>
> I'm facing a design decision and I'd like to know people's opinions.
>
> In my new project, I'm going to use various thir
Thank you for the reply,
I dont have much choice regarding this, I know it is a bad place to
write session data in the view
But because the this is a multilanguage website with caching, hence it
will not goes to the controller,
but at the view there is some no cache tag to record which locale t
Just a guess: Set uses XPath expressions, which require doubling the
braces: {{4}}
On Sat, May 24, 2008 at 4:50 PM, ianh <[EMAIL PROTECTED]> wrote:
>
> I came across the new Set::matches method. Its just genius so kudos to
> whoever came up with that. Obviously there aren't many examples around
>
I doubt that the view is the best place for this. Do you have a
compelling reason? Maybe there's a way to do what you want in the
controller.
Also, are you sure you want 'Config.language'? Unless you're setting
the locale, you really should choose a different name, unless you're
not using Cake's
My Users controller sends out an email with a login & password when an
admin enables a member, who can specify a language of choice for
communications. Thus, I'd like to be able to switch the locale,
regardless of whatever the admin is using, just for this email.
Actually, there are several places
I am trying to write some data into the session object at the view,
below is the statement, but it will not write into it session, anyone
can
help? Thanks
On May 25, 8:28 am, robert123 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to write some data into the session object at the view,
>
Hi,
I am trying to write some data into the session object at the view,
below is the statement, but it will write into it session, anyone can
help? Thanks
$session->write('Config.language', 'data');
www.generics.ws
www.genericsmed.com
--~--~-~--~~~---~--~~
You
For my project I did create 2 convert functions: One dat converts the
array returned from findAll methods to {Model}.{n}.{Field}, and one
visa versa. I've made this on 1.2.6311 and don't know what changes
have been regarding this but still works for me...
I too had some problems with the formhelp
I came across the new Set::matches method. Its just genius so kudos to
whoever came up with that. Obviously there aren't many examples around
- mostly in the Containable test so Im a bit stuck on just how good it
can be.
One of the examples shows that Set::matches('/Comment[text=/cakephp/
i', $da
works fine for me using latest svn
- S
2008/5/24 [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Hi,
> i use the Sluggable behavior which worked mike a charm until the very
> last svn update from CakePHP 1.2 (around may 22th 2008) i made - it
> fails, silently which is worse - no slug created. Has any
Hi Bakers,
I'm facing a design decision and I'd like to know people's opinions.
In my new project, I'm going to use various third party services,
including photo stores like Flickr, Picasa, Facebook, and Payment
Gateways too.
I'm trying to decide which of the above kinds of services are best
im
On May 24, 2008, at 8:52 PM, troyp wrote:
>
> I'm just learning and I don't get it. I am trying to follow the
> concept of convention over configuration and finding issues.
>
> I want a multi-record form so I perform a findAll(...) to get the
> data.
>
> Then I make the form calls
>
> echo $fo
Hi.
On May 24, 2008, at 1:32 AM, adroit wrote:
>
> Hello All,
>
> I am new to CakePHP framework and I am having a tough time with the
> correct installtion.
> So far I get to see the default page after installation
> -
> CakePHP release information is on CakeForge
> Read the release notes an
On May 24, 2008, at 12:54 PM, vishal wrote:
> ... snip..
>
> I have two models(database table):User,Message
>
> I want place a drop down in my Message view file as :
>
> select('messageto', $options=array(), null, array(),
> '--
> select member--'); ?>
> I want to fills this drop down from my anot
apthost has worked well for me for cake applications.
Thanks.
On Sat, May 24, 2008 at 11:17 AM, k10 <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I am in the process of finding a webhost for my cake-app. Its a
> commercial (ecommerce app) so reliability n speed are the imp
> criteria. I was wonderi
How is it easy when my users/groups are ordered hirarchical? As
written above i thought of that but it seemed the AclBehaviour is to
limited to realize something like that. Or where you thinking of
writing your own behaviour?
On 23 Mai, 23:43, francky06l <[EMAIL PROTECTED]> wrote:
> If your group
The only useful thing about bringin a "implement digg with CakePHP" is
that bakery should be more social an less editorial like it is now.
On May 24, 4:52 pm, francky06l <[EMAIL PROTECTED]> wrote:
> Was hoping "Kube" would be linked somehow to "Cube" data mining
> etc ... pf ... disapointed
>
Hi All,
I am in the process of finding a webhost for my cake-app. Its a
commercial (ecommerce app) so reliability n speed are the imp
criteria. I was wondering which are the better webhosts (dedicated and
shared hosts both) and what your experiences have been regarding the
same. I am more incline
I'm just learning and I don't get it. I am trying to follow the
concept of convention over configuration and finding issues.
I want a multi-record form so I perform a findAll(...) to get the
data.
Then I make the form calls
echo $form->input("$i.time");
echo $form->input("$i.category_id");
to have the last version of the cake directory
https://svn.cakephp.org/repo/branches/1.2.x.x/cake/l
On May 23, 9:26 am, Andraž <[EMAIL PROTECTED]> wrote:
> Hello!
>
> How can I checkout from SVN with TortoiseCVS. I'm never did this. Whic
> password, username and protocol I must use?
>
> Regards A
sorry, that's bullshit
On May 23, 2:21 am, Raistlin Majere <[EMAIL PROTECTED]> wrote:
> Take a look at the source code and the number of files of phpdug.
>
> click choose download at
>
> http://www.kubelabs.com/phpdug/
>
> and select 1.4.2
>
> How much time and money is needed to create a phpdug?
Hi,
i use the Sluggable behavior which worked mike a charm until the very
last svn update from CakePHP 1.2 (around may 22th 2008) i made - it
fails, silently which is worse - no slug created. Has anyone any clue
why or what in the recent updates of Cake can casue this ?
Raphaele
--~--~-~
Hi Lauren,
try setting
$this->autoRender = false (instead of setting the layout to
empty), this way Cake won't send anything out to the browser.
also, you might want to try:
header('Content-Type: image/jpeg');
(notice the 'jpeg' instead of 'jpg')
See if that helps
Dave
On May 23, 9:52 pm
Hello,
I am looking for a cake php freelancer, who can work directly with me on a
site which already is almost say 20% complete. Please contact me
directly(lets not spam the group), if you are interested.
--
Thanks & Regards,
Novice (http://ishuonweb.wordpress.com/).
--~--~-~--~~---
What is the relation between the Message and User (I mean in terms of
model) ?
Anyway, you can use the find('list') on the User model.
$users = $this->User->find('list'); // if you want to retrieve the
fields id => name
$this->set('users', $users);
then in your view
echo $form->input('messageto
Can you pass your model definition code ?
I have the same kind of plugin and not much problems, maybe I declare
the association in different way.
I set the plugin name into the className parameter ie :
belongTo => array('Profile' => array('className' =>
'user.Profile')
Wich cake version are
32 matches
Mail list logo