I have downloaded WebTechNick's PayPal plugin and copied the files
into /app/plugins/paypal_ipn (exactly as per the instructions). I have
amended /app/config/routes.php to include the routes for the plugin
(these are copied straight from the installation instructions). As
part of debugging this pro
Thanks Miles,
Though the document I was after had coding standards e.g. like
preferred indenting method (tabs) etc.
On Wed, May 4, 2011 at 1:39 PM, Miles J wrote:
> Theres this: http://book.cakephp.org/view/901/CakePHP-Conventions
>
> On May 3, 6:08 pm, Simon Males wrote:
>> Hi
>>
>> There was
Hi all,
I am developing a app and I am new to cake and somewhat new to php. Here
is what I have . Multiple admins each with admin control over their schools
(groups). When the admin goes to admin/templates/index they only should see
templates that belongTo that school. below is how I do this. A
No image there as example
have you tried setting up an example rewrite to test not using cake
the apache example rewrites alice to bob
http://stackoverflow.com/questions/5121361/apache-mod-rewrite-works-in-htaccess-but-not-httpd-conf
check all allowoverrides to see if they are causing issue
-
Theres this: http://book.cakephp.org/view/901/CakePHP-Conventions
On May 3, 6:08 pm, Simon Males wrote:
> Hi
>
> There was a really good document on the trac wiki, are they archived
> somewhere?
>
> Cake Coding Standards
> :https://trac.cakephp.org/wiki/Developement/CodingStandards
>
> --
> Sim
Plain page is displayed :(
On Wed, May 4, 2011 at 5:12 AM, Miloš Vučinić wrote:
> I typed quickly, the home page is located in /app/views/pages/
> home.ctp . See if it is blank, and if it is, type smth there..
>
> On May 3, 11:44 am, Miloš Vučinić wrote:
> > If you are using security component,
TableA hasMany TableB. TableB has boolean field called Checkbox
I want checkbox to be a mutex among the TableB records for a given
TableA ID.
The last record that was added or saved with Checkbox = 1 will 'steal'
it from any of the other TableB records for a given TableA ID.
Again, I'm second gu
perhaps its due to cakes use of mod rewrite
if so I suggest using firebug's net tab to see the urls of the mp3's being
loaded
then firgure out a way to ensure the your app has correct urls consistently
are you using absolute paths to the mp3s within your xml file or as params
passed to swfobject?
Its workin now! but just in my index page, and only if I access my url
without any slashes after the index.
ex: localhost/cake/artist - this works
ex: localhost/cake/artist/ - this doesn't work
ex: localhost/cake/artist/detailView/12 - doesn't work.
I'm trying to understand. I used the router to s
Hi
There was a really good document on the trac wiki, are they archived somewhere?
Cake Coding Standards :
https://trac.cakephp.org/wiki/Developement/CodingStandards
--
Simon Males
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP
I typed quickly, the home page is located in /app/views/pages/
home.ctp . See if it is blank, and if it is, type smth there..
On May 3, 11:44 am, Miloš Vučinić wrote:
> If you are using security component, turn it off, by not including it
> anywhere. It happens when you include it in the wrong pl
On May 3, 2011, at 07:23, heohni wrote:
> Hi, I haveing a strange problem that cake is writing 2 statements into
> the db I can't really find...
> I am doing some ajax stuff, connected with some functions which
> redirect to another function, and somewhere inbetween, there are
> statements which
Of course I know how to do it whithout the extract method.
The point is, if the extract is not always working, it's not really
usable cause you never know when it will break your things
Someone points me to this ticket which could be related
http://cakephp.lighthouseapp.com/projects/42648/tickets
Assuming that Myprofile is associated with Member, the code in
MembersController should be:
$this->Member->Myprofile->whatever()
On Sun, May 1, 2011 at 5:58 PM, taq wrote:
> create view for register and send data to controller
> //app::import('Model','Myprofile');
> Class MembersController
Not sure if I am simply over looking something obvious.
I have a set of cached query data that holds info from various Models.
So the Blogs "Post" has the cached User, Avatar, Blog and Post Model data.
Now how is the best way to delete the cached data across these records? If I
edit any of the
Ok its working now, I had to do the following
sudo gedit /etc/apache2/sites-available/default
Find the following:
Options Indexes FollowSymLinks MultiViews
AllowOverride *None*
Order allow,deny
allow from all
and change it to
Options Indexes FollowSymLinks MultiViews
AllowOverride *all*
Order
@Otavio - that has nothing to do with the question.
On May 2, 7:51 pm, Otavio Martins Salomao
wrote:
> u try this!
> foreach($test as $element)
> $result = $element['Deep1']['Deep2']['extract'];
>
> 2011/5/2 Gluckens
>
>
>
>
>
>
>
> > Hi everyone,
>
> > I'm trying to extract data from an ar
You need to read the manual:
Try the following - it seems you are confusing the $name property with
the $uses property of the controller.
On May 2, 1:50 pm, Ryan Schmidt wrote:
> On May 1, 2011, at 12:22, euromark wrote:
>
> > var $name = array('Members','Myprofiles'); ?
> > seriously? where d
> I've put an phpinfo() file into webroot folder and it was accessible with
> http://localhost/projectname/app/webroot/teste.php
your url shouldnt look like that if you have set up your httpd conf
correctly.
http://localhost/projectname/app/webroot/teste.php
should be
http://localhost/projectna
Since this is all happening on the client side, in the browser, you're
going to need to write javascript. However you have the HTML Helper
and/or JS Helper to get your javascript in place.
Don
On May 3, 3:30 am, "Chaitanya Maili StrApp.net"
wrote:
> Hi,
>
> We are working on an application using
dude try to use this plugin of jquery instead the Ajax helper.
http://jquery.malsup.com/form/
2011/5/3 heohni
> Another update:
>
> I added a class name to the form
>
>
> And changed the jquery to
> $('.cForm').submit(function() {
>
> But there is still no difference :-(
> Still 2 submits.
>
>
Another update:
I added a class name to the form
And changed the jquery to
$('.cForm').submit(function() {
But there is still no difference :-(
Still 2 submits.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http:
Yes it is...
--
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-php+unsubscr...@googlegrou
mod_rewrite is enabled by apache?
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/5/3 Djonatan Buss
> I've put an phpinfo() file into webroot folder and it was accessible with
> http://localhost/projectname/app/webroot/teste.php
>
> --
> Our newest site for the community: CakePHP Video T
I've put an phpinfo() file into webroot folder and it was accessible with
http://localhost/projectname/app/webroot/teste.php
--
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
I've installed PHP 5.3 and I have already had to make some changes on my
cake project ( core.php UTC setting).
The problem is that something is going wrong with my routes, I think,
because it worked perfectly before.
I'm not sure that is a real route problem because it redirecting me to the
right
Forgot to update:
Ajax->Form('comment', 'post', array('update' =>
'msg', 'url' => array('action' => 'comment')), false); ?>
I added the false statement, which gives me the following html block:
But the comment call is still perforemd twice...
--
Our newest site for the community: CakePHP Vide
Hi,
I have a form like this:
Ajax->Form('comment', 'post', array('update' =>
'msg', 'url' => array('action' => 'comment'))); ?>
Ajax->Form->end(); ?>
Using jquery I use this function:
$('#submitcomment').click(function() {
if($("#comm").val().length < 20) {
alert('too short');
Hi,
We are working on an application using the CakePHP framework
Basically, its a questionnaire application and it has a few dependant
questions, i.e. based on a response to a specific question, it needs
to show or hide the next one
For e.g.
Question: Are you married? Yes/No
If the user select
A quick read on the page:
Unlike other free webhosts we do support PHP and MySQL with no restrictions.
You get full access to the latest version of PHP and MySQL. The following
PHP features are fully supported:
- PHP mail() function and Sendmail
- Curl, GD2 library, XML, Zend, .htaccess sup
Hi there,
What is the best way to go about testing my datasource before building
the MV & C? Should I build a simple MVC that passes everything through
or shall I build the datasource independently and test it on its own?
I am having difficulty understanding how to build the schema for the
datasour
Hi there,
you could also use this behavior:
https://github.com/Theaxiom/Polymorphic2.0
On 29 avr, 17:28, Tan Cheng wrote:
>so there is a HABTM relationship between students and teachers.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new Ca
Hi, I haveing a strange problem that cake is writing 2 statements into
the db I can't really find...
I am doing some ajax stuff, connected with some functions which
redirect to another function, and somewhere inbetween, there are
statements which doing wrong stuff
Is there a way to write ALL s
If you are using security component, turn it off, by not including it
anywhere. It happens when you include it in the wrong place. Also ,
see your homepage view page. Suppose it is /home/page/home.ctp and
type there anything to see if it will render.
On May 2, 11:47 am, jyoti bhandari wrote:
> i
> your application is redirecting in a loop; you find out how/why and
> change your application code. You won't find much regarding it in the
> group as it's a problem in _your_ application code.
>
> try putting $this->log(current url); and $this->log(going to); in the
> redirect function and go fr
On May 3, 6:04 am, thom wrote:
> Hello all,
> I have a problem. Sometimes, I am having 'The page isn't redirecting
> properly' trouble with Firefox and other browser. It's solved by
> clearing the browser history. But, It will appear again next-times
> (not predictable). I've been searching in t
Well I agree it might not be a bug, however, I really don't understand the
need to have execute a find('count) function again to fetch the total number
of rows. I'm not getting into pagination coz I've already built something
and don't have the time now to move on to the cake pagination. I just wan
In case someone is planning or is already using Smarty with CakePHP, I just
finished writing a post on how to enable Smarty Debug Console with CakePHP.
http://blog.anas-mughal.com/?p=28
Hope it is useful... I welcome comments and feedback.
--
Anas Mughal
http://anas-mughal.com
--
Our newest
38 matches
Mail list logo