Re: is it possible create schedule post with cakephp?

2012-10-27 Thread thom
to ask some codes, some freelance-sites wont exist.. LoL -- Regards, thom http://mynameisthom.blogspot.com http://www.twitter.com/iamthom_ http://id.linkedin.com/in/iamthom <http://id.linkedin.com/in/mastanto> -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://

Re: How to avoid extra php code in views

2012-05-07 Thread Thom Seddon
well be a justifiable option. Additionally, I would probably say this approach would cultivate a more secure and restrictive approach to your app design which is likely to lead to a more robust setup in the end. Hope this answers your question. Thom On Monday, 7 May 2012 00:58:42 UTC+1, bs2872

Re: INSERT, UPDATE, DELETE SQL queries on Cakephp into database

2012-04-12 Thread thom
about your reply. But your link is the 'old' version of the link I've mentioned. The github version's author is still the same. And it still doesn't provide support for inserting sql-support AFAIK -- Regards,,, thom http://mynameisthom.blogspot.com http://www.twitter.c

INSERT, UPDATE, DELETE SQL queries on Cakephp into database

2012-04-12 Thread thom
nt. I just want insert-update-delete queries. Naaa,, Is that a possible thing to do that? Is there any way to do it? Some clues will kinda helpful. Thank you for any responses. -- Regards,,, thom http://mynameisthom.blogspot.com http://www.twitter.com/iamthom_ http://id.linkedin.com/in/mastant

Re: locale mit pages

2012-03-23 Thread thom
r sieht so aus bezüglich Pages: > Standardfiles: View/Pages/ > Sprachfiles: View/Pages/deu, View/Pages/ita etc. > > Vielen Dank für Hinweise. > > It's an English forum, so please just use English. Thanks -- Regards,,, thom http://mynameisthom.blogspot.com http://www.twitter.com/iam

Re: Automatic data in field

2012-03-14 Thread thom
On Tue, Mar 13, 2012 at 11:48 PM, mohit kumar wrote: > > I have created a form with username , which must display the username of > current logged in user. > > AFAIK, just use $attributes['value']. Read again FormHelper section. -- Regards,,, thom http://mynam

Re: Better way to send email?

2012-02-15 Thread thom
n v 2.0 :D Just wonder how is it when in 1.3.. I am still developing with that version, -- Regards,,, thom http://mynameisthom.blogspot.com http://www.twitter.com/iamthom_ http://id.linkedin.com/in/mastanto -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.

[ASK] Better way to send email?

2012-02-15 Thread thom
there people always give advice : thick Model thin Controller. Thank you for any response. -- Regards,,, thom http://mynameisthom.blogspot.com http://www.twitter.com/iamthom_ http://id.linkedin.com/in/mastanto -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

Re: [ASK] Email Component : 101 Connection time out

2012-02-10 Thread thom
On Fri, Feb 10, 2012 at 9:11 AM, thom wrote: > Hello, I'd like to ask about EmailComponent in CakePHP. M trying to send > email via SMTP (Google), gimme error 110: Connection timed out What does > it mean? And how to solve it? FYI, M using Ubuntu 11.04. Thank you before >

Re: Web conference scripts suitable for CakePHP ?

2012-02-09 Thread thom
On Wed, Feb 8, 2012 at 9:25 PM, Anna P wrote: > Hello. > > I'm searching for a open source scripts / solutions for on-line web > conferences (like BigBlueButton.org). > > Some thing like this? http://www.tokbox.com -- Regards,,, thom http://mynameisthom.blogspot.com

Re: Newbe in CakePHP

2012-02-09 Thread thom
On Fri, Feb 10, 2012 at 3:24 AM, Tilen Majerle wrote: > Use CakePHP 2.0.x and read book: http://book.cakephp.org/2.0/en/ > > Like this. Learning by doing is the best and fastest way to understand it. -- Regards,,, thom http://mynameisthom.blogspot.com http://www.twitter.com/iamt

[ASK] Email Component : 101 Connection time out

