# |
Feb 5th 2018, 13:57 |
saeideng |
call it by `$this->element('nav')` from layout |
# |
Feb 5th 2018, 13:57 |
saeideng |
and |
# |
Feb 5th 2018, 13:57 |
saeideng |
you can cut top nav into an element |
# |
Feb 5th 2018, 13:56 |
saeideng |
you now using APP/Template/Layout/default.ctp / APP/Template/Patient/index.ctp |
# |
Feb 5th 2018, 13:55 |
loginews |
bye |
# |
Feb 5th 2018, 13:54 |
loginews |
thanks I will look at your links |
# |
Feb 5th 2018, 13:54 |
loginews |
I will not waste your time. |
# |
Feb 5th 2018, 13:54 |
loginews |
ok |
# |
Feb 5th 2018, 13:54 |
saeideng |
I not undrestand |
# |
Feb 5th 2018, 13:53 |
saeideng |
> it requires reloading twice. no |
# |
Feb 5th 2018, 13:51 |
saeideng |
let me |
# |
Feb 5th 2018, 13:51 |
loginews |
got it? |
# |
Feb 5th 2018, 13:51 |
loginews |
click on the "patient" icon at the top. |
# |
Feb 5th 2018, 13:51 |
loginews |
yes... it requires reloading twice. |
# |
Feb 5th 2018, 13:50 |
saeideng |
http://loginonline.net/pedia/patient |
# |
Feb 5th 2018, 13:50 |
loginews |
click on that |
# |
Feb 5th 2018, 13:50 |
loginews |
you will get a "patient" icon at the top |
# |
Feb 5th 2018, 13:49 |
loginews |
reload it a second time. |
# |
Feb 5th 2018, 13:49 |
saeideng |
what is problem ? |
# |
Feb 5th 2018, 13:49 |
saeideng |
I see your link |
# |
Feb 5th 2018, 13:49 |
loginews |
do you mind trying my link ? |
# |
Feb 5th 2018, 13:48 |
loginews |
I am working on that |
# |
Feb 5th 2018, 13:48 |
saeideng |
https://github.com/cakephp/cms-tutorial/blob/master/src/Template/Layout/default.ctp |
# |
Feb 5th 2018, 13:48 |
loginews |
an example is: http://loginonline.net/pedia/drugs |
# |
Feb 5th 2018, 13:48 |
loginews |
I came to cakephp from msaccess to bring my apps to the web. |
# |
Feb 5th 2018, 13:47 |
loginews |
let me explain |
# |
Feb 5th 2018, 13:47 |
loginews |
ok |
# |
Feb 5th 2018, 13:46 |
saeideng |
and https://book.cakephp.org/3.0/en/views/cells.html |
# |
Feb 5th 2018, 13:46 |
saeideng |
https://book.cakephp.org/3.0/en/views.html |
# |
Feb 5th 2018, 13:45 |
loginews |
ok... sounds like it will work. Where is that in the cookbook? |
# |
Feb 5th 2018, 13:45 |
saeideng |
if you looking for spliting theme |
# |
Feb 5th 2018, 13:45 |
saeideng |
you can split your theme with using this features |
# |
Feb 5th 2018, 13:44 |
loginews |
No where is that? |
# |
Feb 5th 2018, 13:43 |
saeideng |
and Block |
# |
Feb 5th 2018, 13:43 |
saeideng |
do you see element/Cell/Layout features in the cake 3? |
# |
Feb 5th 2018, 13:42 |
loginews |
Do you want too see the live site i am trying it on? |
# |
Feb 5th 2018, 13:42 |
loginews |
Just need to move the left nav which takes too much space |
# |
Feb 5th 2018, 13:41 |
loginews |
No. I baked a crud |
# |
Feb 5th 2018, 13:40 |
saeideng |
do you need to bake into template/plugins directly? |
# |
Feb 5th 2018, 13:39 |
loginews |
Too complicated. I just need to move the side nav generated by bake to the top |
# |
Feb 5th 2018, 13:33 |
saeideng |
https://book.cakephp.org/3.0/en/views/themes.html |