Re: Crreate invoice form

2012-08-06 Thread Dominik Gajewski
on jQuery.com 2012/8/6 Ly Dara lyda...@gmail.com: Can use guide me how to use it? On Sun, Aug 5, 2012 at 2:49 PM, Dominik Gajewski dominikgajews...@gmail.com wrote: I suggest to use JavaScript (jQuery, ..). It is really easy to solve using jQuery with AJAX. 2012/8/5 Mr. Manager lyda

Re: cakePHP joining two tables

2012-08-05 Thread Dominik Gajewski
...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- 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

Re: Crreate invoice form

2012-08-05 Thread Dominik Gajewski
with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- Our newest site for the community: CakePHP Video Tutorials http

Re: How do you set the physical (pixel) width of an input field?

2012-05-15 Thread Dominik Gajewski
For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- 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

When enable php_pdo_mysql.dll pages stop working

2012-03-21 Thread Dominik Gajewski
, MySQL 5.5.21. I only got error message from my browser Error 101 (net::ERR_CONNECTION_RESET): -- Pozdrawiam Dominik Gajewski -- 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

missing_action problem

2011-12-23 Thread Dominik Gajewski
Hi I have code like that: ?php class AppError extends ErrorHandler { function missing_action(){ $s=$this-controller-sesionCheck(0); $m = $this-controller-menu($s); $this-controller-set('menu', $m); } } ? where sessionCheck()

l18n in cake 1.3

2011-12-06 Thread Dominik Gajewski
Hi I would like to ask how to set default language using l18n? -- Regards Dominik -- 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

Re: onClick in button

2011-11-14 Thread Dominik Gajewski
...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- 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

onClick in button

2011-11-12 Thread Dominik Gajewski
input type=button value=Cal onclick=displayCalendar(document.forms[0].theDate2,'dd.mm.',this) but it doesn't work why?? -- Pozdrawiam Dominik Gajewski -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http

Re: Make link disabled

2011-10-06 Thread Dominik Gajewski
Thanks for your help. I decided to do it via substitution link of span. 2011/10/2 euromark dereurom...@googlemail.com: or use 'javascript:void(0)' as link On 1 Okt., 22:09, Ryan Schmidt google-2...@ryandesign.com wrote: On Oct 1, 2011, at 13:47, Dominik Gajewski wrote: How to make in Cake

Make link disabled

2011-10-01 Thread Dominik Gajewski
How to make in Cake link disabled?? ?php echo $this-Html-link('name',array('controller' = 'bookings', 'action' = 'book'), array('disabled' = 'disabled')); ? This is not working -- Cheers Dominik Gajewski -- Our newest site

cake and unit tests

2011-08-04 Thread Dominik Gajewski
Hi I'm trying to do test my application. I began by writing first test for first method and i have now problem. It is my first test written in cake, and examples found on other sides seems to me be a little nonsense so i'm writing here :) function login(){ $usr =

How to change lanuage in form's date fields

2011-07-18 Thread Dominik Gajewski
Hi I have no idea how to change language display dates in forms, i have default English, but how to change on language of operating system? And second how display only year and month fields without day in form? -- Our newest site for the community: CakePHP Video Tutorials

Re: count(*) how to retrieve?

2011-07-08 Thread Dominik Gajewski
+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org

Re: wizard component multiple

2011-07-06 Thread Dominik Gajewski
with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- Our newest site for the community: CakePHP Video Tutorials

count(*) how to retrieve?

2011-07-05 Thread Dominik Gajewski
']['department_id'].'br'; } it's showing me this: Notice (8): Undefined index: kl [APP\views\stats_months\current_graph.ctp, line 13] What should I type here $res[$i]['DepartmentBook']['?'] -- Dominik Gajewski -- Our newest site for the community: CakePHP Video Tutorials http

Re: How compare fields in one query from different tables

2011-07-05 Thread Dominik Gajewski
' = array('Detail.incident_id = Incident1.id', 'Incident1.exp_date DATE_FORMAT(Detail.comment_date, \'%Y-%m-%d\')')    ) ); $this-Incident-Detail-find('all', array('joins' = $b)); On 30 июн, 21:24, Dominik Gajewski dominikgajews...@gmail.com wrote: Why don't you try to create next condition