2012-02-09 Thread thom
Hello, I'd like to ask about EmailComponent in CakePHP. M trying to send email via SMTP (Google), gimme error 110: Connection timed out What does it mean? And how to solve it? FYI, M using Ubuntu 11.04. Thank you before for any response. -- Regards,,, thom http://mynameisthom.blogspot.com

Re: Email problem on hostgator

2012-02-08 Thread thom
has an effect. Haven't tried running it on Windows yet, since it'll take so long. I mean, I need to install it first on my virtual box. Hope got some answers . Thank you so much berfore.. -- Regards,,, thom http://mynameisthom.blogspot.com http://www.twitter.com/iamthom_ http://id.li

Re: Installing CakePHP 2 in Ubuntu 11.04

2012-01-19 Thread thom
:/usr/share/pear') [CORE/Cake/View/ > View.php, line 595] > > BTW, in Windows it works perfectly, maybe MS doesn't care with file > permissions. > > Please help me, I am new with CakePHP. Thanks!! > Please make it sure if your rewrite modul is already enabled. And

Re: [ASK: Installer script cakephp] Preventing index (plugin) to checking database.php

2011-12-05 Thread thom
On Thu, Dec 1, 2011 at 5:13 PM, thom wrote: > #Error message I got > > Warning (2): include_once(/var/www/simpus22/app/config/database.php) > [http://php.net/function.include-once]: failed to open stream: No such > file or directory [CORE/cake/libs/model/connection_manager

[ASK: Installer script cakephp] Preventing index (plugin) to checking database.php

2011-12-01 Thread thom
question is, how to prevent the plugin to access/ look for database.php which about to be created in InstallController::index(), so I could see the index's layout? The index is just showing message if the app is fulfill basic requirement or not. Note : if I provide database.php in

Re: Ignoring 'belongsTo' inside model

2011-11-12 Thread thom
umes a lot of memory. CMIIW. Thank you. -- Regards,,, thom http://mynameisthom.blogspot.com -- 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.

Re: How to use tinymce plugin?

2011-11-11 Thread thom
to integrate, like 4 steps total. > > Wanna have a try niceEditor <http://nicedit.com/>? It's great one. Just download, include it and tada... -- Regards,,, thom http://mynameisthom.blogspot.com -- Our newest site for the community: CakePHP Video Tutorials http://tv.c

Re: Help using paginator

2011-11-11 Thread thom
On Thu, Nov 10, 2011 at 5:25 PM, euromark wrote: > two questions: > a)why are you using both find(all) and paginate? > b) why do you use lowercase model name in paginate()? > > > +1 function index(){ $this->paginate('Equipos'); } -- Regards,,, thom http://myn

Re: [ASK] Ignoring 'belongsTo' inside model

2011-11-11 Thread thom
http://book.cakephp.org/view/1045/Creating-and-Destroying-Associations-on-the-Fly > > Yeah. I've made it after spending some hours with my netbook, while waiting for someone might gimme some answers here. And when I come back here, there already 2 answers! I solve the case by using unbind an

[ASK] Ignoring 'belongsTo' inside model

2011-11-10 Thread thom
I'm playing with Model::paginate() and would like to ignore belongsTo table relationship. How could I make it? Is that possible? Thank you. -- Regards,,, thom http://mynameisthom.blogspot.com -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check ou

Re: i didnt understund ajax in cakephp

2011-11-08 Thread thom
r in a > project. > thank you again for your attention! > You better to do some 'googling' first. Then come here with your code, what you've tried and/ or errors you've got. You asked a frequently asked question and common one. -- Regards,,, thom http://mynameistho

Re: [ASK] Failed to redirect 404-error

2011-11-03 Thread thom
On Fri, Nov 4, 2011 at 9:46 AM, thom wrote: > Hello folks, > > I want to redirect every 404-error to homepage. What I do were : > > >1. Added a new file inside app/ folder named app_error.php >Note : I'm still developing with cakePHP 1.3 >2. Here i

[ASK] Failed to redirect 404-error

