Post by Majna » Mon Apr 16, 2018 8:47 pm

Hi Everybody,

is it possible to remove help menu such as home page, documentation and support forum from admin panel ? and how can I do it in OC 3.x ?

Thank you.

Active Member

Posts

Joined
Sat Jul 22, 2017 8:00 pm

Post by straightlight » Mon Apr 16, 2018 9:03 pm

Use Textcrawler to find the keywords you're looking for. admin/view/template/common/header.twig file.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by thekrotek » Mon Apr 16, 2018 9:34 pm

You can remove ANY element from ANY page using simple CSS definition like "display: none". Just need to find out the selector.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by Majna » Tue Apr 17, 2018 7:15 am

thekrotek wrote:
Mon Apr 16, 2018 9:34 pm
You can remove ANY element from ANY page using simple CSS definition like "display: none". Just need to find out the selector.
Could you describe a little bit more please ?...............

Active Member

Posts

Joined
Sat Jul 22, 2017 8:00 pm

Post by xxvirusxx » Tue Apr 17, 2018 2:35 pm

I made a Ocmod extension for you

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Majna » Tue Apr 17, 2018 3:05 pm

xxvirusxx wrote:
Tue Apr 17, 2018 2:35 pm
I made a Ocmod extension for you
Thank you so much for your extension

Active Member

Posts

Joined
Sat Jul 22, 2017 8:00 pm

Post by thekrotek » Tue Apr 17, 2018 3:26 pm

mckrahman wrote:
Tue Apr 17, 2018 7:15 am
Could you describe a little bit more please ?...............
Add this to your custom CSS file:

.nav .dropdown-menu.dropdown-menu-right li:nth-of-type(n+5) {
display: none;
}


If you don't have custom.css, I'd really recommend you to create it and add to the page. It's a lot easier to solve such issues with CSS rather than having a bunch of one-liner extensions.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by xxvirusxx » Tue Apr 17, 2018 3:59 pm

Or....can edit header.twig from admin/view/template/common/

And change this:

Code: Select all

<li><a href="http://www.opencart.com" target="_blank"><i class="fa fa-opencart fa-fw"></i> {{ text_homepage }}</a></li>
<li><a href="http://docs.opencart.com" target="_blank"><i class="fa fa-file-text-o fa-fw"></i> {{ text_documentation }}</a></li>
<li><a href="http://forum.opencart.com" target="_blank"><i class="fa fa-comments-o fa-fw"></i> {{ text_support }}</a></li>
In this:

Code: Select all

<!--<li><a href="http://www.opencart.com" target="_blank"><i class="fa fa-opencart fa-fw"></i> {{ text_homepage }}</a></li>
<li><a href="http://docs.opencart.com" target="_blank"><i class="fa fa-file-text-o fa-fw"></i> {{ text_documentation }}</a></li>
<li><a href="http://forum.opencart.com" target="_blank"><i class="fa fa-comments-o fa-fw"></i> {{ text_support }}</a></li>-->
Without "having a bunch of one-liner extensions.".

His choice :)

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by thekrotek » Tue Apr 17, 2018 5:53 pm

It's always a VERY bad practice to edit core files. Instead the one should ALWAYS use VQMod/OCMod extension. But for tasks like moving or hiding an element on the page it is even better to use custom.css file, which also should be added to header with extension.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by Majna » Mon May 28, 2018 3:02 pm

xxvirusxx wrote:
Tue Apr 17, 2018 2:35 pm
I made a Ocmod extension for you
Thank you for your extension. It is very nice.

I am request you one more help related this extension.

I am attaching a picture here. in that picture there is a red rectangular. There is a horizontal line divider line inside that red rectangular. Can you just help me to remove that that line also using your extension.

I expect your reply

Thank you.

Attachments

oc.jpg

Horizontal Line - oc.jpg (522.83 KiB) Viewed 5860 times


Active Member

Posts

Joined
Sat Jul 22, 2017 8:00 pm

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Majna » Tue May 29, 2018 1:19 am

xxvirusxx wrote:
Mon May 28, 2018 6:21 pm
Here
Thank your for your reply and effort. I installed your new extension. still it is showing the same with that line. I expect a reply

Thank you

Active Member

Posts

Joined
Sat Jul 22, 2017 8:00 pm

Post by straightlight » Tue May 29, 2018 2:52 am

Ensure to follow this post after installing or modifying extensions: viewtopic.php?f=176&p=721388#p718325

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Majna » Tue May 29, 2018 11:42 pm

xxvirusxx wrote:
Mon May 28, 2018 6:21 pm
Here
It is working perfectly.

Super

Thank you

Active Member

Posts

Joined
Sat Jul 22, 2017 8:00 pm

Post by cepcemuh » Wed Sep 12, 2018 5:03 pm

Hello guys, I tried everything above but nothing happened... Please help me... I wanna remove the help menu too, I tried css modifications, twig comments... but nothing... I even tried to delete the lines but nothing again. Can you help me? Thank you!

New member

Posts

Joined
Sat Jan 21, 2017 5:15 pm

Post by straightlight » Wed Sep 12, 2018 8:22 pm

Ensure to have applied these steps after editing any files: viewtopic.php?f=176&p=733002#p718325 . If the results are still unchanged, follow these steps: viewtopic.php?f=176&p=733002#p717782 .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by cepcemuh » Fri Sep 14, 2018 3:25 am

straightlight So many thanks... It worked! I was doing only this one - - admin - > dashboard - > blue icon on the right ... but I was not doing this one - admin - > extensions - > modifications - > refresh button ... And it worked. Many many many thanks!

New member

Posts

Joined
Sat Jan 21, 2017 5:15 pm

Post by mafazmhm » Sun May 08, 2022 1:32 pm

xxvirusxx wrote:
Mon May 28, 2018 6:21 pm
Here
I'm new, here i can not see extension file. can you please put extension download link

Newbie

Posts

Joined
Sun May 08, 2022 1:24 pm

Post by straightlight » Sun May 08, 2022 8:03 pm

An Event Trigger should of been built here.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sun May 08, 2022 10:56 pm

Done. Once installed from your OC admin > extensions > installer page, ensure to clear both OC caches from the admin. Then, go to your OC admin > > systems > users > user permissions and ensure to provide access and modify permissions. Then, go to your extensions > extensions > modules. Install the Admin Help Menu extension and enable its status. Lastly, go to your OC admin > extensions > events page, the event trigger should be listed as active by default. Then, see if the help portion from the top in the admin is still showing.

Attachments

Last edited by straightlight on Mon May 09, 2022 3:47 am, edited 1 time in total.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: Semrush [Bot] and 90 guests