Question [cakephp, model, virtualfields, mysql]

2014-05-05 Thread Jeff Caspian
Hi all. I have a cakephp application with 3 tables, purchase_items, sale_items, stocks. the schemas of the 3 tables are something like this: stocks: id. name purchase_items: id, stock_id, quantity, price sale_items: id, stock_id, quantity, price I wanted to query the available stocks, categorize

Can't get started with Console

2014-04-17 Thread Jeff Riedl
5.googleusercontent.com/-x7b5RR7Vbho/U06SaZR5xrI/AKY/JNGxuGLjqww/s1600/CantBake.png> Anyone? Thanks for whatever helpful info you can offer! Jeff -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message beca

Tree Based Permissions

2013-05-20 Thread Jeff Smith
I want to be able to control access to items. The items will be organized via a tree. I want to be able to give permission to various branches of the item tree to groups who will also be organized in a tree. I took a look at the built in ACL method but it looks like it is limits to restricti

Re: PDO Error on new installation

2013-01-12 Thread Jeff C
, 2013 at 9:41 AM, Jeff C > > > wrote: > > I've just installed Cake and tried running the default index.php, after > > taking care of a few missing directories I received the following Error > > Message. > > > > Error: Class 'PDO' not foun

PDO Error on new installation

2013-01-12 Thread Jeff C
the PHP set up using phpinfo() and I can see that the ./configure command use --disable-pdo I assume this is why I get the error above. Any suggestions on how I can get PDO working? Thanks for any help Jeff -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.c

Re: Restrict access subFolder under webroot.

2012-12-21 Thread Jeff Smith
If the sub folder is displaying all the files when they go to the sub-folder's address then you would want to put in a directory index that redirects them elsewhere but that is more of a server issue than a cake issue. On Wednesday, December 12, 2012 5:05:38 PM UTC-7, tim wrote: > > Hi Rajib, >

autopopulating fields

2012-11-28 Thread Jeff Smith
I am working on a site to help me (and hopefully others) learn Japanese kanjis. The site is located at http://galacticcartel/kanjis (temporary url). I want to make it so when I am viewing a kanji (example http://www.galacticcartel.com/kanjis/view/1) and I click New example I would like the

Re: Tab index

2012-11-18 Thread Jeff Couturier
This is a really old post, but just in case anyone else is searching and finds this (like I did)... Here's how you add *tabindex* with the Form Helper: $this->Form->input('foo', array(*'tabindex' => '1'*, [other options...])); $this->Form->input('bar', array(*'tabindex' => '2'*, [other options..

unlink error from FileEngine when many requests happen frequently

2012-10-30 Thread Jeff
I get an error like: warning: unlink(/.../tmp/cache/models/myapp_cake_model_default_something): No such file or directory in /.../lib/Cake/Cache/Engine/FileEngine.php on line 247 This happen when I have 3 JSON requests happen at close to the same time. My guess is that the cache has removed th

Re: Database scheme question...

2012-09-17 Thread Jeff Prater
27;Manager' => array( > 'className'=> 'User', > 'foreignKey' => 'manager_user_id' > ), > 'Contact' => array( > 'className'=> 'User', > 'foreignKey' => 'contact_us

Database scheme question...

2012-09-15 Thread Jeff Prater
I'm getting started with v2.2. I'm trying to layout my database, but I'm unsure how to handle the naming conventions. I have a main table, firms, which stores all the companies/firms For each firm, I want to designate a managing user and contact user from the users table. I need to associate a

ave does not work properly

2012-06-01 Thread Jeff Huang
I already sent two days tried to solve this problem but havent found out the solution. Basically the problem is, when I followed the Blog tutorial on CakePHP cookbook, my add() action didn't actually insert "title" and "body" from the add.ctp view to the "posts" database. Other fields like "created

Re: CakePHP 2 - single core with two applications, one inside the other

2012-01-06 Thread Jeff C
Perfect. Thank you very much. -- 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+unsub

CakePHP 2 - single core with two applications, one inside the other

2012-01-06 Thread Jeff C
I'm fairly new to CakePHP and am trying to setup a custom admin area for my app. I realize Cake can create an admin area with scaffolding[1] but I'd like to build something much more customized, and have it accessible from via /admin/, with one app for the public side and another for the admin. Id

