Log message #4123368

# At Username Text
# Mar 9th 2018, 11:03 exhogin @birdy247 convert to ico
# Mar 9th 2018, 11:00 birdy247 but the icon is a .png not a ico file
# Mar 9th 2018, 11:00 birdy247 I am trying to make a <link rel = "shortcut icon" witht eh HTML helper
# Mar 9th 2018, 10:59 birdy247 Am I being thick
# Mar 9th 2018, 10:21 neon1024 I’m having a read about the Command pattern, and I remember @lorenzo demonstrating it at a Cakefest workshop. Just o clarify for my brain. I could create an `AddCommand` which deals with creating new things in my application, just like a global `Controller:add()`, and I’d pass it a context of the data and where to save it , for example a TableClass name. Is this acorrect way of thinking about the pattern in a Ckaephp context.
# Mar 9th 2018, 09:35 admad emi1988: are getting error for main site or sub domain?
# Mar 9th 2018, 09:18 slackebot 'view', $usuario->empresa->id]) : '' ?></td> <td><?= $usuario->has('perfile') ? $this->Html->link($usuario->perfile->id, ['controller' => 'Perfiles', 'action' => 'view', $usuario->perfile->id]) : '' ?></td>
# Mar 9th 2018, 09:18 portilloster Morning everyone guys! Noob question of the day!: I have my table users joined to the table role and company by the role_id and company_id foreing keys on the user table. The thing is that I want to show up on user list not the role or company id but their respective names! This is the code I have on user index.ctp: <td><?= $usuario->has('empresa') ? $this->Html->link($usuario->empresa->id, ['controller' => 'Empresas', 'action' =>
# Mar 9th 2018, 09:08 neon1024 Morning everyone. Happy Friday
# Mar 9th 2018, 09:07 emi1988 this is what i have done and i cant do otherwise
# Mar 9th 2018, 09:06 emi1988 i cant create on different folder. Available folder i /public_html where i have an old installation of cake and a new folder "tutorial" with new cake installation.
# Mar 9th 2018, 09:05 emi1988 i dont have access to create vhosts. I can create a subdomain. So this is so hard to do?
# Mar 9th 2018, 09:02 dakota Fiddling with .htaccess has never been successful for me :slightly_smiling_face:
# Mar 9th 2018, 09:02 dakota Easiest way to do that is to have them in different folders, and point the apache vhost’s document root to the correct place
# Mar 9th 2018, 09:01 emi1988 Thanks
# Mar 9th 2018, 09:01 emi1988 Now how hi can configure htaccess files to use main domain and subdomain separately. Now i have a 500 internal server error and i dont know what i have to do.
# Mar 9th 2018, 09:00 emi1988 in this folder there is a new fresh installation of cakephp
# Mar 9th 2018, 08:59 emi1988 Now i have done a sub domain : http://tutorial.mysite.com . the directory is at the same level as cakephp domain app -> /public_html/tutorial
# Mar 9th 2018, 08:58 emi1988 http://www.mysite.com/ is a old cakephp installation .
# Mar 9th 2018, 08:58 emi1988 i would like to use 2 cakephp installazion on web server for domain and subdomain
# Mar 9th 2018, 08:57 emi1988 so this is the scenario
# Mar 9th 2018, 08:57 emi1988 @dakota. Sorry. My fault
# Mar 9th 2018, 08:49 dakota emi1988, just ask your question, and if somebody can help they will :slightly_smiling_face:
# Mar 9th 2018, 08:31 emi1988 someone can help me if possible please;?
# Mar 9th 2018, 08:31 emi1988 i need help for a project in cakephp 2.9
# Mar 9th 2018, 08:31 emi1988 hi all
# Mar 9th 2018, 07:23 bravo-kernel @pedrorochani for my JWT API I use dereuromark/cakephp-tinyauth (to determine which user/groep can access which actions)
# Mar 9th 2018, 06:59 rima Cakephp version 2.x
# Mar 9th 2018, 06:57 rima Hello...I am new to cakephp.I have a query.Where can I set header('Content-Type: text/html; charset=utf-8'); in cakephp?
# Mar 9th 2018, 05:29 savant never used it though @cnizzardini
# Mar 9th 2018, 05:04 savant looks interesting
# Mar 9th 2018, 04:55 cnizzardini Does anyone have experience using Amphp\parallel with CakePHP?
# Mar 8th 2018, 23:22 Pedroni Can someone show me one example on how to validate if users can access a specific method in my controller on a restful api using this authentication https://github.com/ADmad/cakephp-jwt-auth ? Or any other authentications
# Mar 8th 2018, 22:04 admad @willem you are not wrong :slightly_smiling_face:
# Mar 8th 2018, 21:05 savant heh
# Mar 8th 2018, 21:00 meder thanks for being patient yesterday - i can say i'm more familiar with cake routing now
# Mar 8th 2018, 21:00 meder savant: btw, instead of adjusting the router caching - i'm refactoring the way this app builds routes. 1500 inflected routes....
# Mar 8th 2018, 20:07 slackebot correct me if i’m wrong. but this seems to work
# Mar 8th 2018, 20:07 willem it think i got it: ``` $routes->connect( '/customers', ['controller' => 'Customers', 'action' => 'index'], [ 'routeClass' => 'ADmad/I18n.I18nRoute', 'lang' => 'en' ] ); $routes->connect( '/klanten', ['controller' => 'Customers', 'action' => 'index'], [ 'routeClass' => 'ADmad/I18n.I18nRoute', 'lang' => 'nl' ] ); ```
# Mar 8th 2018, 19:59 willem both would point to the same controller e.g. Customers
# Mar 8th 2018, 19:58 willem when using @admad’s I18n plugin, is it possible (and how do i set up the routes) to have for example this ``` /nl/klanten /en/customers ```