Log message #3977518

# At Username Text
# Jan 22nd 2017, 10:27 savant copy the ones from bake into your app, then edit the templates (there are like 4 of them) to show exactly what you want to show
# Jan 22nd 2017, 10:26 savant and then just customize the bake templates as you want.
# Jan 22nd 2017, 10:26 al_x_mq so its really just backend
# Jan 22nd 2017, 10:26 savant so do this: https://book.cakephp.org/3.0/en/bake/development.html#customizing-the-bake-templates
# Jan 22nd 2017, 10:25 al_x_mq therefore the nav is build in the templates i would need to edit every single template
# Jan 22nd 2017, 10:25 al_x_mq but the navigation on the left - coming with the standard bake theme - is not what i am looking for.. the users that will use this will not understand how it works....
# Jan 22nd 2017, 10:24 al_x_mq i creating a backend
# Jan 22nd 2017, 10:22 savant can you explain further what you are trying to do
# Jan 22nd 2017, 10:22 al_x_mq @savant actuallly i was looking for something that i can just put in.. because the standard template is not working for my case
# Jan 22nd 2017, 10:14 savant which covers the syntax
# Jan 22nd 2017, 10:14 savant we have that
# Jan 22nd 2017, 10:14 savant https://book.cakephp.org/3.0/en/bake/development.html#bake-template-syntax
# Jan 22nd 2017, 10:14 savant what do you mean
# Jan 22nd 2017, 10:08 al_x_mq somewhere...
# Jan 22nd 2017, 10:08 al_x_mq is there a overview for bake templates?
# Jan 22nd 2017, 10:08 al_x_mq morning fellows
# Jan 22nd 2017, 08:43 GutaFish thanks
# Jan 22nd 2017, 08:43 GutaFish I didnt know why would etend connection…
# Jan 22nd 2017, 08:43 savant forgot that className is used at a different level
# Jan 22nd 2017, 08:43 GutaFish ok… then Im on correct way :)
# Jan 22nd 2017, 08:43 savant sorry yeah, driver
# Jan 22nd 2017, 08:42 savant driver
# Jan 22nd 2017, 08:39 GutaFish yes, but If I want to extend driver I must change [‘driver’] not [‘connection’] key ? Or Im missing something ?
# Jan 22nd 2017, 08:38 savant you can customize what class it uses there.
# Jan 22nd 2017, 08:38 GutaFish yes
# Jan 22nd 2017, 08:38 savant app.php contains your connection info under the `database` section
# Jan 22nd 2017, 08:37 GutaFish savant: if I want to extend driver then I must change dervier section in app config not connection ?
# Jan 22nd 2017, 08:34 halfdan no worries, thanks @savant
# Jan 22nd 2017, 08:33 savant sorry
# Jan 22nd 2017, 08:33 savant i dont use route redirects normally though, so I cant be sure
# Jan 22nd 2017, 08:31 savant @halfdan might be the order in which you set the redirect
# Jan 22nd 2017, 08:31 savant now just tell your database connection to use your connection class
# Jan 22nd 2017, 08:31 savant you did extend it
# Jan 22nd 2017, 08:29 GutaFish mysql*
# Jan 22nd 2017, 08:29 GutaFish savant: it wouldnt be better to extend myzsql driver ?
# Jan 22nd 2017, 08:19 halfdan The route doesn't even seem to match if I try it without and I don't seem to have access to :id when passing the redirect array
# Jan 22nd 2017, 08:19 halfdan howdy! I'm trying to do a URL alias/redirect on the root route. Basically trying to catch an id and redirect to a controller's show method and pass that id in: ``` Router::connect( '/p/:id', array( 'lang' => 'eng', 'controller' => 'sentences', 'action' => 'show' ), array('id' => '[0-9]+') ); ``` Any way I can drop the /p in there?
# Jan 22nd 2017, 07:55 savant you can specify a `className` for the connection
# Jan 22nd 2017, 07:55 savant in your app.php
# Jan 22nd 2017, 07:46 GutaFish ok, but where I must say, “use my class” ? I have already created files in paths as it should be in my app, but it does not take it into account
# Jan 22nd 2017, 07:45 savant and then just reference the extended one