Re: Unique pairs in HABTM validation

2011-04-12 Thread Jeff
st the IDs it already starts to make > sense :) > > On 12 Apr., 02:29, Jeff wrote: > > > > > I'm trying to set up validation in a join table to check that a pair > > of fields is unique in the table.  Currently the join model is being > > created automagicall

HABTM isUnique validation throws error on join model

2011-04-12 Thread Jeff
I've got an odd problem. I have tables/models names and projects with join table names_projects. I have an isUnique rule on the name field in the names table so that I don't have repeat entries. When I perform my saveAll with a new name and the validation in place I get the error: Notice (8): U

Unique pairs in HABTM validation

2011-04-12 Thread Jeff
I'm trying to set up validation in a join table to check that a pair of fields is unique in the table. Currently the join model is being created automagically between the HABTM tables. Can I create a join model and define the validation there? Would it make more sense to break the HABTM up into

Need User Management/Authentication Suggestions

2010-11-04 Thread Jeff T
. I'm using 1.3.5. My needs are to create and manage users with an admin console and then have users log in and have access to specific controllers. I don't need user registeration, reset passwords or anything like that. thank you. Jeff Check out the new CakePHP Questions site http://cake

Re: CakePHP Parameter Manipulation

2010-11-04 Thread Jeff T
It was highly effective, simple and nice for situations where you didn't want a user to have to login first - just as updating a record by clicking on a link in an email. Thanks for your help and time. Jeff On Nov 4, 9:58 am, WebbedIT wrote: > Hi Jeff, and congrats on diving into the world

CakePHP Parameter Manipulation

2010-11-04 Thread Jeff T
nstead of record set IDs long 32 character codes to prevent this. Can that be accomplished with Cake? thanks, Jeff Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Goo

Re: cakephp 1.3.5 and jquery - what am i missing?

2010-11-01 Thread Jeff T
Thank you Cricket and Tilen. I got it working! Jeff On Oct 30, 8:00 pm, cricket wrote: > On Sat, Oct 30, 2010 at 1:10 PM, Jeff T wrote: > > Hi All, > > > I'm new to cakephp and it's clear there's something very basic that > > I'm missing.  I&#x

cakephp 1.3.5 and jquery - what am i missing?

2010-10-30 Thread Jeff T
my page_controller.php found at /vars/www/cake/libs/ controller/pages_controller.php var $helpers = array('Html', 'Ajax', 'Session', 'Form', 'Html', 'Javascript', 'Time'); Thank you and I hope someone can help me with this. Jeff Check o

Re: 15 Minute Blog Tutorial - not quite 15 minutes

2010-10-10 Thread Jeff
Thanks Joni - working MUCH better now! Jeff On Oct 10, 3:11 pm, jsalonen wrote: > The URL you should access ishttp://click-2-run.com/cakephp/app/posts/index > - without .php file name extension. > > In CakePHP you're accessing actions defined in controller, not files. > F

Re: Is this a do-able Cake project?

2010-10-10 Thread Jeff
g) to work my way through before I can start cookin' with much proficiency. Jeff On Oct 10, 6:01 pm, cricket wrote: > On Sun, Oct 10, 2010 at 1:21 PM, Jeff wrote: > > Thanks Renato, > > > After posting this question (before your reply) I _did_ see that > > wizard compon

Re: 15 minute Blog Tutorial? Really?

2010-10-10 Thread Jeff
Fran - Gracias, esta perfecto! (SP?) Jeff On Oct 10, 4:02 pm, Fran Iglesias wrote: > Hi Jeff > El 10/10/2010, a las 22:58, Jeff escribió: > > > Debug already IS '2' > > >http://click-2-run.com/cakephp/posts/index.php > > Try > > http://click

Re: 15 minute Blog Tutorial? Really?

