ne-blackgreen

Adding ACP and MCP links to Nav Bar - ne-blackgreen

Adding ACP and MCP links to Nav Bar

by morbidmama » Fri Aug 07, 2020 4:45 am

I just uploaded the most recent version of this awesome style, and am busy poking around with customizing the colors. I noticed, however, that the left side of the nav bar only includes links to the quick links drop down and mchat.
yellownavbar.png
(Yellow screenshot) I miss having links to the ACP and the MCP there. I am a dabbler in code, although I literally learn something new every day, so I was wondering how hard it would be to get those two links into the nav bar as can be seen in the blue screen shot.
bluenavbar.png
Thanks in advance, and also for creating this sweet style.
morbidmama
Registered User
Posts: 4
Joined: Thu Apr 06, 2017 12:46 am
Contact:

Re: Adding ACP and MCP links to Nav Bar

by nachtelb » Fri Aug 07, 2020 7:31 am

Hello, you need to change this in the template files.

1. The template folder of my style is nearly empty. You can change it directly in prosilver template files, but every update could break it.

2. Maybe it's better to copy the changed files inside of my templates template folder. So you can better follow changes when you update.

3. You can find and use a extension to add links to the menue.

I can't give you better advice at the moment, breakfast is ready. Ask again if you need further help. Maybe I need a moment then.
nachtelb
Registered User
Posts: 158
Joined: Sun Feb 19, 2006 2:00 pm
Location: Germany
Name: Bernhard
Contact:

Re: Adding ACP and MCP links to Nav Bar

by morbidmama » Sat Aug 08, 2020 2:26 am

Hope breakfast was excellent :) I cannot find a "template folder" within your style. When extracted, I found one folder named "theme". There are 4 folders inside that one, titled de, en, fr, and images. Only the images folder has a folder inside, and that is titled plupload. What am I overlooking? Thanks again!
morbidmama
Registered User
Posts: 4
Joined: Thu Apr 06, 2017 12:46 am
Contact:

Re: Adding ACP and MCP links to Nav Bar

by nachtelb » Fri Aug 14, 2020 2:47 pm

You need to create a folder named "template" in the ne-blackgreen-Folder.
Copy the "overall_header.html" file from your prosilver/template-Folder into the new folder.
You need to change the code inside the newly created file.
If you own a style with acp and mcp-links as you show in your screenshot, you can find the needed code there(/style-with-links/template/overall_header.html).
Search for this line:

Code: Select all

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
If you are lucky you will find the needed code after this line.
nachtelb
Registered User
Posts: 158
Joined: Sun Feb 19, 2006 2:00 pm
Location: Germany
Name: Bernhard
Contact: