I remember seeing a check off list of things to do before making your
app live (ie: set degub to 0). But I cant seem to find it anymore. Can
some one point me in the right direction where this info is.
Thanks!
Clint
--~--~-~--~~~---~--~~
You received this message
number before the find:
$this-Style-recursive = 2;
Or use the Containable behavior as mentioned above.
On May 17, 5:22 pm, justclint justcl...@gmail.com wrote:
Im pulling the data successfully but Im trying to get the name value
as opposed to the id value in a separate table.
When I do
Are you placing the folder upload somewhere in the webroot folder?
If not, you would want to create your upload folder in the webroot
folder. If they are images getting uploaded you might make a folder
structure like:
webroot/img/photos/mediagallery/uploads/
Then your image helper would look
Ok, im not sure what I was doing wrong but it was just as simple as
you mentioned. I just added $this-Product-recursive = 2; and viola,
everything was fetched properly.
Thanks a million!
On May 18, 11:55 am, justclint justcl...@gmail.com wrote:
Hey Faza and Rick thanks for your reply. Yes, I
Im pulling the data successfully but Im trying to get the name value
as opposed to the id value in a separate table.
When I do debug I get this:
(
[Product] = Array
(
[id] = 21
[color_id] = 3
[image_thumb] = aw_ls_black.png
[price] =
My app is working but a couple of my fields are not pulling the data I
want.
I have a table called products and another table called colors. My
colors table has 2 fields, id and name.
When adding the product, you select the color (from drop down menu)
and it will insert the color id into the
Color.name. You're looking in the Product
array. The Color name will be in the Color array.
?php echo $product['Color']['name']; ?
When in doubt, do a debug($this-data) in your view.
On Fri, Apr 3, 2009 at 9:48 PM, justclint justcl...@gmail.com wrote:
My app is working but a couple of my fields
? ;-)
On Fri, Apr 3, 2009 at 10:12 PM, justclint justcl...@gmail.com wrote:
Thanks for the quick response Brian!
When I add:
?php echo $product['Color']['name']; ?
I get error:
Notice (8): Undefined index: Color [APP\views\products\index.ctp,
line 48]
Any suggestions?
Thanks
I forgot to mention, this is the dubug I ran: debug($products,
$showHTML = false, $showFrom = true);
On Apr 3, 8:56 pm, justclint justcl...@gmail.com wrote:
I'd never used the debugger before so I had to do a little reading
first but I ran it and here's the results
, justclint justcl...@gmail.com wrote:
I forgot to mention, this is the dubug I ran: debug($products,
$showHTML = false, $showFrom = true);
On Apr 3, 8:56 pm, justclint justcl...@gmail.com wrote:
I'd never used the debugger before so I had to do a little reading
first but I ran it and here's
No, I dont have any afterFind code.
On Apr 3, 9:29 pm, justclint justcl...@gmail.com wrote:
Thanks Brian, I in regards to the category and other fields, they have
the same issue but I've just deleted them so just to simplify and to
work with one item and then I can repeat whatever
Hey Brian, I just redid another app in the console and somehow someway
doing this: echo $product['Color']['name']; works now.
I really appreciate your help. Thanks so much!
clint
On Apr 3, 9:41 pm, justclint justcl...@gmail.com wrote:
No, I dont have any afterFind code.
On Apr 3, 9:29 pm
(no 's').
Brian, thanks again for all your help!
justclint
On Feb 9, 6:23 pm, brian bally.z...@gmail.com wrote:
You don't need the controller serve PDFs unless you have some reason
to keep them inaccessible to casual browsers and want to use some kind
of authorisation. In that case, you'd
!
justclint
On Feb 8, 10:45 pm, brian bally.z...@gmail.com wrote:
Oh, I thought you meant it was a direct link to the PDF. Which your
link appears to be. But your controller action seems to be trying to
render the PDF. Do you have a route set up for
health_questionaire.pdf to point
and action would be for a pdf file.
How would I use this redirect to show the pdf file?
Thanks!
justclint
On Feb 8, 10:08 pm, mscdex msc...@gmail.com wrote:
Generally if you are manually rendering a view, you should do:
$this-autoRender = false;
If you are trying to get the PDF to show up instead
I was hoping someone could tell me what the best solution is to do
browser detection in cake. Via js or php? Is there a helper for this?
All I need to do is check the browser to see if it is ie 6 or older so
I can send them to an update your browser page.
Ive googled this and Im not finding
Thanks Schreck, I just ended up using a simple js script.
justclint
On Feb 8, 1:24 pm, schrec...@gmail.com wrote:
Its actually better to check for functionality then browser sniffing. If you
need xpath, then test for xpath capabilities.
if you must sniff for a browser, I would do
T_FUNCTION in /
data/15/1/101/96/1753748/user/1895223/htdocs/nf_dev/app/error.php on
line 25
Is there a way to just link to existing pdf files?
Thanks!
justclint
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP
heres a url to the page im working on.
http://www.networkfitness.com/nf_dev/fitness_lab/forms/
You can see that when you click on the download a form link that the
url displays correctly but the page does not render the pdf file.
Thanks!
justclint
On Feb 8, 9:18 pm, brian bally.z...@gmail.com
?
Thanks!
justclint
On Dec 8 2008, 1:28 am, xfhxfh fh...@onefh.com wrote:
... oh nw I got it ... somehow chmod -R didn't do it recursive ... so
I had to hand chmod the dirs ... nows workin, great
thx
--~--~-~--~~~---~--~~
You received this message because you
not be doing
since its, well kinda defeating the purpose of an ACL.
Thanks!
justclint
On Dec 26, 2:42 pm, justclint justcl...@gmail.com wrote:
Well first off, I friggin love cake. I finally got my ACL up and
running last night. So now I'm implementing it over to my already
built site
this
function and checking the table, the table has a bunch of 1's and
-1's. Is this normal or is my table totally jacked?
Your help is much appreciated!
Thanks!
justclint
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I forgot to mention, Im running the new 1.2 stable version and running
php5 and mysql 5.
justclint
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php
. Is it
possible to put subfolders in the controllers forlders or is it
something you should not do or maybe can do based on certain
scenarios.
Thanks!!!
justclint
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP
they followed this tutorial and got it up and running with no problem.
I do acknowledge that it is my level of cake experience (or lack of I
should say) that makes this confusing for me. But any help on this
would be extremely appreciated.
Thank you so much!
justclint
Hi Alexander, well I just couldn't get away from the computer last
night. It was driving me nuts. I found out what my problem was and it
was being caused in my routes.php.
Thanks!
Clint
On Dec 21, 3:12 am, Alexandru Ciobanu ics.cake...@gmail.com wrote:
?
Also, I notice cakephp automatically gives the input name the name of
the label. But say I want my label and input name to be different. How
do I accomplish this?
For example, I would like my label to be Email: (with :) but I dont
want the : in my input name.
Thanks!
justclint
Thanks guys!!! Yeah, just like you gearvOsh, I am working around a pre-
css project. But ideally I do want to use the cakephp format as much
as possible so I will definitely take your Adam on future projects.
But this simple solution is a significant help to me so thanks again!
justclint
: $this-Captcha-protect()
It seems to reside in the add() function (default code) and Ive tried
putting it into the caption function as well as in my form as
directions state above but just cant get it to work.
Any ideas on this one?
Thanks!
justclint
I forgot to add my code.
my controller: the send() is for my email on contact form and the
captcha() and add() are from the component.
Obviously Im trying to get
additional helpful info on the web so any help on getting
this simple send mail function is greatly appreciated.
If supplying a link to the contact form helps, then just let me know
and Ill email it your way.
Thanks guys!
justclint
--~--~-~--~~~---~--~~
You received
cake plugins..
Hope that helps!
On Nov 6, 8:40 am, justclint [EMAIL PROTECTED] wrote:
Hello all, thanks for having this group available for newbies like
myself. I have a pretty basic question that Im having a very difficult
time finding an answer on. I've done google searches, read
/Applicationshttp://cakeforge.org/top/mostactive.php
and try to figure out how they work (with the assumption that you're
already familiar with regular PHP).
Welcome to cake family! ;)
On Nov 6, 4:30 pm, justclint [EMAIL PROTECTED] wrote:
Thank you so much Anja and dr. Hannibal. This helps me very much
Hello all, thanks for having this group available for newbies like
myself. I have a pretty basic question that Im having a very difficult
time finding an answer on. I've done google searches, read the cakephp
manual and I am also reading the book Beginning CakePHP by David
Golding which is a
34 matches
Mail list logo