2010-10-10 Thread Jeff
n > there > > > > On Sun, Oct 10, 2010 at 4:20 PM, Jeff wrote: > > I'm not trying to be argumentative here ... but we're already beyond > > my tolerance for 'extra stuff' (kabuki dance).  Mod-rewrite (I now > > recall reading about this previo

Re: 15 minute Blog Tutorial? Really?

2010-10-10 Thread Jeff
ty strait forward and most cases you > don't need to alter it, most of your work will be jumping between 3 folders > (controllers, models, and views) contained inside the app folder, trust me, > no need for kabuki dance :-) > > > > On Sun, Oct 10, 2010 at 4:04 PM, Jeff w

Re: 15 minute Blog Tutorial? Really?

2010-10-10 Thread Jeff
rote: > > what is the name of your index view file? > > > i think u have named it index.php.ctp, but its index.ctp only... > > > try to check this... > > > -- > > Renato de Freitas Freire > > ren...@morfer.org > > > On Sun, Oct 10, 2010 at 4:37

Re: 15 minute Blog Tutorial? Really?

2010-10-10 Thread Jeff
x.php.ctp, but its index.ctp only... > > try to check this... > > -- > Renato de Freitas Freire > ren...@morfer.org > > > > On Sun, Oct 10, 2010 at 4:37 PM, Jeff wrote: > > Not sure why, but I'm the lucky guy that gets to spend WA more > > than 15 min

15 Minute Blog Tutorial - not quite 15 minutes

2010-10-10 Thread Jeff
Not sure why, but I'm the lucky guy that gets to spend WA more than 15 minutes on a 'simple' demo. Admittedly I'm a noob, but one would think that something this basic should work. I dutifully copied and pasted the code from the tutorial examples in to php files and uploaded them to my webser

15 minute Blog Tutorial? Really?

2010-10-10 Thread Jeff
Not sure why, but I'm the lucky guy that gets to spend WA more than 15 minutes on a 'simple' demo. Admittedly I'm a noob, but one would think that something this basic should work. I dutifully copied and pasted the code from the tutorial examples in to php files and uploaded them to my webser

Re: Is this a do-able Cake project?

2010-10-10 Thread Jeff
me to do and I have made sure it's all uploaded. Argh - not a good start. Jeff On Oct 10, 11:15 am, Renato de Freitas Freire wrote: > Its totally possible. > > There is a component for cakephp named wizard. > Just look for it in google. > Its very easy to use and it let you

Is this a do-able Cake project?

2010-10-10 Thread Jeff
I am totally new to Cake and am seeking a tool that will help me develop a rather 'hefty' project. This project would be a multi-step form wizard to accept reservations for events. A form for site visitor (name, address, etc), a consent agreement page, a form for activities (time, day, level of e

Google Groups Related: Receiving Thread Activity Notifications

2010-06-14 Thread Jeff
ved in. Google Groups seems to be somewhat anemic in its options Can someone point me in the right direction? Thanks, Jeff Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to th

Re: Getting .htpasswd protection to work

2010-06-14 Thread Jeff
keep that "echo __FILE__;" trick in my book though. Thanks. Jeff On Jun 2, 12:10 am, Andy Dirnberger wrote: > While that may be your FTP user's full path, it most likely isn't your > server's full path. Try putting a file in webroot with the line: > echo __FILE__

Re: Getting .htpasswd protection to work

2010-06-01 Thread Jeff
> > On May 12, 11:17 pm, Jeff wrote: > > > > > > > Hi, I have the following in my /app/webroot/.htaccess file, as well as > > a matching .htpasswd file in the correct directory per multiple online > > how-to's, but my password protection is no

Getting .htpasswd protection to work

2010-05-12 Thread Jeff
Hi, I have the following in my /app/webroot/.htaccess file, as well as a matching .htpasswd file in the correct directory per multiple online how-to's, but my password protection is not working. Can someone tell me what I am doing wrong? /app/webroot/.htaccess AuthUserFile /app/.htpasswd

Multi-page Surveys

2010-03-29 Thread Jeff Winifred
I'm trying to create a multi-page survey, and kind of unsure which route or direction to go, can someone point me in the right direction? Here is what I'm looking for: ** 2 types of questions, single choice and multiple choice. ** 1 question, per-page. ** It would be really nice if there was a way

Re: htaccess help

2010-02-03 Thread Jeff Deroshia
)) { define('CAKE_CORE_INCLUDE_PATH', DS . 'path' . DS . 'to' . DS . 'core' ); } in each of your apps. The rest will be handled fine. You can break your app directory out of the server document path as well by modifying the appropriate lines. See http://boo

