-
Content Count
9 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout rottenteeth

-
Rank
Junior Member
-
How to hide RSS Feed from Announcements in Client Area?
rottenteeth replied to rottenteeth's topic in Developer Corner
I do the same for this section where @media is declared in .css file, but not helped -
Hide Announcements, Knowledgebase, RSS etc
rottenteeth replied to Rigsby's topic in Developer Corner
This one is resolved in my another post, please close this topic. -
How to hide RSS Feed from Announcements in Client Area?
rottenteeth replied to rottenteeth's topic in Developer Corner
So, this helped but still presented on the mobile width and the like when the dropdown menu is activated -
Thank you very much! I got it! 🙂
-
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?
-
How to hide RSS Feed from Announcements in Client Area?
rottenteeth replied to rottenteeth's topic in Developer Corner
I also try with, but this still not working. ->removeChild('RSS Feed'); -
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'); } });
-
Hide Announcements, Knowledgebase, RSS etc
rottenteeth replied to Rigsby's topic in Developer Corner
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? -
Hide Announcements, Knowledgebase, RSS etc
rottenteeth replied to Rigsby's topic in Developer Corner
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'); } });