Just wondering if anyone has files for the finished ACL app from the Cake
site.
I like to pick apart finished code when going through a tut.
Thanks!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp
Hi,
Im building an App for a school managament, we have schools, each
school has many teachers and students.
We need to allow each school to manage their permission for each
teacher and students, both globally and user-specific.
For this requirement i think I need an ACL solution with 3 levels:
Hi,
I'm trying to implement ACL for my already created application and
need to create the aro records for my current existent users. On IRC
Ceeram said i just need to load AclBehaviour into my User's model,
find all users and save it (update any field, i guess) and that will
create the ARO row. I
I have to agree with Mike, are you sure it's making it that far into the
code and have you tried testing the redirect on it's own?
Alter your 'if' statement to alert in the case the condition (send email)
fails.
if ($this->Email->send()){
$this->redirect('/sellers/message');
} else {
Version 3.0 of the forum is for CakePHP 2.0.
https://github.com/milesj/cake-forum
For future reference, you can check the compatibility section in the readme.
On Monday, April 2, 2012 9:17:33 AM UTC-7, WhyNotSmile wrote:
>
> I'm trying to integrate the Cupcake forum (version 2.3) with my app,
>
I have two models set up, LearningExperience and Project. One
LearningExperience can have many Projects. I'm building an interface for
adding and for editing LearningExperiences. So far, when adding or editing
a LearningExperience, I'm planning on having a button that opens a modal
window. In t
The code:
class EmailShell extends AppShell { #public $uses = array('Empresa',
'Licenca'); public function main() { App::uses('CakeEmail', 'Network/Email');
$email = new CakeEmail(); $email->from(array('EMAIL' => 'EMAIL')); $email
->to('EMAIL'); $email->subject('About'); $email->send('My message'
@Sony
$this->Auth->
authorize = 'controller'; should be $this->Auth->
authorize = 'Controller';
Op woensdag 28 maart 2012 15:09:03 UTC+2 schreef Sony het volgende:
>
> Hi,
>
> When I run a action, the access is refused because the method
> isAuthorized() is never called.
>
> AppController :
without seeing the code you already tried out so far it is impossible to
help you
Am Montag, 2. April 2012 16:11:33 UTC+2 schrieb Fernando:
>
> euromark
>
> I could not figure out how to make it work,
>
> Can you help me with an example?
>
>
>
> --
> Fernando Andreacci
> Biólogo
> Fone +55 47
I'm trying to integrate the Cupcake forum (version 2.3) with my app,
which is written in Cake 2.0.
Setting up the db etc was fine, but then it couldn't seem to find any
of the classes and so on. I figured maybe it needed to follow Cake
2.0 conventions, so I changed file and folder names to fit wi
Hi,
Thanks for your reply. I sort out the error.
Thanks
Raj
On Mar 29, 5:01 pm, Tilen Majerle wrote:
> tell us ur error and version u're using for tinymce and cakephp (all, not
> just "2")
> --
> Lep pozdrav, Tilen Majerlehttp://majerle.eu
>
> 2012/3/29 Raj
>
>
>
>
>
>
>
> > Hi Guys,
>
> > I a
Dear All
I have a query about paginate and joins. I am developing with the latest V2
code.
I get a page of errors when I display a screen although my data is returned
and displayed.
I am trying to display data from the registers table with some data from
the associated heads and owners tables
Add this line:
echo " $.noConflict(); ";
under the line:
echo $this->Html->script('jquery'); // Include jQuery library
in the default layout.
Good luck!
On Feb 5, 9:37 am, "supp...@deep-coding.net"
wrote:
> Hey,
>
> I'm having a problem, again :)
> I want to use some jquery functions in my app
Add this line:
echo " $.noConflict(); ";
right under the line which is copy pasted from the cakephp book, in
the default layout:
echo $this->Html->script('jquery'); // Include jQuery library
Good luck!
On Feb 5, 9:37 am, "supp...@deep-coding.net"
wrote:
> Hey,
>
> I'm having a problem, again :)
thanks very much buddy
On Mon, Apr 2, 2012 at 7:36 PM, Salines wrote:
> Sorry, i send incomplete post.
>
> --
>
>
> To solve your problem, you must validate your uploads.
>
> public $validate = array(
> 'image' => array(
> 'extension' => array(
> 'rul
Hi Everyone;
Background:
Actually I'm calling soap-services provided at
https://pilot.prove-uru.co.uk:8443/URUWS/URU10a.asmx?WSDL.Here, I have
written the code in normal php (non cake) and that is working. However
the same code is not working in Cake 1.2.
Technically, I've created a component and
@Rob,
Tried that already... I did include it in the
AppController beforefilter() method exactly in that way, and doesn't work
at all... gave me just a blank screen.. yes.. I did check for syntax errors
or something in the error logs to no available.
any idea?
On Monday, April 2, 2012 10:2
https://github.com/davidpersson/media/blob/next/libs/media_validation.php#L41
--
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 unsubscri
You can push a new helper onto the helpers array (or any other array) like
so:
*$helpers[] = 'MenuBuilder.MenuBuilder';*
*
*
This will keep all of the default helpers. As the helper is not used until
the View is rendered, you can add this code either to the beforeFilter or
beforeRender methods
euromark
I could not figure out how to make it work,
Can you help me with an example?
On Sat, Mar 31, 2012 at 6:01 AM, euromark wrote:
> @LITTO CHACKO:
> he wants to use it inside a shell, so he has to use the CakeEmail class
> (and not the compontent!)
>
> take a look at this question (as he a
Sorry, i send incomplete post.
--
To solve your problem, you must validate your uploads.
array(
'extension' => array(
'rule'=> array('extension', array('gif', 'jpeg', 'png', 'jpg')),
'message' => 'Please supply a valid image.'
),
'mimetype' => arr
@saline while you check this image... the problem i suggested will come
again because we can set any extensions to atext file in linux
On Mon, Apr 2, 2012 at 7:14 PM, Salines wrote:
> It is because I quoted your text..
>
>
>
> To solve your problem, you must validate your uploa
Thanks to both Thomas :)
I found that I did download the wrong version... first I downloaded the
version provided in the documentation (readme.md) which point to an old
version (http://github.com/torifat/cake-menu_builber/zipball/master).
After download the right one everything worked the
It is because I quoted your text..
To solve your problem, you must validate your uploads.
array(
'extension' => array(
'rule'=> array('extension', array('gif', 'jpeg', 'png', 'jpg')),
'message' => 'Please supply a valid image.'
)
),
);
Cr
Litto some more information would help, is it redirecting to a blank page
instead of redirecting?
On Mon, Apr 2, 2012 at 9:15 AM, Mike Griffin wrote:
> On Fri, Mar 30, 2012 at 09:42, LITTO CHACKO wrote:
> > hai guys, i have to met with other problem.. the problem is that whwn
> > i tried to sub
On Fri, Mar 30, 2012 at 09:42, LITTO CHACKO wrote:
> hai guys, i have to met with other problem.. the problem is that whwn
> i tried to submit a form it saves all data nad when it is asked
> to redirect after saving it..it doesn't work???
>
> if ($this->Email->send()) {
>
>
@crotch.. iam still unable to fix this redirecting problem... pls help
me.
On Apr 1, 12:52 am, CrotchFrog wrote:
> Did it make a difference for you or are you still having problems with the
> redirect?
>
> The difference would be in naming
> conventionshttp://book.cakephp.org/2.0/en/getting-
@salline... thanks... but i didn't understand the last sentence you
said for me... can you please write without using any abbreviatins..
because iam using google translator for viewing your messages
On Apr 2, 4:48 pm, Salines wrote:
> http://book.cakephp.org/2.0/en/core-utility-libraries/file-fol
http://book.cakephp.org/2.0/en/core-utility-libraries/file-folder.html#File::$info
Dana ponedjeljak, 2. travnja 2012. 13:09:58 UTC+2, korisnik LITTO CHACKO
napisao je:
>
> This is a common problem. it is not related with cakephp alone..
>
> when we upload an image, usually we are checking whet
@mike griffin.. thanks..
On Mon, Apr 2, 2012 at 4:46 PM, Mike Griffin wrote:
> On Mon, Apr 2, 2012 at 12:09, LITTO CHACKO wrote:
> > This is a common problem. it is not related with cakephp alone..
>
> It's not really related to cakephp at all.
>
> > so the problem is that if anyone created
On Mon, Apr 2, 2012 at 12:09, LITTO CHACKO wrote:
> This is a common problem. it is not related with cakephp alone..
It's not really related to cakephp at all.
> so the problem is that if anyone created this type of file with a
> virus code in it... it will upload success as it is of correspondi
This is a common problem. it is not related with cakephp alone..
when we upload an image, usually we are checking whether its extension
is related to the corresponding picture formats.
But these may be result to great security problem. as in linux we can
create text editor files in any extensions
try with this http://pixelcone.com/
--
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-ph
exactly - Uppercase singular, should be just the same as in app/View/Helper
(not sure if upper/lowercase is really relevant)
On Sunday, April 1, 2012 1:00:34 AM UTC+2, Thomas Verschuren wrote:
>
> @750riderAce,
>
> I'm not the same Thomas :)
> But i had the same problem a minute ago.
>
> Wher
You're welcome.
If you have outdated CakeDC Migrations Plugin, upgrade it also:
https://github.com/CakeDC/migrations/issues/45#issuecomment-3747975
as well as calls of Dbosource::fullTableName() in your code.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Ch
Hi,
thanks you for your feedback!
I have tried to change my code according to your suggestions but hit a wall
just at the first step:
I now changed the page template index.ctp:
$options = array( 2 => 'two', 4 => 'four');
echo $this->Form->create('Posts', array('url' => $this->here));
As I am a beginner in CakePHP
my problem is How can I create common functions in a class like in VB
modules
and call this or is this conventional to CakePHP to allocate repeated
function in a class and call.
thanks
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.
Miles,
Thank's for the respond.But what did u mean by saying i cant save files
with ajax . What is it dat we see all around .. In most of the sites the
photo is uploaded by ajax .
And no i'm not using a js script with an iframe hack. I dont know what it
is .:)..
Will any change in my previous
hi friends, i have a new problem with my project. problem is after
certain time my page is automatically redirecting
ie,
if am standing in this page
http://localhost/snapdeal/index/product/
after certain time it redirect to
http://localhost/snapdeal/index/product/home.php
i don't know why this
39 matches
Mail list logo