2011-11-03 Thread thom
he first time I tried it, it works fine. But, after I restart my laptop, it wont redirect anymore. I've already delete the cache. But it still the same. It just keep displaying my custom error page. Could someone help me out, please? -- Regards,,, thom http://mynameisthom.blogspot.co

Re: ajax with cakephp 1.3

2011-11-02 Thread thom
r? http://www.cakephp.4uk.pl/ make sure, next time you do google search first. Good luck.. -- Regards,,, thom http://mynameisthom.blogspot.com -- 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

Re: Installer CMS like on CakePHP??

2011-10-28 Thread thom
aker.42dh.com/2007/04/16/writing-an-installer-for-your-ca... > > > > Andras Kende > > > OK,, many thanks for the help. I'll give it a try first. I'll adjust the most suitable with my application :) -- Regards,,, thom http://mynameisthom.blogspot.com -- Our ne

Re: [Ask] Installer CMS like on CakePHP??

2011-10-28 Thread thom
;easy' (simple) way to do it? I mean without YAML (Croogo has it) .. -- Regards,,, thom http://mynameisthom.blogspot.com -- 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

[Ask] Installer CMS like on CakePHP??

2011-10-28 Thread thom
I am curious about making my app to have a 'cms like' installer. I am using cakephp 1.3.8 for now. Could anybody tell me any references for me to be learned? Thank you. -- Regards,,, thom http://mynameisthom.blogspot.com -- Our newest site for the community: CakePHP Video Tutor

Re: Accessing controller from view/ element

2011-06-20 Thread thom
On Mon, Jun 20, 2011 at 10:10 AM, Dr. Loboto wrote: > Retrieve it in controller and set to view. Do it at beforeRender(), > Got it. It works well :D hehehe.. Thank you Dr Loboto :) -- Regards,,, mastanto (thom_) http://mynameisthom.tumblr.com http://mynameisthom.blogspot.com http://www.twitter.