Re: count(*) how to retrieve?

2011-07-05 Thread Dominik Gajewski
use count to get number of records from database :) -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/7/6 Dominik Gajewski dominikgajews...@gmail.com Hi I would like to count some rows but i can't print results of query exactly - count(*) AS kl - on the screen. this is my query

Re: count(*) how to retrieve?

2011-07-05 Thread Dominik Gajewski
' ) )); } It is a pity that cake doesn't support the SQL aggregate functions 2011/7/6 Dominik Gajewski dominikgajews...@gmail.com: But 'count' returns only integer of value, and rest column?? And my first sql query returns this kl department_id 1 4 1 8 1 10 So only way is to create a own query

Re: FPDF or PDFlib with Cake

2011-06-30 Thread Dominik Gajewski
for consistency or errors but it should get you well on your way to doing this the right way. On Jun 29, 3:17 pm, Dominik Gajewski dominikgajews...@gmail.com wrote: Sam thanks for your patience and help 2011/6/30 Dominik Gajewski dominikgajews...@gmail.com: Ok I solved all problems

Re: How compare fields in one query from different tables

2011-06-30 Thread Dominik Gajewski
...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- 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

Re: FPDF or PDFlib with Cake

2011-06-30 Thread Dominik Gajewski
Hi Thanks for all, it works. I found only one mistake it should be public $Pdf = null in helper, not private or for every method should be created method Thanks for your help 2011/6/30 Dominik Gajewski dominikgajews...@gmail.com: Ok i will check it, thanks 2011/6/30 gremlin abba.bry

FPDF or PDFlib with Cake

2011-06-29 Thread Dominik Gajewski
Hi I would like to use FPDF or PDFlib with Cake, and I wonder how to do it correctly according to cake's schema Has anyone had any experience in this matter?? -- Dominik Gajewski -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP

Re: FPDF or PDFlib with Cake

2011-06-29 Thread Dominik Gajewski
to create a visualization of model relations in pdf format?  - S On 29 June 2011 18:54, Dominik Gajewski dominikgajews...@gmail.com wrote: Hi I would like to use FPDF or PDFlib with Cake, and I wonder how to do it correctly according to cake's schema Has anyone had any experience

Re: FPDF or PDFlib with Cake

2011-06-29 Thread Dominik Gajewski
. - S On 29 Jun 2011 19:47, Dominik Gajewski dominikgajews...@gmail.com wrote: I want to create reports that take data from database and/ or form 2011/6/29 Sam Sherlock sam.sherl...@gmail.com: the bakery does have a few articles on pdf generation within cake app import the vendor. App

Re: FPDF or PDFlib with Cake

2011-06-29 Thread Dominik Gajewski
.  That feature of the site has since been removed for other reasons  - S On 29 June 2011 20:44, Dominik Gajewski dominikgajews...@gmail.com wrote:        $fpdf-AddPage();    $fpdf-SetFont('Arial','B',16);    $fpdf-Cell(40,10,$data);    echo $fpdf-fpdfOutput(); -- Our newest site

Re: FPDF or PDFlib with Cake

2011-06-29 Thread Dominik Gajewski
Ok I solved all problems and it works To last problem I added an extra argument to core function in fpdf.php function FPDF($ww=null, $orientation='P', $unit='mm', $size='A4') but if someone knows how to solve this without this trick i will listen to suggestions 2011/6/29 Dominik Gajewski

Re: FPDF or PDFlib with Cake

2011-06-29 Thread Dominik Gajewski
Sam thanks for your patience and help 2011/6/30 Dominik Gajewski dominikgajews...@gmail.com: Ok I solved all problems and it works To last problem I added an extra argument to core function in fpdf.php function FPDF($ww=null, $orientation='P', $unit='mm', $size='A4') but if someone knows

Access method of another controller

