# |
Jun 19th 2018, 08:32 |
neon1024 |
What do you mean custom method? |
# |
Jun 19th 2018, 08:32 |
magiq |
how to add custom method to router and how to create new route instance |
# |
Jun 19th 2018, 08:31 |
magiq |
hello |
# |
Jun 19th 2018, 08:30 |
neon1024 |
Morning everyone |
# |
Jun 19th 2018, 08:27 |
magiq |
how to add custom method to router ? |
# |
Jun 19th 2018, 07:59 |
magiq |
https://book.cakephp.org/3.0/en/development/routing.html#creating-nested-resource-routes |
# |
Jun 19th 2018, 07:59 |
magiq |
only in resources ? |
# |
Jun 19th 2018, 07:59 |
magiq |
$routes->get('/some', ['prefix' => 'Api' prefix not working in get method of router? |
# |
Jun 19th 2018, 07:31 |
magiq |
there was fix, but call buildValidator requires validator as argument, but deparcted validator builds default valdator class |
# |
Jun 19th 2018, 07:30 |
djmenkveld |
Somebody experience with Memcached? |
# |
Jun 19th 2018, 07:30 |
djmenkveld |
``` |
# |
Jun 19th 2018, 07:21 |
magiq |
https://github.com/cakephp/cakephp/issues/11572 |
# |
Jun 19th 2018, 07:20 |
magiq |
seems like the only way when _buildValidator called in cake Form class, is when public function validator() called, but it's deparcted |
# |
Jun 19th 2018, 07:16 |
magiq |
I'm using debugger to find out this |
# |
Jun 19th 2018, 07:15 |
magiq |
why so ? |
# |
Jun 19th 2018, 07:15 |
magiq |
I'm using custom form with defined _buildValidator and _buildSchema method, then I create instance of form and use $form->execute($this->request->getData()) but _buildValidator function never calls |
# |
Jun 19th 2018, 07:13 |
ra7bi |
that is play around the correct solution. |
# |
Jun 19th 2018, 07:13 |
saeideng |
just dont use `pixel` in css to adjusting size ;P |
# |
Jun 19th 2018, 07:10 |
saeideng |
>which type of printer if possible should i buy I dont know |
# |
Jun 19th 2018, 07:08 |
saeideng |
and unrelated to cake V |
# |
Jun 19th 2018, 07:08 |
saeideng |
you can print just like other pages |
# |
Jun 19th 2018, 07:08 |
saeideng |
if every label is 1 page |
# |
Jun 19th 2018, 07:07 |
saeideng |
see printer catalog |
# |
Jun 19th 2018, 07:07 |
ra7bi |
which type of printer if possible should i buy |
# |
Jun 19th 2018, 07:07 |
ra7bi |
can you give me any example |
# |
Jun 19th 2018, 07:07 |
saeideng |
js |
# |
Jun 19th 2018, 07:06 |
ra7bi |
in such a way |
# |
Jun 19th 2018, 07:06 |
ra7bi |
,:) so my question is : is there any abstract class can do this job |
# |
Jun 19th 2018, 07:06 |
saeideng |
also it does not access to your pc |
# |
Jun 19th 2018, 07:06 |
saeideng |
php is web language |
# |
Jun 19th 2018, 07:05 |
ra7bi |
yah i got what you meant , but in other language such as c# you can communicate with the printer directly without thinking about the size and design |
# |
Jun 19th 2018, 07:04 |
ra7bi |
File uploaded https://cakesf.slack.com/files/U1M5X5JBZ/FBA2GAMDK/barcode-label.jpg / https://slack-files.com/T053DPNCM-FBA2GAMDK-69b7e9745d - i need to print like this |
# |
Jun 19th 2018, 07:04 |
saeideng |
I mean you can adjust your barcode by html before printing |
# |
Jun 19th 2018, 07:03 |
saeideng |
+css |
# |
Jun 19th 2018, 07:03 |
saeideng |
html = image + html |
# |
Jun 19th 2018, 07:03 |
saeideng |
and hidden print html by default and print `print html ` by js |
# |
Jun 19th 2018, 07:02 |
ra7bi |
i dont want to print html page , small label only barcode sticker |
# |
Jun 19th 2018, 07:02 |
saeideng |
in one page |
# |
Jun 19th 2018, 07:02 |
ra7bi |
i want to print Only barcode label , not normal printer do i need to render the barcode image on the server or there is a printer can do it on it's own memory |
# |
Jun 19th 2018, 07:02 |
saeideng |
1 for you 2 for print |
# |
Jun 19th 2018, 07:02 |
saeideng |
you can have 2 html |