Re: find('all', by condition question

2011-06-17 Thread thom
Or maybe you could just using $upload = $this->Lesson->Upload->findAllById(64); On 6/18/11, Andras Kende wrote: > In this case you should select from upload, there can be only a single > Upload with id=64 anyways... > >> $upload = $this->Lesson->Upload->find('all', array( >> 'conditions' =>

Accessing controller from view/ element

2011-06-17 Thread thom
I'd like to create a header that contain data from database. But I'm stucked at how to load the data from the database. I already tried requestAction, but since it's not recommended, I am considering to leave it. I rarely got my page error though, said error in limit-reach or similar. Is there any

Re: Saving into id-less table

2011-06-06 Thread thom
On Tue, Jun 7, 2011 at 6:38 AM, euromark wrote: > sry i meant you need to adjust > var $primaryKey > > since virtual fields are not very stable this is not a good idea at > all. > OK then. Seems there is no solution but $this->Model->query() and @$this->Model->save(); hehehe -- Regards,,, masta

Re: Saving into id-less table

2011-06-06 Thread thom
On Mon, Jun 6, 2011 at 4:22 PM, euromark wrote: > you always need some kind of id - or so called primary key/identifier > which can be indexed That's why I think it's strange. The prev programmer didnt make one. And the system is already out. So, I am prosecuted to make no-differences in the data

Saving into id-less table

2011-06-06 Thread thom
Hello fellas, I am trying to insert some data into an id-less table. When i inserted some datas in a 'normal' table (has an ID), i just using : $this->Model->create(); $this->Model->save($this->data); But, if I applied the script into an id-less table, i got some error, said if there is no id (s

Re: Slow Build Acl

2011-05-31 Thread thom
On Tue, May 31, 2011 at 5:58 PM, thom wrote: > On Tue, May 31, 2011 at 5:53 PM, Jens Dittrich wrote: >> eventually adding some indexes might also help, see: >> http://www.mainelydesign.com/blog/view/speeding-up-cakephp-acl-component >> > > OK. I'll try it. Tha

Re: Slow Build Acl

2011-05-31 Thread thom
On Tue, May 31, 2011 at 5:53 PM, Jens Dittrich wrote: > eventually adding some indexes might also help, see: > http://www.mainelydesign.com/blog/view/speeding-up-cakephp-acl-component > OK. I'll try it. Thank you everyone.. :) -- Regards,,, mastanto (thom_) http://mynameisthom.tumblr.com http:

Slow Build Acl

2011-05-31 Thread thom
Hello,, I am facing a problem in building acl (build_acl). In the beginning, it was no problem. Everything is OK. But, when my controllers are increasing, building acl is getting slower and 'heavey'. I got maximum exceed. I've increased the time to 240 seconds. But still, appears. Some times, I hav

Re: Editing ID

2011-05-27 Thread thom
On Fri, May 27, 2011 at 2:11 PM, euromark wrote: > updateAll is usually NOT for unsecured user input > its for atomic queries and multiple changes mainly > > but if you use it for user input you have to secure your data of > course (manually!) > > PS: > all you needed was to add the id to the data

Re: Editing ID

2011-05-27 Thread thom
On Fri, May 27, 2011 at 12:03 PM, Dr. Loboto wrote: > If you want to update ID of record you must use saveField() or > updateAll() method. > Thankyou for your help, Dr Loboto.. It works. It's kinda strange because 'The $fields array accepts SQL expressions. Literal values should be quoted manuall

Re: Help with cakephp code

2011-05-26 Thread thom
On Fri, May 27, 2011 at 12:58 AM, Magician wrote: > > Now, all that said.  Whenever I try to access what I have done so far > with Firefox, I get a message saying that it could not find the > database.  Could someone help me please?!? > Have you renamed the file? The configuration you made seems

Re: how can I get a label back on my autocomplete field

2011-05-26 Thread thom
> echo $ajax->autoComplete('Charity.charity_name', '/charities/ > autoComplete', array('label' => 'Search for')); It works. Indeed, labeling autocomplete field is like that. :) Try to see your source code in your browser. Might be you'll find something. -- Regards,,, mastanto (thom_) http://myn

Re: form proplem

2011-05-26 Thread thom
> form- >>create("pilgrimage",array("controller"=>"pilgrimage","action"=>"index","div"=>false,"onSubmit"=>"")); >> ? >> > It should be $this->Form->create(),, NOT $this->form->create.. -- Regards,,, mastanto (thom_) http://mynameisthom.tumblr.com http://mynameisthom.blogspot.com http://www.twit

Re: SQL Error: 1054: Unknown column

2011-05-26 Thread thom
> > Warning (512): SQL Error: 1054: Unknown column 'Usergroup.id' in > 'where clause' [CORE\cake\libs\model\datasources\dbo_source.php, line > 684] > Query: SELECT `Usergroup`.`jobTitle`, `Usergroup`.`groupId` FROM > `usergroups` AS `Usergroup`   WHERE `Usergroup`.`id` = > 'administrator'    LIMIT

Editing ID

2011-05-26 Thread thom
Hello,, I am trying to edit the ID of a record. But what I got is cake make a new record (add/ insert not updating the record). How could I add 'WHERE' clause in save()? I've added were $this->Poscheck->id = $this->data['Poscheck']['old_id']; $save

Re: How to cake bake in Linux environment - Cakephp?

2011-05-19 Thread thom
On Wed, May 18, 2011 at 9:12 PM, CakePHP.Saint wrote: > How to cake bake in Linux environment - Cakephp? > I download the latest version from cakephp website. created some > tables and trying to bake process but its not working. I try to run > cake bake inside cake/console but nothing happens > >

Re: uploading an image file

2011-05-16 Thread thom
ects. Agree with this. I've tried and it doesn't take much time for implementing it till I could use it. Note : I am a beginner too :). What I am trying to say is try that! It's great enough ^^ -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- Our n

[ASK] deleteAll() things

2011-05-09 Thread thom
roblem is,, the deleteAll syntax is not affecting my database. When I tried it, it just redirected back to the referer page and not affected my database at all. Is my code right? Hope some one could help me. Thank you in advance.. -- Regards,,, thom -- Our newest site for the community: CakePH

Re: The page isn't redirecting properly

2011-05-03 Thread thom
d try $this->log(current url); and $this->log(going to); first, since I didnt use it. :D I just wonder about the result I'll got. Case : OFFICIALLY CLOSED. -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- Our newest site for the community: CakePHP Video Tutor

The page isn't redirecting properly

2011-05-02 Thread thom
re's no specific solution. Could someone tell me what exactly causing this bahavior and to fix it? Thank you. Very much for any response. -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- Our newest site for the community: CakePHP Video Tutorials http:/

Re: $this->layout implementation in a controller

2011-05-02 Thread thom
gt;layout = 'other'; > } > } > Thank you so much Salines.. It works perfectly. It's saving my time : -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check

