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://
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
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
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
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
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
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.
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
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
>
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
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
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
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
:/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
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
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
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.
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
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
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
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
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
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
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
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
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
;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
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
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.
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' =>
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
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
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
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
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
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:
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
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
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
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
> 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
> 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
>
> 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
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
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
>
>
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
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
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
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:/
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
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,
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->
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
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
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
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
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
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
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
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' =>
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
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
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
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
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
));
}
?>
===
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
'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
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
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
input('username');
echo $this->Form->input('password');
echo __('Group');
echo $ajax->autoComplete('Group.name', '/users/autoComplete',
array('frequency' => '0.6', 'afterUpda
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,
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
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
-
'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,,
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
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)?
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,
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
78 matches
Mail list logo