You can't use sessions, Paypal is talking to your site, not the user.
Once the user leaves for paypal they complete the purchase then paypal
takes over and communicates to your application via a POST to the url
you define. So to get user data I'd suggest passing in what you want
passed back.
For
This isn't a plugin setting, it's a paypal setting. You'll need to
update your paypal profile:
Quick google search resulted:
http://www.warriorforum.com/main-internet-marketing-discussion-forum/2957-paypal-payment-automatic-redirect-issue.html
Hope that helps,
Nick Baker
On Sep 25, 12:38 pm,
The issue you're running into is in the default index view and
controller action you have recursive set to 0 for speed reasons. A
quick fix would be to set that value higher to retrieve comments
associated with posts.
A better solution would be to use the Containable behavior and limit
it to just
$this-Product-id = 40;
$this-Product-saveField('vote', $this-Product-field('vote') + 1);
Nick
On Mar 12, 9:36 am, Krissy Masters naked.cake.ba...@gmail.com
wrote:
$this-Product-updateAll(array('Product.vote'='Product.vote+1'),
array('Product.id'=40));
So we are updating Product ID = 40 where
I like the new book, but I agree it needs a little polish. I've tried
to edit it a few times to add some more information and I was met with
a white screen of death each time. With Chrome and FF. Happened after
requiring login. Then I couldn't get to the book at all without a
white screen. Cleared
Assuming you've asked for the email permission you'll have access to
the authenticated facebook user's email with:
$this-Connect-user('email');
Save into your users database however you see fit.
Example:
if($this-Connect-user('email') !$this-User-field('email')){
Seems obvious, but:
$this-ArosAcos-deleteAll(1);
Treat the join table as an adhoc model and run deleteAll on it.
Nick
On Jan 15, 8:20 pm, roy roy...@gmail.com wrote:
I am writing a function to rehresh permission table in database.
See if there is a function that can clean the records in
Testing is essential for any application you intend on maintaining or
will be passing between developers.
In regards to click testing, sure -- test your app yourself, if you
only do it once you've saved time by not writing the test. But now
lets say you then refactor a bit/add a new feature.
http://book.cakephp.org/view/1030/Complex-Find-Conditions
That should help you, read through how to build complex conditions
with subqueries and build the conditions array described. Once you
have your conditions array just pass it to $this-
paginate($conditions); You should be all set.
Hope
I'm assuming you want an OR -- Dr. Loboto's produce an AND condition.
LIKE plural AND LIKE singular doesn't make a whole lot of sense. You
probably want LIKE plural OR LIKE singular to be found in the
description.
$conditions = array(
'OR' = array(
array('Product.short_description LIKE' =
I use and love jedit. Jedit.org
Great plugin system, can be as simple or advanced as you want it to
be.
On Dec 21, 7:57 am, Kristofer krishop...@gmail.com wrote:
What IDE do people typically use with CakePHP? I've been doing stuff
from the Linux command line using vim for so long. I'd like
Why are you setting NULL as your form model?
Try:
?php echo $form-create('User',
array(
'default' = true,
'inputDefaults' = array(
'label' = false,
The function is extremely simple:
function isAjax() {
return env('HTTP_X_REQUESTED_WITH') === XMLHttpRequest;
}
That's the standard way of checking for an ajax request. In regards
to debugging I'd suggest throwing in some logs, both $_SERVER and when
a successful ajax was accomplished.
That cookbook link you reference is for the Ajax Helper, not the
JsHelper. To my knowledge autocomplete is not supported out of the
box using the JsHelper. But it's simple enough to do on your own.
http://docs.jquery.com/UI/Autocomplete
Nick
On Nov 18, 1:09 am, Louie Miranda
I have to agree with miles, this is a feature I've wanted for a while.
The newest 2.0 milestone has retutning the model reference as apposed
to an array as a toggle feature slated for release. Guess we'll just
have to wait and see. *fingers crossed*
Nick
On Nov 16, 12:09 pm, Jamie
Can you run tests from shell?
$ cd path/to/app
$ cake testsuite app all
Hope that helps,
Nick
On Nov 4, 7:10 pm, Jules fattyju...@gmail.com wrote:
Another update: I can run my unit tests from Opera (but all other
browsers choke). While this is far from ideal, it will do for now.
Still
What AD is saying is the security component is setting $error to an
empty string (in the method header) if it doesn't exist, you are not.
As such when the second argument isn't given in *your* method, instead
of $error being set to '' you'll get a notification.
Hope that helps,
Nick
On Nov 3,
That's really clever AD. I was going to say you can edit all custom
foreign keys in the models and joins and cakephp will play nice, but
creating database views is a pretty slick approach I hadn't thought
of.
Nick
On Nov 3, 8:39 am, AD7six andydawso...@gmail.com wrote:
On Nov 3, 9:32 am, Enno
I agree, you should develop locally and command line access is not
needed remotely. However, it can really come in handy! There are
tons of cheap hosting that allow shell access -- if yours doesn't, I
suggest shopping around.
Nick
On Oct 12, 5:31 am, Jeremy Burns | Class Outfit
Read through the RequestHandler area of the cookbook then head over to
parse extension part of the router section. Lastly take a look at the
XML helper to output your content into xml. You'll get a good head
start on all you'll need to do to accomplish this.
More info please. At least give a link to the bakery article you
tried to give us a clue what you're trying to do.
Nick
On Sep 28, 4:52 am, james jamesliv...@googlemail.com wrote:
Are there any up to date reporting components for cake? I tried to add
the one from the bakery but had loads of
This happens when you have $this-data['ModelAlias']['id'] set in your
$this-data. If the id is present the helper assumes you're
preforming an edit and as such appends the ID to the url as that is
the default baked behavior (to receive an ID on edit/delete). To
turn this off, make sure to unset
Is it safe to have the cake folder exposed? It's safe, but rather
unprofessional.
I'd be more worried that the root of your client's account is
accessible more than the cake library.
Nick
On Sep 27, 3:03 am, jbgillet john.michael.fitzger...@gmail.com
wrote:
Hi Guys,
Just wondering how
Hi Foroct,
So the way gigya works is when logging in Gigya's server handles the
authentication and saves a local UUID for that person, Upon a
successful gigya login, gigya will send the user as a _GET request
back to the url you choose. It is then up to you how to handle
that. The plugin
Shameless plug: I've written a fairly comprehensive plugin to
interface with Facebook. At the very least it can give you a few
ideas on how to implement it.
Blog Article:
http://www.webtechnick.com/blogs/view/229/CakePHP_Facebook_Plugin_Auth_Facebook_and_more
See it in action here:
Indeed, Miles J is correct.
On Sep 24, 1:21 pm, Miles J mileswjohn...@gmail.com wrote:
I'm not sure thats how Auth works, it only accepts actions:
// In books controller
$this-Auth-allow('index');
// In users controller
$this-Auth-allow('collection', 'register');
On Sep 24, 11:32 am,
I use and enjoy jedit. Multiplatform, tons of plugins, full IDE with
just a handfull of plugins or keep it streamlined. It takes a little
settup, but ill never go back to anything else.
Nick
On Sep 19, 8:44 am, dhiraj ray dhiraj.r...@gmail.com wrote:
i'm new in cake php. i want to know which
You're mistaken.
While i agree its overkill using the helper for basic markup,
performxe wise its negligible at worse, no difference at best. This
is because you are already loading php as a module, youre already
loading the html helper and your ctp is being parsed through the php
interpreter.
I do something like this:
function isAuthorized() {
if (strpos($this-action,admin) !== false){
return $this-isAdmin();
}
if (strpos($this-action,clerk) !== false){
return $this-isClerkOrAdmin();
}
return true;
}
My isAdmin() and isClerkOrAdmin() functions look at various
?
On Sep 13, 11:52 pm, nurvzy nur...@gmail.com wrote:
If you use lazy_loading you can get past this, only unit test what
each model will actually use, instead of having to load all fixtures
for each because of the default model chaining behavior required for
PHP4 support.
An alternative
!
On Wed, Sep 15, 2010 at 6:06 PM, nurvzy nur...@gmail.com wrote:
Fixtures in WebTestCase?
http://book.cakephp.org/view/1219/Web-testing-Testing-views#About-Cak...
Short answer: Nope.
Long answer: Eventhough you can't use fixtures, you can still make
your app use a secondary database
Can you test from shell?
$ cd path/to/app
$ cake testsuite app case models/airline
On Sep 15, 5:24 am, web developer iprat...@gmail.com wrote:
I am using cakephp 1.2 and would like to know how to do/use testing in
cakephp.I went through book.cakephp.org on testing (till model
testing). I hit
CakeTestCase, it seems that the fixtures
did not get inherited by the model test file.
On Sep 13, 11:52 pm, nurvzy nur...@gmail.com wrote:
If you use lazy_loading you can get past this, only unit test what
each model will actually use, instead of having to load all fixtures
for each because
Fixtures in WebTestCase?
http://book.cakephp.org/view/1219/Web-testing-Testing-views#About-CakeWebTestCase-1220
Short answer: Nope.
Long answer: Eventhough you can't use fixtures, you can still make
your app use a secondary database instead of your production one.
This is not a CakePHP
If you use lazy_loading you can get past this, only unit test what
each model will actually use, instead of having to load all fixtures
for each because of the default model chaining behavior required for
PHP4 support.
An alternative I've found useful prior to lazy_loading was creating a
BaseCase
http://www.webtechnick.com/blog
I wrote mine from scratch with CakePHP, but I'm a DIY kind of guy.
It's kind of an even split between the CakePHP bloggers I respect and
follow. I know Matt Curry (http://www.pseudocoder.com/) uses Croogo
(http://croogo.org/) which is a CakePHP CMS but started
$html-link() works just fine in 1.3. Migration to 1.3 from 1.2 is
fairily painless. follow the migration guide and you'll be done within
an hour. It's well worth it, the flushed out plugin system is all
win.
http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3
Hope that helps,
It takes a little effort to setup your environment to get all the
cakephp core tests to pass. Not a lot of effort but certainly worth
mentioning. I believe there is documentation on lighthouse that lists
all the things one needs to do to get their environment setup to run
all the core tests.
Hi Dave,
Thanks for using my plugin. The plugin takes advantage of the new
HtmlHelper::scriptBlock method that is new in 1.3.x. Make sure you're
running the latest version of CakePHP 1.3.
Hope that helps,
Nick
On Sep 6, 3:11 pm, Dave Maharaj m...@davemaharaj.com wrote:
I am using the
Hmm, I actually thought the idea behind the underscores was to provide
a sudo protected/private flags for PHP4. One underscore means
protected, two means private. While there is nothing in PHP4 that
prohibiting one to use a function with __ or _ prefix, it is
universally frowned upon as you're
No clue, I suggest firebugging it. Start turning off css bits until
you find the culprit. Also make sure you don't gave some rogue
javascript setting it to hide. A quick test would be turning off
javascript and refreshing.
Hope that helps,
Nick
On Aug 18, 8:48 am, Charles Bueche
Your welcome. :)
On Jul 30, 5:32 pm, Tomatosoup wiegersteenhui...@gmail.com wrote:
A bit late though, but thanks!
On 11 jul, 03:48, nurvzy nur...@gmail.com wrote:
Set the security component to not validate that field.
http://book.cakephp.org/view/1297/Configuration
Hope that helps
I agree, it does feel soon, but hopefully this will push [serious]
hosting companies to upgrade their PHP installs to 5.3.x, which is a
good thing IMHO.
On Jul 26, 5:19 pm, cricket zijn.digi...@gmail.com wrote:
On Mon, Jul 26, 2010 at 8:21 AM, keymaster ad...@optionosophy.com wrote:
I saw this
Can you get it to work with just one recipient? Because my first
question is if you (or your host) has setup sendmail properly. You
can always use a SMTP server to send your mail which is usually
recommended for bulk email anyway.
Nick
On Jul 13, 9:27 pm, googong gong...@gmail.com wrote:
Hi
Use a mixture of:
fields option key (so you're not retrieving data you don't intend to
use),
containable (so you're not selecting associative models and their
fields you don't care about),
and set recursive = -1 in your app_model.php
The first thing I do whenever I start any new CakePHP project
Ok, so the issue here is you're still thinking about your website/app
as a basic procedural script. Which isn't that hard to do, as that is
kind of the life cycle of a standard HTTP request. However, the trick
here is to stop thinking about your website as your basic php
procedural script, and
On Jul 5, 9:44 pm, nurvzy nur...@gmail.com wrote:
Hi,
Well that looks A-OK to me. Error code 0 is a good thing. So the
issue it is not being saved to the file system or that it's not in the
directory you expected it to be? Different upload directories is not
officially supported yet
This was an issue I ran into while doing an ajax shopping cart. The
form element that is returned via AJAX needs to have echo $js-
writeBuffer() in it as well. Alternatively, you can specify that the
jshelper not buffer the javascript and instead output it as you call
it (AjaxHelper style).
Set the security component to not validate that field.
http://book.cakephp.org/view/1297/Configuration
Hope that helps,
Nick
On Jul 10, 1:28 pm, Tomatosoup wiegersteenhui...@gmail.com wrote:
Hello,
I use the Security component, but one (kind of custom) form gets
invalidated.
Is there some
Indeed, the error is because you have $this-Post-edit($id); in your
controller. If the method name is not found cake sends the method
name as an SQL query by default. Simply remove that line and you
should be all set.
I encourage you to make sure you type in your controller code as it's
laid
As far as I know you can't set the default input options at the
constructor level. Although I haven't dug into the code in a while to
make sure of that. If I'm wrong, someone will correct me.
You can go the MyFormHelper class route, which may be the *best*
option IMHO. Just overwrite the
It's possible what you meant to do was this:
$this-Post-id = $id;
Because you're doing a blind read() after the fact. If you're going
to remove that line you'll need to be sure to pass in the id to read()
like so:
$this-Post-read(null, $id);
Hope that helps,
Nick
On Jul 9, 11:25 pm, nurvzy
That's a good idea, although the JavascriptHelper is deprecated now.
As such, I would put in a feature request for the JsHelper via
lighthouse.
Nick
On Jul 9, 1:05 pm, Geoff Oliver me4t...@gmail.com wrote:
Hello,
I've been working with Cake for a few years and I really like it.
Lately, I've
Show me where it says findByx is depecated.
Nick
On Jul 7, 3:21 am, euromark dereurom...@googlemail.com wrote:
but thats deprecated, sam!
u should always use the generic find(type, options)
where options contains conditions:
e.g.
find('first',
If its possible in PHP, its possible in CakePHP. I suggest going
through the blog and ACL tutorial to help get you started:
http://book.cakephp.org/view/1527/Tutorials-Examples
On Jul 6, 7:47 pm, maxarbos maxar...@yahoo.com wrote:
I am just getting into learning about cake and wanted to know
$form-create('Member', array('url' = array('admin' = false,
'controller' = 'members', 'action' = 'region'), 'type' = 'get'));
That should get you what you want,
Nick
On Jul 5, 12:09 pm, cricket zijn.digi...@gmail.com wrote:
What's the proper way to say 'admin' = 0 for a form? I tried:
Hi Bradmax,
First, thanks for using the plugin. Sorry to hear of your
troubles. Is your ad model the only model that is using actsAs
configuration, (ie the rest using the component?). Would you mind
showing me how you have it (and the working models) configured?
Thanks,
Nick
On Jul 5,
' = true //filenames will overwrite existing files
of the same name. (default true)
//'fileNameFunction' = 'sha1' //execute the Sha1 function
on a filename before saving it (default false)
)
);
took out validation for now - no relations.
On Jul 5, 6:10 pm, nurvzy
] = outtamustard.jpg
[type] = image/jpeg
[tmp_name] = /tmp/phpubfDP3
[error] = 0
[size] = 48661
)
)
)
On Jul 5, 6:44 pm, nurvzy nur...@gmail.com wrote:
Ok. Thanks for sharing that, I don't
I fail to see the benefit in that extra overhead, when you can just
use:
$this-Form-input('Model.id');
The default input will be hidden and if you're using the Security
Component (as you should!) it will be protected from tampering. That
way the ID of the editable record is within $this-data,
Anything is possible. However, you'll run into major problem early.
The point in which you tell cake where the core files are is before
the router even touches the url/uri (webroot/index.php). As such,
you're on your own for figuring out what controller/action pair is
being requested and then
I'm a fan of http://www.downtownhost.com.
On Jun 28, 1:27 am, saavedrajj saavedr...@gmail.com wrote:
I'm tired about Godaddy.com I want to change all my projects to a full
compatible CakePHP hosting server.
Please recommend me one without problems with subdomains, installing
another php
Hi Marc,
First I'd like to thank you for taking the time to submit your
article. I've seen and posted feedback on your original article. I
see you've posted the same article again. I respectfully ask that in
the future you do not post duplicate articles in the bakery, as all it
does is cause
emails witht the current
status after giving feedback etc
so that the author is informed about it
On 13 Jun., 08:44, nurvzy nur...@gmail.com wrote:
Hi Marc,
First I'd like to thank you for taking the time to submit your
article. I've seen and posted feedback on your original article
You convert private to protected and then create a test class extend
the model/controller you want to test, letting your extended model
call parent::method and return its value.
HTH,
Nick
On Jun 13, 5:15 pm, euromark dereurom...@googlemail.com wrote:
some of my classes are already php5 like
hahaha, sorry to laugh but that's actually pretty funny. You have to
set the keys as the column names and the values are the actual field
values. Because you have a one dimensional array cake is using the
numeric index as the column name.
Even though you're importing the schema, you still have
This plugin has apparently reached the ears of Gigya, and has produced
a little buzz.
I actually got a phone call from the president of gigya. He was
impressed with the plugin and wanted to talk about my impressions of
Gigya. We spoke for a while, and we ended up talking about pricing as
I
I've developed a Paypal IPN plugin for CakePHP you're free to use or
at the very least use as a template for your own integration.
http://www.webtechnick.com/blogs/view/218/CakePHP_Paypal_IPN_Plugin
I hope it helps,
Nick
On Jun 1, 12:21 pm, calvin cal...@rottenrecords.com wrote:
I'm not
I definitely plan on attending. Chicago is a ways but I have family
near there. Looking forward to some CakeFest!
On May 30, 11:32 pm, Graham Weldon predomin...@gmail.com wrote:
The website for CakeFest 2010 has just been launched.
http://cakefest.org
You can now signup if you are
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.
Over the course of the last few weeks/months, I've been developing a
complete social network plugin for CakePHP. The plugin takes advantage
of Gigya, a free social network service that gives a developer a
single API to interface with multiple social networks, including
Facebook, Twitter, Linkedin,
http://book.cakephp.org/view/44/CakePHP-Core-Configuration-Variables
Look at App.baseUrl configuration.
Hope that helps,
Nick
On May 26, 2:55 am, Prof. No Time libertylivingst...@gmail.com
wrote:
Good day,
I need to install cakePHP on a server that does not support .htaccess
files:
Hi Matt,
That's actually my article and I have since made substantial
improvements and converted it into a full featured plugin. In the
most recent release of the file upload plugin you'll be able to
configure the plugin to overwrite uploads with the same name instead
of the plugin detecting
Hi Jules,
Where are you storing your js files and how are you calling them?
Nick
On May 25, 1:49 pm, Jules julian.pick...@googlemail.com wrote:
Installed CakePHP 1.3, all working fine css file being found but as
soon as I try to add a js file I get a missing JsController error. I
can't
How are you calling it in the shell? Keep in mind the Email Component
will need access to a controller if you plan on setting variables to
give to the view template. Which may be why you're seeing the strange
results via shell.
Nick
On Apr 26, 5:05 am, weckmann bertram.weckm...@docu.ch wrote:
I think you may be talking about my plugin:
http://www.webtechnick.com/wtn/blogs/view/229/CakePHP_Facebook_Plugin_Auth_Facebook_and_more
I saw your comment regarding this issue, and am not sure how to
advise. Unfortunately it works as advertised on my demo app
http://facebook.webtechnick.com as
Yes.
On Apr 20, 9:28 pm, kani infok...@gmail.com wrote:
$this-Model-Model-Model-Save();
Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
I agree with John Andersen, you should use the counterCache in this
situation, but to answer your question -- how do you preform a count
in CakePHP from a hasMany relationship -- you get a count like this:
//in a events_controller.php within
function view($id){
$attendants_count =
Also be sure your assets are in /plugin/webroot/css as that is now
where cake 1.3 expects to find css assets for a plugin.
Hope that helps,
Nick
On Apr 11, 1:20 pm, Jeremy Burns jeremybu...@me.com wrote:
Try $this-Html
Jeremy Burns
jeremybu...@me.com
On 11 Apr 2010, at 15:30, Rebel wrote:
I'm a fan of phpdoc. Simple to use and customize. Produces standard
documentation for anyone familiar with APIs.
http://www.phpdoc.org/
On Apr 10, 1:33 pm, mivogt-LU c...@mivogt.net wrote:
hi there,
I did my first cake project so far and it works (well - most of it...)
Now I want to do some
@predominant I'd be happy to help out as moderator, developer, or
both. Wherever I'm more useful.
-Nick
@WebTechNick
http://www.webtechnick.com
On Apr 9, 9:03 pm, Predominant predomin...@gmail.com wrote:
Hey all,
Rest assured, we're discussing this problem within the development
team to
I do something similar, except I keep my cake libraries out of
public_html, and you should as well.
Do you have the .htaccess files setup correctly in site1? What I
ended up doing was the same type of setup (except I move my cake core
out of public_html), but then addon domains rooted at the
Might as well add my plugin to the list as well. CakePHP
FileUploadPlugin Comes with a component, behavior, and helper. The
helper can/will resize and cache images on the fly for you.
http://www.webtechnick.com/blogs/view/221/CakePHP_File_Upload_Plugin
-Nick
On Apr 8, 11:14 am, Miles J
The blank comment email notifications are annoying, until I redirected
them to my gmail account. Gmail pulls them in just find. just FYI.
If I used any other email client, Evolution/Outlook/etc.. they would
all be blank.
The Bakery has its uses, and I like the idea behind it; a single
place
If you're running into memory errors because your model relations are
too deep, you might try Lazy Loader
http://github.com/mcurry/lazy_loader
CakePHP loads each model association along with that model's
association etc, so you can do some pretty slick model chaining
stuff. Due to restrictions
it looks like bases is the root of your app. If you want the root of
your app (routed by routes.php) use this url:
http://localhost/bases/
If you want the posts index try this instead:
http://localhost/bases/posts/index
Hope that helps,
Nick
On Apr 2, 1:26 am, andresgi xandr...@gmail.com
You're title is misleading. You say methods aren't being inherited
by AppController, which implies you've defined methods higher up in
the chain from AppController, and you're unable to call them from
AppController. I assume you meant, Methods not being inherited FROM
AppController.
If you
http://cakedc.com/eng/team
That might be a good place to start.
Nick
On Apr 1, 9:42 am, Julian Salas juliansa...@gmail.com wrote:
I need information about the beginning of this framework, for example, the
year of creating, and how as the proyect began?
Thanks you for your quick reply.
http://github.com/blog/626-announcing-svn-support
I thought this was an April Fools joke but it actually works! Try it
yourself:
svn checkout http://svn.github.com/cakephp/cakephp1x.git
Finally, I can use SVN to keep up to date with CakePHP again, because
my host doesn't allow GIT.
$Model-Learning-name;
Hope that helps,
Nick
On Mar 27, 11:59 pm, Saleh Souzanchi saleh.souzan...@gmail.com
wrote:
hi pleas help me to find model name :
class Learning extends AppModel{
var $name = 'Learning';
var $belongsTo = array(
'Cat' = array(
'className' =
Why are you using ?var1=$hiddenFieldId? Why not just use:
'url' = '/purchases/addGuestToTable/'.
$hiddenFieldId.'/'.draggedid.element.id
Then in your purchases controller:
function addGuestToTable($hiddenFieldId, $draggedId){
//Do what you want.
}
Hope that helps,
Nick
On Mar 26, 5:08 am,
isAuthorized() is only called if the action is not already allowed
$this-Auth-allow('action_name'). In the controller you want to lock
down do you have something along the lines of $this-Auth-allow('*')
in your beforeFilter?
Hope that helps,
Nick
On Mar 26, 1:45 pm, cricket
I'm not 100% sure I know what you're asking. You do or don't want
your facebook user's to be admins? I'm assuming don't but your app is
forcing them into an admin role because you base who's admin and who
isn't off the user id? Am I getting that right?
So short answer; yes, you can do whatever
were
saying. :P)
On Mar 22, 10:23 pm, nurvzy nur...@gmail.com wrote:
Whops... boostrap.php = bootstrap.php
Just incase you were confused. lol
Nick
On Mar 22, 9:21 pm, nurvzy nur...@gmail.com wrote:
Put it in app/config/boostrap.php
You'll have access to it throughout
I happen to agree that __() shouldn't echo by default. In fact, I'd
argue it shouldn't echo at all.
Taking a queue from CakePHP1.3 The SessionHelper no longer auto echos
(it was the only Helper that echo'd its results). I think that's a
good philosophy to follow going forward.
However I
$button-makeButton(); not just make makeButton();
Nick
On Mar 23, 9:49 pm, Ed Propsner crotchf...@gmail.com wrote:
Can someone get me straightened out with helpers?
I created a new file called Button.php and placed it in views\helpers.
class ButtonHelper extends AppHelper
{
function
@Dr. Loboto That's incorrect.
Miles J is correct about the controller, but further more:
DB table: user_details
Model class: UserDetail
Model name: UserDetail
Model file: user_detail.php
Controller class: UserDetailsController
Controller name: UserDetails
Controller class:
That's really a javascript thing more than a CakePHP thing. A few
years back I had a client who wanted the same type of thing. I ended
up writing a nice little prototype-js class that I could use whenever
I needed by just passing in the two select list ids in.
Unfortunately, it was for a rather
Found one:
http://gsgd.co.uk/sandbox/jquery/picklists/
Nick
On Mar 22, 9:04 pm, nurvzy nur...@gmail.com wrote:
That's really a javascript thing more than a CakePHP thing. A few
years back I had a client who wanted the same type of thing. I ended
up writing a nice little prototype-js class
Put it in app/config/boostrap.php
You'll have access to it throughout your app.
Nick
On Mar 22, 8:06 pm, xtraorange xtraora...@gmail.com wrote:
That's actually exactly what I was just thinking of doing, lol.
Thanks!
The only thing I can't find... where am I supposed to place a function
that
1 - 100 of 167 matches
Mail list logo