$this->layout implementation in a controller

2011-04-27 Thread thom
mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- 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,

Re: Can't Write Session

2011-04-24 Thread thom
On Mon, Apr 25, 2011 at 10:00 AM, thom wrote: > Hello,, > > I am having problem. I couldn't write to session. I've include > components and helpers Session at my AppController. But still, I still > couldn't. > > The syntax is only $this->Session->

Can't Write Session

2011-04-24 Thread thom
n the manual, but why I just couldn't? Someone could help me out? Or did I miss something? FYI, I could read session from Auth. -- Regards,,, thom -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cake

Re: Create function and call it everywhere

2011-04-15 Thread thom
hen import it wherever you want to > use it (using "App::Import('Lib', 'MyClass');"). > Ow.. I got it. I'll try it. Maybe I'll be back if I just get in trouble. Thanks for the guide, Ryan Schmidt. :D I am a new comer in cakePHP.. -- Regards,,, mastan

Create function and call it everywhere

2011-04-14 Thread thom
Hello, I want to create some functions and want to able to call it every where (Controller/ View). How could I do that? Where I have to place it? -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- Our newest site for the community: CakePHP Video Tutorials http

Re: You favorite IDE/ Dev Setup?

2011-04-05 Thread thom
Win XP Servers: Apache DB: MySql FW: Cakephp -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- 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

Is this aco table correct?

2011-04-04 Thread thom
NULLNULLcheckGuess 7 8 -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- 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

SUMIF in Cakephp

2011-03-30 Thread thom
Hello, I just wonder about how to write Mysql's syntax SUM IF in Cakephp. Is there a way to insert it in 'cake-way' or just using this->query() ?? Thank you very much. -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- Our newest site for the

Re: Problem Joining table

2011-03-25 Thread thom
On Fri, Mar 25, 2011 at 1:10 PM, thom wrote: > On Fri, Mar 25, 2011 at 9:33 AM, thom wrote: >>> >>> Perhaps you need to unBind() the other associations and then add those >>> joins to $paginate, as well. >>> > > > Why is my 'join' not w

Re: Problem Joining table

2011-03-24 Thread thom
On Fri, Mar 25, 2011 at 9:33 AM, thom wrote: >> >> Perhaps you need to unBind() the other associations and then add those >> joins to $paginate, as well. >> Here is my code : $this->Expense->unbindModel(array('belongsTo' =>

Re: Problem Joining table

2011-03-24 Thread thom
venthough, I join it right after I unbind it. Any clue? Or maybe there're some way outs? -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Qu

Problem Joining table

2011-03-24 Thread thom
the problem is, those should be above/below the last line (LEFT JOIN `workers` AS `Worker` ON (`Expense`.`worker_id` = `Worker`.`id`) ). If I edited the query then replace it to the right position and run it on the phpmyadmin, it works and give me results what I expected. The question is how I solve

Re: Get Parent's alias

2011-03-22 Thread thom
aros_acos.aco_id=acos.id I know I could use 'query' but I want to know if there's a 'cake-mode' of the query. Thank you.. On 3/22/11, thom wrote: > I am trying to display aros_acos table. But, I am stucked at how to > get parent's alias from acos. I could display alia

Get Parent's alias

2011-03-22 Thread thom
layed. -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- 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

Re: [Ask] Query to select multiple table in cakephp

2011-03-18 Thread thom
tanto http://www.mastanto.com http://thom-sharing.blogspot.com -- 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

Re: [Ask] Query to select multiple table in cakephp

2011-03-17 Thread thom
)); } ?> === It gives me error : Call to undefined method stdClass::find() in D:\_\www\bread\app\controllers\aros_acos_controller.php on line 8 -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- Our newest site for the community: C

