Have a look at the sample application in the CakePHP manual at:
http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application
Maybe that you can use as a beginning and then expand on it?
Enjoy,
John
On May 28, 8:28 am, ET3 wrote:
> I am developing a system where I need to set permission
Have a look at the CakePHP manual at:
http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application
Is that not what you want? Or at least something with which you can
expand on!
Enjoy,
John
On May 30, 7:38 am, hoss7 wrote:
> hi i am new in cakephp
> i want some user manager system(with
Here is your silver bullet: http://book.cakephp.org/view/1323/Containable
Jeremy Burns
jeremybu...@me.com
On 29 May 2010, at 13:07, Antony wrote:
> Hi all,
>
> I have my models setup so: Person Item Images
>
> I want to be able to display a list of People and their images. I c
In your first example, the TimeLineHelper should be named TimeLine in
your helpers array in the controller!
Enjoy,
John
On May 30, 5:58 am, Bryan Lim wrote:
> Hi all,
>
> Can someone please tell me what did I do wrong with the naming
> convention?
>
> I named my helper time_line.php. It is cal
Take a look at the Containable behaviour in the CakePHP manual at:
http://book.cakephp.org/view/1323/Containable
The Containable behaviour allows you to specify which related models
are to be included in the find you are making, thus speeding up the
find.
Enjoy,
John
On May 29, 3:07 pm, Antony
By the looks of it you named your model correctly as "Items" but in your
conditions your are referencing "Item".
To find "count" ...
$this->Section->find('count' , array(
'conditions' => array(
'Items.user_id' => 1
)
I'm playing with a simple model where
Section hasMany Catalogitem hasMany Item belongsTo User
and naturaly the other way-
User hasMany Item belongsTo Catalogitem belongsTo Section.
I'm trying to get count how many items I have per section for
user.id=1 - which is a very simple sql query (with
hi i am new in cakephp
i want some user manager system(with Permission) for cakephp 1.3
link this:
http://www.studiocanaria.com/articles/cakephp_auth_component_users_groups_permissions
i cant run this code in cakephp 1.3
Check out the new CakePHP Questions site http://cakeqs.org and help others
Alright, I've racked my brain on this far too long now and want to see
if I can get another set of eyes on my code to see if I'm missing
something.
I need a custom handler for my sessions for a couple reasons:
1) My app is going between different domains, not subdomains, and
requires the referrer
Hi WebbedIT,
I'm a fan of what gigya aims to be, and I've had a fun time
developing this plugin. The service is free to evaluate but there is
no set expiration. They do not advertise their fee anywhere on their
website, so I imagine they prefer to custom build their plans based on
traffic. How
Hi all,
Can someone please tell me what did I do wrong with the naming
convention?
I named my helper time_line.php. It is called class TimeLineHelper
extends AppHelper.
At the controller, var $helpers = array("time_line");
But it gives me error that TimeLineHelper is not found.
So I change ti
Hi,
just tried 1.3.1 with one of my project (Cake 1.3). It instantly gave
me an errors on almost *every* page (see below). Removing TMP\cache
\persistent\ files doesn't help.
=
Notice (8): unserialize() [function.unserialize]: Error at offset 0 of
1661 bytes [CORE\cake\libs\ca
Hi all,
Using 1.3 stable I'm trying to override some function in a custom helper
overriding a core helper (form+html)
An example:
dojo_html.php
App::Import('Html');
class DojoHtmlHelper extends HtmlHelper {
var $tags = array(
'form' => '',
'input' => '',
...
);
}
dojo_form.php
A
Hi all,
I have my models setup so: Person Item Images
I want to be able to display a list of People and their images. I can
do this through using recursive = 2 but it slows down the page a lot
as there are many other associations which are not required.
I've tried playing around
Hi Paul,
Here in (maybe) lies the rub. There isn't an actual admirers table.
There is only a friends table. The reason I am using the admirers/
friends business is to say user A has B friends and C other users have
A as a friend. This was based on AD7six's reply to a 2007 post:
http://groups.goog
The CakePHP development team is happy to announce the release of
CakePHP 1.3.1[1]. 1.3.1 is the first maintenance release for 1.3 and
contains bugfixes and optimizations for features found in 1.3. No new
features will be introduced in the maintenance releases for 1.3.
Regular maintenance release
Nobody knows how to solve this problem?
I think that it is very essential.
Any help will be appreciated. I can't continue my work without it :/
Kine regards,
T.
On 28 Maj, 01:01, 朝の木 wrote:
> Here is full statement *generated by cake*. It raises sql-error:
>
> SELECT `TestProduct`.`title`, `Tes
Please provide more information - like which controller and which
action you are trying to access through your browser (the url). Then
show your controllers code for the corresponding action. Maybe then we
will better be able to point you somewhere :)
Enjoy,
John
On May 29, 9:46 am, karuppu wr
Hi all,
I have started to look into how to integrate a cart plugin and a
paypal payment plugin without having either of the plugins knowing
anything about each other as well as the application.
First I would like to hear comments and ideas on the use of the cart
plugin.
In the application, the u
http://www.ibm.com/developerworks/views/opensource/libraryview.jsp?search_by=cook+web+sites+CakePHP
On Fri, May 28, 2010 at 3:08 PM, Gopinath T.M wrote:
> Dear friends,
>
> Can anyone give me guide for Creating sample application and
> Explaination of View,Model and controller
>
> Check out t
Can any one give me some idea how I can implement ACL for Auth user
having multiple groups. Is this possible? Please give me some source
code
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
If you use poedit you don't have to edit the po files after every code
change even if you created the initial po file by yourself.
You just need to configure poedit to reference your code folders.
On Sat, May 29, 2010 at 12:04 PM, Igurpi wrote:
> Any idea with this issue?? :-(
>
> On May 28, 1:3
helo everyone ,
I am newbie to cakephp . i am trying to implement an interaction platform
between alumnis and students of my college . i coded significantly in php
and javascript , but couldnt come up with a channel concept. where is i
have channels for every alumni not student , so that they can
Dear all,
I have installed my site created in cakePHP in local environment (my
pc) unfortunately when i run that on browser that browser is showing a
following error message "The page isn't redirecting properly". I
couldn't find what is the cause of this. Kindly show the way to me.
Thank you
Che
On Sat, May 29, 2010 at 7:44 PM, WebbedIT wrote:
> I'd be really interested in knowing more info about your plugin and
> your experiences of gigya as I am about to launch a website for
> charities/not-for-profits which I want to be fully integrated with all
> of the big Social Networks and it's a
I can't run blog example, can anybody help me?
On May 27, 11:54 pm, leon wrote:
> Thanks a lot for your help,
> I try this code
> $this->Post->id = $id;
> $this->set('post', $this->Post->read());
> and
> $this->set('posts', $this->Post->findById(1));
>
> but they both generate this SQL string
> S
I'd be really interested in knowing more info about your plugin and
your experiences of gigya as I am about to launch a website for
charities/not-for-profits which I want to be fully integrated with all
of the big Social Networks and it's a lot of work to code for each API
(I've only managed Twitte
I tend to use the following but can;t remember why I started using it
or of what benefits/disadvantages it has over Jeremy's method:
ClassRegistry::init('ModelName')->method();
I believe it is clever enough to check for existing instances of the
model if you use the call more than once in a HTTP
Do you have access to PhpMyAdmin or something to run queries direct on
your database?
If so try running this SQL
SELECT DISTINCT User.id, User.username FROM users AS User
LEFT JOIN admirers AS Admirer ON (User.id = Admirer.user_id AND
Admirer.approved IN(0,1))
LEFT JOIN friends AS Friend ON (User
Po file mean what???
can u give us in details??
On Sat, May 29, 2010 at 2:34 PM, Igurpi wrote:
> Any idea with this issue?? :-(
>
> On May 28, 1:31 am, Igurpi wrote:
> > I have generated my .po file using the "cake i18n extract" command in
> > the shell. But in my cakephp app, I have some tran
Any idea with this issue?? :-(
On May 28, 1:31 am, Igurpi wrote:
> I have generated my .po file using the "cake i18n extract" command in
> the shell. But in my cakephp app, I have some translations with the
> "__d" function: For example: "__d('admin', 'value')" where 'admin' is
> the domain name.
On May 29, 8:53 am, "Gopinath T.M" wrote:
> can anyone come with me on chat.
If you would like to talk to someone in 'person' - use the irc
channel:
http://book.cakephp.org/view/9/Where-to-Get-Help
There are always lots of people around to help in there. You'll find
one way or anther your
8-)
On Sat, May 29, 2010 at 3:33 AM, John Andersen wrote:
> What version of CakePHP are you using? Version 1.1??
> I have no idea whether the .thtml files are valid for CakePHP version
> 1.2.x or 1.3!
> Enjoy,
> John
>
> On May 29, 10:23 am, "Gopinath T.M" wrote:
> > Actually i did a sampl
What version of CakePHP are you using? Version 1.1??
I have no idea whether the .thtml files are valid for CakePHP version
1.2.x or 1.3!
Enjoy,
John
On May 29, 10:23 am, "Gopinath T.M" wrote:
> Actually i did a sample application like notes
>
> This Contain fields called title,descript
Actually i did a sample application like notes
This Contain fields called title,description,created_date and
modified_date
1. app/views/edit.thtml
Edit Note
hidden('Note/id'); ?>
Title:
input('Note/title', array('size' => '40'))?>
Body:
tex
Sorry, I am not available for chat.
Please use this group, as there are others who are more "fluent" in
CakePHP than I am.
The more who can look at your issue, the more will be able to help.
So give it a try, write down your issue here in the group :)
Enjoy,
John
On May 29, 9:54 am, "Gopinath T
36 matches
Mail list logo