Re: Related lists, polymorphic habtm? (fao: AD7six ;))

2010-02-03 Thread Jeff Deroshia
rray('Message.reference_model' => 'Invoice'), 'fields' => '', 'order' => '' ), 'Product' => array( 'className' => 'Product', 'foreignKey' => 'reference_id', 'conditions

Re: help for installing cakephp in a linux public_html directory!!!

2010-02-03 Thread Jeff Deroshia
You can't rewrite in userDir directories, since they are already rewritten: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html On Wed, Feb 3, 2010 at 9:20 AM, cherif_Gsoul wrote: > hi, i need help for installing cakephp in a linux's public_html > directory exactly fedora 12, i put cakephp in

Re: Ajax reload of an element from a call within the element itself

2009-12-19 Thread Jeff Deroshia
is rendering a view, but the jquery $.post() function isn't doing anything with the returned view markup. Jeff On Sat, Dec 19, 2009 at 1:52 PM, Laurent Kretz wrote: > Hi all ! > > I'm trying to reload an element inside a view, and having troubles... > I read the two follow

Re: Running the action twice?

2009-12-10 Thread Jeff Deroshia
ethod assigned to the action I was testing in. Other than that, I don't know why the index action was called twice. Jeff On Thu, Dec 10, 2009 at 12:24 PM, Dr. Loboto wrote: > You can check is it "internal redirect" (like requestAction) or actual > one by checking HTTP reque

Re: How use AUTH for two sections (admin eshop, client admin)

2009-11-30 Thread Jeff Deroshia
The same filtering can be done in the isAuthorized method. Of course, you can have more than two realms as long as each additional one is associated with a prefix. http://book.cakephp.org/view/544/Prefix-Routing Jeff On Mon, Nov 30, 2009 at 5:36 PM, Piotr Kilczuk wrote: > Hi Petr, > >

Re: Self-Join a Model

2009-11-14 Thread Jeff Deroshia
You have a name collision for starters. The class Topic has the name Topic, and its Associations have the same name. You can try changing the aliases like hasMany ChildTopic and belongsTo ParentTopic. Just make sure to keep the className as Topic. Jeff On Sat, Nov 14, 2009 at 1:22 PM

Re: How and when to use the root vendor folder

2009-11-13 Thread Jeff Deroshia
You will need to use App::import to make those files available. You can load mvc and vendor code in from anywhere as well by creating some arrays in config/bootstrap.php if your app shares code with others. See http://book.cakephp.org/view/36/Additional-Class-Paths Jeff On Mon, Nov 9, 2009 at

Re: CakeFest IV - America - Help us pick a location!

2009-11-13 Thread Jeff Deroshia
If we are voing in the thread, I choose USA East Cost. If not, where do we vote? Jeff On Thu, Nov 12, 2009 at 10:43 PM, Graham Weldon wrote: > Hi all, > > The CakePHP team has been considering the location for the next upcoming > CakeFest. > We've decided to bring it bac

very basic: getting "index of" before index.php loads

2009-11-11 Thread jeff
hello. i have read the golding book and got cake installed. when i point my browser to the root directory of my app http://localhost/myapp it shows me the list of files instead of loading index.php: Index of /myapp Parent Directory README app/ cake/ index.php nbproject/ vendors/ then, when i t

unexpected T_VARIABLE

2009-10-03 Thread Jeff
Hi, I am just starting out with cake, making a Facebook app. I get the following error: Parse error: syntax error, unexpected T_VARIABLE in /users/home/ trompsbpbc/web/public/app/controllers/things_controller.php on line 22 And here is the code: user = $this->facebook->require_login(); }

Re: help::sending data from one controller to another controller

2009-09-08 Thread jeff
make use of var $uses; in ur controller include the required model names in ur controller perform ur query using $this->modelname->query; use this link to study more of it http://book.cakephp.org/view/53/components-helpers-and-uses http://book.cakephp.org/view/456/query hope this will

