Jump to content

rottenteeth

Member
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral

About rottenteeth

  • Rank
    Junior Member
  1. I do the same for this section where @media is declared in .css file, but not helped
  2. This one is resolved in my another post, please close this topic.
  3. So, this helped but still presented on the mobile width and the like when the dropdown menu is activated
  4. Hi, I would like to change something on my whmcs client area, but i can't find it in the code of whmcs and templates This is presented while client's ordering services I only want to translate it to my language Could someone help with this?
  5. I also try with, but this still not working. ->removeChild('RSS Feed');
  6. Hi, actually I made this hook, but the RSS Feed doesn't not dissapper. Could you give me some advice what I'm doing wrong? I don't know which hook is correct, but all of this do not remove View RSS Feed from Announcements. <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { if (!is_null($primaryNavbar->getChild('Announcements'))) { $primaryNavbar->getChild('Announcements') ->removeChild('View RSS Feed'); } }); add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $secondarNavbar) { if (!is_null($secondarNavbar->getChild('Announcements'))) { $secondarNavbar->getChild('Announcements') ->removeChild('View RSS Feed'); } }); add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar) { if (!is_null($primarySidebar->getChild('Announcements'))) { $primarySidebar->getChild('Announcements') ->removeChild('View RSS Feed'); } }); add_hook('ClientAreaSecondarySidebar', 1, function (MenuItem $secondarySidebar) { if (!is_null($secondarySidebar->getChild('Announcements'))) { $secondarySidebar->getChild('Announcements') ->removeChild('View RSS Feed'); } });
  7. Hi, actually I made this hook, but the RSS Feed doesn't not dissapper. Could you give me some advice what I'm doing wrong?
  8. Hi, actually I made this hook, but the RSS Feed doesn't not dissapper. Could you give me some advice what I'm doing wrong? I don't know which hook is correct, but all of this do not remove View RSS Feed from Announcements. <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { if (!is_null($primaryNavbar->getChild('Announcements'))) { $primaryNavbar->getChild('Announcements') ->removeChild('View RSS Feed'); } }); add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $secondarNavbar) { if (!is_null($secondarNavbar->getChild('Announcements'))) { $secondarNavbar->getChild('Announcements') ->removeChild('View RSS Feed'); } }); add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar) { if (!is_null($primarySidebar->getChild('Announcements'))) { $primarySidebar->getChild('Announcements') ->removeChild('View RSS Feed'); } }); add_hook('ClientAreaSecondarySidebar', 1, function (MenuItem $secondarySidebar) { if (!is_null($secondarySidebar->getChild('Announcements'))) { $secondarySidebar->getChild('Announcements') ->removeChild('View RSS Feed'); } });
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated