You using 2.x right?
Don't worry about the yet as its 3.0 specific.
- S
On 15 Jul 2012 11:23, Nvp leh...@gmail.com wrote:
Hi!
It's my first Cake project I have about 5-6 static pages they are served
by the default PagesController.
I have title ?php echo $title_for_layout ? /title in my
This is right. Nowadays almost all (except special-purpose ones) emulate a
gerenic keyboard device.
I have personally coded a barcode generation application in CakePHP, but
the reader part was handled by some Air applications.
Nevertheless barcode readers do just throw the string that they've
The initial setup for each and every detail is required such as putting the
plugin folder to setting the particular parameters in different files. Can
anyone guide or redirect to link.
I have tried http://www.micahcarrick.com/paypal-ipn-with-php.html link also
but it does not tell all the
On Sunday, 22 July 2012 13:17:43 UTC+2, Steve wrote:
This Eagle Plugin was made for a user who is facing problem with
Login/Registration and other issues. It has 56 features. Please don't
concentrate on design, everything is code.
Ok, where is the code then?
Albert
--
Our newest
Yes, that is precisely what I already do. The question is whether the
automagic selection of the language-specific views is available and the
answer, as far as I can see, is no.
On Sunday, 22 July 2012 11:08:29 UTC+2, Piotr Beschel wrote:
So try to check prefered language for user
Hi,
Thanks this works almost perfectly apart from it is not echoing out the
value in the hidden field :S it just leaves it blank, any idea why?
On Sunday, 22 July 2012 19:20:30 UTC+1, cricket wrote:
On Sun, Jul 22, 2012 at 8:19 AM, Guti Grewal gutigre...@gmail.com
wrote:
What I want
After upgrading to 2.2.1 from 2.0.x some of my controller tests are
failing.
It seems as if a mocked Auth component does not survive multiple testAction
calls. Am I doing something wrong here or is this expected?
CandidatesControllerTest.php
public function testExportAdmin() {
$Candidates =
Thanks to you and Mike and Jeremy for responses. Not only do I have
confirmation that I was headed in the right direction, model-wise, with
some examples, but you have prodded me to expand my use of MySQL
constructs. To date I haven't used a VIEW, but it would seem that one big
advantage
Hi,
I write a test case for a controller but i need a user logged to do the
test, i try something like:
public function testIndex()
{
// TEST USER NORMAL
$this-Auth-login(
array(
'user' = 'aa',
Hello all and thanks for reading my topic.
First let me say that I've very new to CakePHP and MVC in general so please
bare with me. I have actually read The Book and found it to be a great
starting point, and the main reason I chose Cake over other PHP MVC
frameworks.
I'm working on a
Not that it matters but the path where I put the google library actually
reads app/Vendor/GoogleAPI/
--
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
I know CakePHP does a lot of stuff for you, but if I setup a CakePHP
installation and create a CRUD app, is that it, or do I have to do anything
else to make sure the platform is secure?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new
Also, I found this on
StackOverflowhttp://stackoverflow.com/questions/8741501/cakephp-oauth-with-google.
But I'm not sure how I would use it.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
I've been working with CakePHP (2.x) for quite a while and I'm loving it.
However, I found some very important aspects covered too briefly in the
documentation. When googling around and asking in other forums, I got mixed
responses, increasing my feeling of uncertainty even more.
I'd like to
Code also available here: http://pastie.org/4308149
My models User and Group share a hasAndBelongsToMany relationship. The
following code create the new user, creates the new group and inserts the
correct entry into the groups_users join table. This tells me, the
relationship is configured
using the security component is an absolute requirement for beginners.
especially due to missing whitelisting in default templates.
besides that you pretty much only need to make sure you don't output
unescaped output - using h($var)
that should take care of most of the basic problems
Am
If i write a test case i want use the test database config without
fixtures, i insert the data manually, i just want to say to my test case
'just use that db with the data and tables already contains'. how can i do
that? fixtures do not work with my datasource, i'm using cassandra.
--
Our
How would I get data for a current view? For example, if I had the page:
http://example.com/view/2
and I wanted to link to:
http://example.com/view/3
How would I do that? I don't use Paginator.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out
I created a component test that modifies and saves a model with HABTM
associated data.
Before I upgraded to CakePHP 2.0, I tried to accomplish this with
unbindModel() all over my code, but wanted to try something a little
cleaner albeit less efficient. I spent hours reading
I've discovered this doesn't happen when i am logged in to the app itself.
I am quite confused.
On Monday, July 23, 2012 10:58:34 AM UTC-4, Dave M. wrote:
After upgrading to 2.2.1 from 2.0.x some of my controller tests are
failing.
It seems as if a mocked Auth component does not survive
use something like $this-Controllername-Session-write() and write
whatever your login is writing to session. Remember you are Unit
testing your controller not your login :-)
HTH
Tarique
On Mon, Jul 23, 2012 at 9:39 PM, Juan Ezquerro LLanes arr...@gmail.com wrote:
Hi,
I write a test case for
Thumbrule - one testAction per test
HTH
Tarique
On Tue, Jul 24, 2012 at 6:14 AM, Dave M. mil...@gmail.com wrote:
I've discovered this doesn't happen when i am logged in to the app itself.
I am quite confused.
On Monday, July 23, 2012 10:58:34 AM UTC-4, Dave M. wrote:
After upgrading to
The site links do not work - can't login as admin to test the site...
Looks cool, but little time to test without working.
On Monday, July 23, 2012 3:30:04 AM UTC-7, Albert 'Tigr' wrote:
On Sunday, 22 July 2012 13:17:43 UTC+2, Steve wrote:
This Eagle Plugin was made for a user who is
23 matches
Mail list logo