Re: Alternatives to Security Component Authentication with cgi php

2009-09-05 Thread Jeff Deroshia
I was able to find a workaround using mod_rewrite (a module that continues to amaze me with its usefulness). So for anyone else who needs to use the http authentication methods of the Security Component while running php through cgi, here's what I did to get it working: In the .htaccess file in th

Re: Welcome Page not finding CSS/Images

2009-09-01 Thread jeff
HEY JUST CHECK IN UR SERVER SETTINGS WETHER THE MODE REWRITE IS ENALED OR NOT... YOU CAN FIND IT UNDER PHP SETTINGS OR SOMETHING LIKE THAT. ENABLE IT . On Mon, Aug 31, 2009 at 11:16 PM, fatnic...@googlemail.com < fatnic...@googlemail.com> wrote

Re: array from query() call

2009-08-23 Thread jeff
=>To make custom queries use the foll *Syntax:* $this->model name->query(" sql query here “ ); On Mon, Aug 24, 2009 at 11:39 AM, dhiraj ray wrote: > > how to run something like a mysql_query and then mysql_fetch_array > > simple use > $rs=Query("your Query"); > > to pass data to mysql;

Re: Array Help

2009-07-22 Thread Jeff Griffiths
rray_of_entries_or_something as $entry) { // blah blah } Jeff On Wed, Jul 22, 2009 at 9:49 AM, Dave Maharaj :: WidePixels.com wrote: >  SELECT * FROM entries WHERE showcase_id = '6bd19a7775f'; > Returns nothing because that Showcase has no Entries > > SELECT * FROM entries WHERE show

Re: Simple cakePHP login authentication

2009-07-20 Thread jeff
pha .. u never will learn,if u dont try to do it by urself.after reading the docs its a simple process dont expect everthing to be done by others .. this time am not helping you... find it urself. hint use this link http://book.cak

Re: Difficult query with find method

2009-07-20 Thread jeff
use $this->modelname->query(" SQL STAEMENT HERE "); OR use this link for further study http://book.cakephp.org/view/456/query On Mon, Jul 20, 2009 at 3:53 PM, eXistent wrote: > > I need it for report of new comments, but only from articles inside > public category. > In SQL way it looks lik

update image-versions: Problem with Media Plugin of David Persson

2009-07-15 Thread jeff
'makeVersions' => true, 'filterDirectory' => MEDIA_FILTER, 'createDirectory' => true, ) Array ( [Article] =&

Re: cakephp with javascript

2009-07-15 Thread jeff
http://book.cakephp.org/view/134/Core-Validation-Rules learn this link for proper validation On Wed, Jul 15, 2009 at 5:47 PM, jeff wrote: > try to use this array for the body... > > 'body' => array( >

Re: cakephp with javascript

2009-07-15 Thread jeff
100 characters .' ) ) On Wed, Jul 15, 2009 at 5:41 PM, Dhileepen Chakravarthy < dhileepen.cake...@gmail.com> wrote: > Thanks jeff. > > I tried like this. > > class Post extends AppModel > { > var $na

Re: cakephp with javascript

2009-07-15 Thread jeff
The ‘message’ key allows you to define a custom validation error message for the rule: var $validate = array( 'password' => array( 'rule' => array('minLength', 8), 'message' => 'Password must be at least 8 characters long' ) ); http://book.cakephp.org/view/127/One-Rule-Pe

Re: setFlash and redirect problem

2009-07-14 Thread jeff
explain what problem exactly r u facing and also the code... On Tue, Jul 14, 2009 at 3:41 PM, Raph wrote: > > Still the same problem. :/ If I remove "setFlash" then is ok. > > On 14 Lip, 11:52, jeff wrote: > > use the foll: > > manner > > > &

Re: setFlash and redirect problem

2009-07-14 Thread jeff
use the foll: manner $this->Session->setFlash('User profile has been updated.'); $this->redirect('/users/home');//controller name/action name On Tue, Jul 14, 2009 at 3:19 PM, Raph wrote: > > Hello! > > I have weird (I think) problem. In one of my actions I have the c

Re: css class

2009-07-14 Thread jeff
To change the cakes css style make ur own css and place it in the default.ctp file in app/views/layout folder place this there css('your css file name');?> eg: css('styles');?> using this in default will set this style for all view pages... => alternativelty in the requried view page add

Re: Retreiving values from Jquery to a controller in cakephp

2009-07-14 Thread jeff
=>i mean is there any way to get the value from jquery to a controller function => and if so how .. => or could u give me any tutorials regarding this issue => it could be veryhelpful =>thankz again On Tue, Jul 14, 2009 a

Re: Retreiving values from Jquery to a controller in cakephp

2009-07-14 Thread jeff
Thanx for the reply Dr. Loboto but could u tell me how to do that i mean requesting view_beer action by jQuery code i may sound stupid ...but the truth is i dont know how to do it --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Retreiving values from Jquery to a controller in cakephp

2009-07-13 Thread jeff
sorry Dr. Loboto what i mean to say is that when i alert the data through javascript it gives me the foll Data submitted: Array ( [pass] => Array ( ) [named] => Array ( ) [controller] => beers [

Re: Convert this Mysql Statement to a cakePHP find array

2009-07-13 Thread jeff
USE THE CAKEPHP $this->model_name->querry(); format... =>To make custom queries use the foll *Syntax:* $this->model name->query(" sql query here “ ); Eg: $this->Employee->query("SELECT employee_name,employee_ID,company,basic_salary FROM Employees WHERE id='$id';")); refer the l

Re: How do i do the design changes

2009-07-10 Thread jeff
*Writing the default.ctp File* * * =>The default.ctp file in app/views/layout is used to give a basic layout for all view pages… like setting up the header, footer, body etc…. *A Simple Default Layout* * * * * My Cake Blog Application css('styles');?> // ad

Re: newline characters replaced by strong tag

2009-07-10 Thread jeff
hum quite interesting... let me look into it On Fri, Jul 10, 2009 at 1:05 PM, Mithu wrote: > > Hi, > I have a strange problem, cake php is inserting tags > where ever a new line character is found. > How can i solve this? > > I have been using cakephp about 2 years but i never experirnced such

Re: How can I access these data??

2009-07-10 Thread jeff
In order to access variables or results from the controller to corresponding view page we have to use the foll: method: *Syntax:* $this->set(' variable name ', content needed or result ); Eg: $this->set('empname',$this->Payroll->Employe

Re: Retreiving values from Jquery to a controller in cakephp

2009-07-10 Thread jeff
Thanz again Dr. Lobotoso now i understood what u was referring to and now i changed my javascript files as follows === $(document).ready(function() { var value = $('.add-beer-link').attr('id'); alert(value); $('#some-beer-name').click( funct

Re: slow loading due to cake's query

2009-07-10 Thread jeff
The unbindModel() model function allows you to remove the queries u dont want... $this->unbindModel(array('hasAndBelongsToMany'=>array('Tag'))); or use this link http://book.cakephp.org/view/86/Creating-and-Destroying-Associations-on-the-Fly i think this might help On Fri, Jul 10, 2009 at

Re: Custom Query in Controller: How to check if it was successful?

2009-07-09 Thread jeff
=>To make custom queries use the foll *Syntax:* $this->model name->query(" sql query here “ ); Eg: $this->Employee->query("SELECT employee_name,employee_ID,company,basic_salary FROM Employees WHERE id='$id';")); =>To access one model in another model for querying purpose use the fo

Re: Custom Query in Controller: How to check if it was successful?

2009-07-09 Thread jeff
USE THE FOLLWOING IN UR CONTROLLER/MODEL FOR GENERATING CUSTOM QUERIES... $this->model name->query(" sql query here “ ); Eg: $this->Employee->query("SELECT employee_name,employee_ID,company,basic_salary FROM Employees WHERE id='$id';")); =>To access one model in another model for querying

Re: Retreiving values from Jquery to a controller in cakephp

2009-07-09 Thread jeff
Thanks for replying Dr. Lobotobut i just cant understand what response u r talking about... moreover exactly i dont know how to do it??? so if u can help me with a code sample or example i could figure it out... i read the link ,but cant follow what u r refering to please forgive me for

Re: Retreiving values from Jquery to a controller in cakephp

2009-07-08 Thread jeff
Thanks for replying guys.. I never use IE7, Am currently using Firefox 3.5 so this is what i did then, i changed my javascript a little beers_view_beer.js === $(document).ready(function() { var value = $('.add-beer-link').attr('id'); al

Re: New to cakePHP

2009-07-08 Thread jeff
follow this link http://book.cakephp.org/view/219/Blog and its simple enough tip:read and read.it again and again On Wed, Jul 8, 2009 at 3:22 PM, Dhileepen Chakravarthy < dhileepen.cake...@gmail.com> wrote: > Hello everybody, > > I am a new guy for cake php . > > I installed cakephp

Re: Retreiving values from Jquery to a controller in cakephp

2009-07-07 Thread jeff
thanx for the reply marcelo so i think i need to reconsider a better understanding of cakephp therefore i now turned into a much simple program in cakephp using all its feature but still am not able to get the value from jquery to a controller in cakephp heres what i did i create

Re: Retreiving values from Jquery to a controller in cakephp

2009-07-07 Thread jeff
thanks for the reply i changed the namefield value to data[User][username] and data[User][password] but there isnt any result should i completely rewrite the login view page using the helpers... if so can u tell me how to include the values for id, name for each field ie for the (form,

Re: Can't get $javascript->Object() working !

2009-05-08 Thread Jeff Griffiths
ally strip out the debug info, and will make your client requirements different between dev and deployment if they do implement workarounds for this. cheers, Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

Noob questions regarding layouts and static content

2008-11-14 Thread jeff
c and static, in both english and spanish based on user option. I'd like to use a framework like cake for when this content stops being so static. But while it is, i can't ask the maintainers to paste content in a db column to update it. Thanks for any as

cake bake creating empty files?

2008-10-12 Thread Jeff E.
pty of any code/text. Does anybody have any ideas why this is happening now? p.s. I recently moved all my code from another webhost, so if cake bake stores some settings somehwere (like in a hidden directory), perhaps those didn't get cop

Mozilla's Laura Thomson on The Show

2008-10-06 Thread Jeff Loiselle aka phishy
orum to suggest new topics or comment on past shows. http://groups.google.com/group/cakephp-live Also feel free to join us on #cakephp-live on Freenode during the broadcast to chat, however, if you would like to post a question, please use to Google Moderator interface. Regards, Nate Abele (_nat

Problems generating ACL database

2008-09-12 Thread jeff aigner
/var/www/users/ jeffdev/www.website.com/cake/console/libs/schema.php on line 78 Fatal error: Class 'CakeSchema' not found in /var/www/users/jeffdev/ www.website.com/cake/console/libs/schema.php on line 78 Has anyone else experienced this problem or know how to get

Overriding Table Prefix

2008-06-17 Thread jeff aigner
I have an interesting problem. I am developing an application with cakePHP, however the user login info is legacy data (my 'user' model should be using the table `profiles` instead of `users`). This normally wouldn't be a problem, because I could just set the $useTable variable in the user model.

Re: Result of a query gets messed up

2008-06-12 Thread Jeff Loiselle
Weckman, Of course you could always chat with me since I wrote the Oracle driver. ;-) /jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email t

Re: Random logout

2008-06-05 Thread Jeff
Did you figure your issue out? On Jun 2, 10:30 am, dragoran <[EMAIL PROTECTED]> wrote: > Hi guys, > I have a problem with my app. Itrandomlylogs me out when I hit > refresh few times in a row alsorandomlyif I am not refreshing after > longer period. I am 100% shure that it is not an issue ofsessi

Re: reset Session variables without any visible cause

2008-06-05 Thread Jeff
> Here's a crazy thought: you are doing something wrong in your code. > > I have found in my vast experience with CakePHP that sessions don't > magically disappear, but they disappear for a variety of well-known > reasons. Some of which you might be able to find by searching this > Google group.

Re: reset Session variables without any visible cause

2008-06-05 Thread Jeff
> Here's a crazy thought: you are doing something wrong in your code. > > I have found in my vast experience with CakePHP that sessions don't > magically disappear, but they disappear for a variety of well-known > reasons. Some of which you might be able to find by searching this > Google group.

The GET problem

2008-06-03 Thread jeff aigner
If you are familiar with the GET problem, you can skip this next paragraph straight to my question. The GET problem was a hot debate recently about how web applications are designed. When HTML was originally developed, there was a clear distinction between HTTP GET and HTTP POST. The GET method w

Re: Email component problem

2008-05-27 Thread jeff aigner
You might want to check with your hosting company and make sure you have a PTR record set up for your domain so that other people can do a reverse lookup on your IP address and have it resolve to your mail server's domain name. Many email servers do a reverse lookup on the IP address of the sendi

Re: escaping values in $form->input

2008-05-27 Thread jeff aigner
Could you be a little more clear. I'm not sure what "escaping values in $form->input" really means. On May 27, 4:22 am, leo <[EMAIL PROTECTED]> wrote: > Is there a way to do this, yet? > > I have tried: > echo $form->input('nacionalitat', array('escape'=>false,'options'=> > $nacionalitats ));

Re: AppModel query and Oracle

2008-05-23 Thread Jeff Loiselle
Ah you submitted a ticket. I guess I forgot to mention that I spoke to Chris Jones from Oracle and he said that functionality is not available at the C level, so it's not a PHP issue. On Fri, May 23, 2008 at 4:07 PM, Bensoft <[EMAIL PROTECTED]> wrote: > >> Yeah, this topic has to be revisited at

Re: AppModel query and Oracle

2008-05-23 Thread Jeff Loiselle
s/enhancements come with tests, they make it into the core much quicker also. ;-) Regards, jeff On Fri, May 23, 2008 at 1:18 PM, Bensoft <[EMAIL PROTECTED]> wrote: > > On May 23, 7:02 am, "Jeff Loiselle" <[EMAIL PROTECTED]> wrote: > >> Welcome to being me. >

Re: ACL in oracle?

2008-05-23 Thread Jeff Loiselle
This issue has been solved in the branches version of dbo_oracle.php On Thu, May 15, 2008 at 7:29 AM, Nameroc <[EMAIL PROTECTED]> wrote: > > I'm trying to use the command "cake acl initdb" to set up ACL tables > in an oracle system, but my queries are returning errors because > apparently acos an

Re: AppModel query and Oracle

2008-05-23 Thread Jeff Loiselle
just works; except of course for the major limitations of the driver as outlined in a couple open enhancement tickets. Regards, jeff On Fri, May 23, 2008 at 3:04 AM, Bensoft <[EMAIL PROTECTED]> wrote: > > Spent some time getting this work so I thought I'd document it for > a

Re: CakePHP full example web site?

2008-04-28 Thread Jeff Seibert
Hi BeroFX, I'm somewhat confused - do you want to simply see a public website written in Cake? Or the full source to one? The former is of course much easier, but I do not see how it would help you... Jeff On Apr 28, 4:06 am, BeroFX <[EMAIL PROTECTED]> wrote: > Does anyone hav

Re: 1.2 Stable - Expected release?

2008-04-16 Thread Jeff Seibert
Build your site using the new beta and launch it. You can always upgrade to 1.2 final when it is released. I just launched GetBackboard.com using the 1.2 beta and it is fantastic. Cake is extremely stable. YMMV, Jeff On Apr 16, 9:00 am, 703designs <[EMAIL PROTECTED]> wrote: > I fid

Using Auth with passwords in a related table

2008-02-25 Thread Jeff Lee
I have my tables setup as follows: Users id username Passwords id password user_id modified I would like to use the Auth component to authenticate with this setup. I've been through the docs but haven't seen anything that helps me. I can add users and the like (i.e., my relationships and models

The Show Is Back!

2008-01-04 Thread Jeff Loiselle aka phishy
isit #cakephp-live on Freenode to ask questions. Lack of documentation? I don't think so! (John doesn't have all those sleepless night for nothing) http://tempdocs.cakephp.org/ Happy New Year! Regards, jeff --~--~-~--~~~---~--~~ You received this message

  1   2   >