Wanting to add my site logo onto the navbar by adding code to the collapse-metismenu.php file. Once done I will turn off Brand in Template Settings. Tested this work in the cassiopeia first. Proved it works. Now to override it.
Steps to recreate and observe this ongoing situation (described above):
1. J 5.1.1 updated over 5.1.0
2. Made child template cassiopeia_tma
3. Then made a menu_mod override
4. The 'create html/menu_mod folder' in my child processing did not give me the collapse-metismenu.php infact it gave me several files that aren't in the cassiopeia template mod_menu
5. Copied and modded the file manually. From the child these mods I just made are not being processed.
6. Flushed cache, same, no files. Only a couple files show up (as described here above) I modded the file inside the cassiopeia original template and my changes process. However this will get overwritten by J updates, which have done once already here.
Conclusion: The routine to make overrides of mod_menu is missing a bunch of files. The changes applied to my child file is not processed. I am trying to put site logo into top menu. Works great by adding some code to collapse-metismenu.php
<div class="grid-child">
<div class="navbar-brand">
<a class="brand-logo" href="/">
<img loading="eager" decoding="async" src="https://mysite.biz/images/tma-white-390.png" alt="My Site" title="My Site" width="390" height="33">
</a>
</div>
My workaround is going to be overwritten until this is resolved. Also tried putting my mods into collapse-default.php in the child, and that doesn't process either. I can only see my mods when I put them where they inevitably get overwritten: (below)
<siteroot>/templates/cassiopeia/html/mod_menu/collapse-metismenu.php (original being processed)
<siteroot>/templates/cassiopeia_tma/html/mod_menu/collapse-metismenu.php (child being ignored)
Steps to recreate and observe this ongoing situation (described above):
1. J 5.1.1 updated over 5.1.0
2. Made child template cassiopeia_tma
3. Then made a menu_mod override
4. The 'create html/menu_mod folder' in my child processing did not give me the collapse-metismenu.php infact it gave me several files that aren't in the cassiopeia template mod_menu
5. Copied and modded the file manually. From the child these mods I just made are not being processed.
6. Flushed cache, same, no files. Only a couple files show up (as described here above) I modded the file inside the cassiopeia original template and my changes process. However this will get overwritten by J updates, which have done once already here.
Conclusion: The routine to make overrides of mod_menu is missing a bunch of files. The changes applied to my child file is not processed. I am trying to put site logo into top menu. Works great by adding some code to collapse-metismenu.php
<div class="grid-child">
<div class="navbar-brand">
<a class="brand-logo" href="/">
<img loading="eager" decoding="async" src="https://mysite.biz/images/tma-white-390.png" alt="My Site" title="My Site" width="390" height="33">
</a>
</div>
My workaround is going to be overwritten until this is resolved. Also tried putting my mods into collapse-default.php in the child, and that doesn't process either. I can only see my mods when I put them where they inevitably get overwritten: (below)
<siteroot>/templates/cassiopeia/html/mod_menu/collapse-metismenu.php (original being processed)
<siteroot>/templates/cassiopeia_tma/html/mod_menu/collapse-metismenu.php (child being ignored)
Statistics: Posted by JimHomyak — Sat Jun 01, 2024 8:30 pm