2011-06-25 Thread Dominik Gajewski
that?? -- Dominik Gajewski -- 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+unsubscr

Pagination

2011-06-07 Thread Dominik Gajewski
Hi I have problem with pagination. I have three models User hasOne Staff, and JobTitle hasOne Staff. I would like to create a pagination in StaffsController. I can retrieve data from User and Staff but there is problem with retrieving data form JobTitle. I tried to do it like that var $paginate

Re: problem in pagination

2011-06-07 Thread Dominik Gajewski
Here you will get all information about it http://book.cakephp.org/view/1231/Pagination 2011/6/7 andy_the ultimate baker anandghaywankar...@gmail.com: hi all, i m working on one page where i need to paginate data. but the model has no relation with any other model in database. i want set

Re: CakePHP 1.3.10 released

2011-06-06 Thread Dominik Gajewski
related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- Our newest site for the community: CakePHP Video Tutorials http

Re: accessing formdata in controller?

2011-06-05 Thread Dominik Gajewski
related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- Our newest site for the community: CakePHP Video Tutorials http

Re: Using CakePHP for the first time

2011-06-03 Thread Dominik Gajewski
-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http

How to retrieve data

2011-05-16 Thread Dominik Gajewski
' = array( 'MainBook.user_data_id' = $userId))); , so also i have access to DiseaseCourse, but i would like to get data from DirectoryDisease. How should i create cake query? P.S. MainBook is in relation only with DepartmentBook - MainBook hasMany DepartmentBook -- Pozdrawiam Dominik Gajewski

Re: How to retrieve data

2011-05-16 Thread Dominik Gajewski
I've studied this chapter but hasn't helped 2011/5/16 Tilen Majerle tilen.maje...@gmail.com: Check this! :) http://book.cakephp.org/view/1017/Retrieving-Your-Data -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/5/16 Dominik Gajewski dominikgajews...@gmail.com Hi I have proble

Re: How to retrieve data

2011-05-16 Thread Dominik Gajewski
', array('contain' = 'DieseaseCourse.DirectoryDisease') ); Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 16 May 2011, at 21:43, Dominik Gajewski wrote: I've studied this chapter but hasn't helped 2011/5/16 Tilen Majerle tilen.maje...@gmail.com: Check

Radio Group Label

2011-05-14 Thread Dominik Gajewski
', '2'='option2' ))); ? I create it like that, and Label is visible as Choice not Opt. What i should do to change it? -- Pozdrawiam Dominik Gajewski -- Our newest site for the community: CakePHP Video Tutorials http

Re: Radio Group Label

2011-05-14 Thread Dominik Gajewski
with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- Our newest site for the community: CakePHP Video Tutorials http

Re: Radio Group Label

2011-05-14 Thread Dominik Gajewski
Thanks. With 'legend' it works :D 2011/5/14 Dominik Gajewski dominikgajews...@gmail.com: div class=input radiofieldsetlegendChoice/legendinput type=radio name=data[Epicrisis][choice] id=EpicrisisChoice1 value=1 checked=checked  /label for=EpicrisisChoice1option 1/labelinput type=radio name

Re: Socket Server

2011-04-26 Thread Dominik Gajewski
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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik

Pagination hasMAny

2011-04-23 Thread Dominik Gajewski
Hi. I have problem with pagination. Everything is working till i don't want sort byt admission date. I think is only need to add one line of code in $var paginate. Or maybe that is problem becasue UserData hasMany MainBook and i want select only this one which is empty in field

Re: Publish my project online on shared host

2011-04-23 Thread Dominik Gajewski
://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Pozdrawiam Dominik Gajewski -- Our newest site

Re: You favorite IDE/ Dev Setup?

2011-04-23 Thread Dominik Gajewski
I'm using AppServ on Windows Vista and Eclipse PHP 2011/4/23 Salines nikola.parad...@gmail.com: Windows 7 /  OpenSuse 11.4 (KDE) Xampp     /  Apache, PHP,  Mysql, MongoDB Aptana Studio 3 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new