Re: [Ask] Query to select multiple table in cakephp

2011-03-17 Thread thom
'conditions' => array( 'ArosAcos.acos_id = acos.id', ) )); } ?> === It gives me error : Call to undefined method stdClass::find() in D:\_\www\bread\app\controllers\aros_acos_contr

Re: [Ask] Query to select multiple table in cakephp

2011-03-17 Thread thom
On Fri, Mar 18, 2011 at 8:30 AM, thom wrote: > Hello, I just wonder how to write this query in cakephp controller > > SELECT aros_acos.*, acos.id, acos.alias FROM aros_acos, acos WHERE > aros_acos.aco_id = acos.id > > Any one can help? > Oh, my bad. I found it already

[Ask] Query to select multiple table in cakephp

2011-03-17 Thread thom
Hello, I just wonder how to write this query in cakephp controller SELECT aros_acos.*, acos.id, acos.alias FROM aros_acos, acos WHERE aros_acos.aco_id = acos.id Any one can help? -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- Our newest site for the

[Ask] ModalBox vs AutoComplete. Conflict or something?

2011-03-11 Thread thom
input('username'); echo $this->Form->input('password'); echo __('Group'); echo $ajax->autoComplete('Group.name', '/users/autoComplete', array('frequency' => '0.6', 'afterUpda

Re: [Question] About basic cakePHP

2011-03-10 Thread thom
On Fri, Mar 11, 2011 at 1:07 PM, Jeremy Burns | Class Outfit wrote: > It's not much of a leap. Generally the main problems you'll have are related > to $form and $html, but the new syntax ($this->Form etc) have worked for > ages, so most good code examples will use them anyway. > > Beyond that,

Re: [Question] About basic cakePHP

2011-03-10 Thread thom
cakePHP 1.3 based script? -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -- 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 CakePH

[Question] About basic cakePHP

2011-03-10 Thread thom
eate(), and sometimes using $form->create(). Is $form->create() the short-code for $this->Form->create(). I found other 'shotcode's like $html->link. Thank you for your help and responses. -- Regards,,, mastanto http://www.mastanto.com http://thom-sharing.blogspot.com -

Re: Take id from autocomplete's data

2011-03-10 Thread thom
't respond because I don't use the JsHelper and didn't > want to give you bad information. > Thank you very much for your response, Cricket. I appreciate it :). It's OK, since I found the answer :D According the situation, I closed the case. Thank you.. -- Regards,,

Re: Take id from autocomplete's data

2011-03-09 Thread thom
On Wed, Mar 9, 2011 at 1:01 PM, thom wrote: > Hello, > > I am learning CakePHP and now using Cake 1.3. I have a worked auto > complete. I follow the instruction in the manual. The problem is, I'd > like to take id from auto complete's data. What should I do, since > wh

Take id from autocomplete's data

2011-03-09 Thread thom
Hello, I am learning CakePHP and now using Cake 1.3. I have a worked auto complete. I follow the instruction in the manual. The problem is, I'd like to take id from auto complete's data. What should I do, since what i need is the id from the autocomplete's data (I need to insert it to database)?

Re: scaffolding / $form->input() problem

2008-08-19 Thread thom
brilliant.. thanks so much! On Aug 19, 3:54 pm, grigri <[EMAIL PROTECTED]> wrote: > Try this: > > echo $form->input('user_id', array('empty' => 'No User')); > > On Aug 19, 2:18 pm, thom <[EMAIL PROTECTED]> wrote: > > > ok,

scaffolding / $form->input() problem

2008-08-19 Thread thom
ok, i have a users and an authors table: User hasOne Author Author belongsTo User this is so i can link an author to a user-account (for page login).. it is however optional.. i have to be able to create authors that arent related to any user which is where the problem comes in.. after doing al