Size: a a a

2021 March 11

AS

Aliaksandr Sadouski in Evolution CMS
ерунда какая -то))
источник

DM

Dmytro Makohonenko in Evolution CMS
а почему имя файла 2? или пофиг?
источник

AS

Aliaksandr Sadouski in Evolution CMS
понятия не имею но как видишь странного все больше )))
источник

EF

Eric FILIPPI in Evolution CMS
Dmytro Makohonenko
а почему имя файла 2? или пофиг?
it's just the file editor that put a 2 when I download the file twice 😊  on the server, the file has the good name
источник

AS

Aliaksandr Sadouski in Evolution CMS
Eric FILIPPI
it's better with an image
so if you just ask chunk in your blade like this
{{ $modx->getChunk('elj#dlmenu\RowTpl') }}
you also get chunk from prod server?
источник

EF

Eric FILIPPI in Evolution CMS
Aliaksandr Sadouski
so if you just ask chunk in your blade like this
{{ $modx->getChunk('elj#dlmenu\RowTpl') }}
you also get chunk from prod server?
I'll try
источник
2021 March 12

DM

Dmytro Makohonenko in Evolution CMS
Eric FILIPPI
it's just the file editor that put a 2 when I download the file twice 😊  on the server, the file has the good name
haven't seen such a strange behavior in notepad )) it always show full path instead. i mean when 2 files have same name
источник

EF

Eric FILIPPI in Evolution CMS
Aliaksandr Sadouski
so if you just ask chunk in your blade like this
{{ $modx->getChunk('elj#dlmenu\RowTpl') }}
you also get chunk from prod server?
{{ $modx->getChunk('elj#dlmenu\ParentRowTpl') }} so I get :
<li class="nav-item dropdown elj-grey-text"> <a class="nav-link dropdown-toggle fw-bolder text-uppercase" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></a> [+wrap+] </li>

which is the prod chunk, I can check that because the classes "fw-bolder text-uppercase" are not in the test chunk
источник

EF

Eric FILIPPI in Evolution CMS
here is the test chunk :
<li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-mdb-toggle="dropdown" aria-expanded="false"></a>[+wrap+]</li>
источник

AS

Aliaksandr Sadouski in Evolution CMS
Такое чувство, что там просто DIR отдает путь к старому серверу ))
источник

AS

Aliaksandr Sadouski in Evolution CMS
У меня закончились варианты))
источник

DM

Dmytro Makohonenko in Evolution CMS
)))
источник

DM

Dmytro Makohonenko in Evolution CMS
menu is loaded by ajax call or it is rendering with page?
источник

EF

Eric FILIPPI in Evolution CMS
menu is rendered with page
источник

AS

Aliaksandr Sadouski in Evolution CMS
Eric FILIPPI
here is the test chunk :
<li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-mdb-toggle="dropdown" aria-expanded="false"></a>[+wrap+]</li>
check you
__DIR__
for test server )) just put in blade
{{__DIR__}}
источник

EF

Eric FILIPPI in Evolution CMS
I cal ldlMenu in the blade template
источник

AS

Aliaksandr Sadouski in Evolution CMS
i have no other ideas ))
источник

EF

Eric FILIPPI in Evolution CMS
Aliaksandr Sadouski
check you
__DIR__
for test server )) just put in blade
{{__DIR__}}
I get the test dir path
источник

EF

Eric FILIPPI in Evolution CMS
One more question : when i copy the prod directory to the test, do I have to uninstal/recreate my package ? or is it ok just changing the database config file ?
источник

EF

Eric FILIPPI in Evolution CMS
I tried {{ $modx->getConfig('base_path')}} in the blade, and get the right test path..
источник