Post by mckrahman » 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.

New 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.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


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
Active Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by mckrahman » 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 ?...............

New 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

Attachments


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by mckrahman » 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

New 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
Active 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 :)

Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

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
Active Member

Posts

Joined
Sun Jul 03, 2016 12:24 am

Who is online

Users browsing this forum: enarco, lindsey80 and 17 guests