Can I add a link to the Quick links list?

For support and discussion related to templates and themes in phpBB 3.3.
User avatar
AbuHossam
Registered User
Posts: 361
Joined: Sun Sep 02, 2018 7:24 am

Can I add a link to the Quick links list?

Post by AbuHossam »

Here, as in the picture, I want to add another link. How is that possible?
image 2.jpg
Thanks in advance.
You do not have the required permissions to view the files attached to this post.
Last edited by thecoalman on Thu Apr 11, 2024 5:06 pm, edited 1 time in total.
Recent Topics in DB-UK Community – Where Every Passion Finds Its Place.
User avatar
SpIdErPiGgY
Registered User
Posts: 312
Joined: Sun May 02, 2021 2:11 pm
Location: Erpe-Mere, Aalst, BE
Name: Andy Dm

Re: Can I add a link to the Quick links list?

Post by SpIdErPiGgY »

viewtopic.php?p=15776271#p15776271

Or request an extension
Image
User avatar
AbuHossam
Registered User
Posts: 361
Joined: Sun Sep 02, 2018 7:24 am

Re: Can I add a link to the Quick links list?

Post by AbuHossam »

@SpIdErPiGgY

Thanks for trying, but I'm not using the default prosilver style. & This code does not exist in my current style.
Recent Topics in DB-UK Community – Where Every Passion Finds Its Place.
User avatar
SpIdErPiGgY
Registered User
Posts: 312
Joined: Sun May 02, 2021 2:11 pm
Location: Erpe-Mere, Aalst, BE
Name: Andy Dm

Re: Can I add a link to the Quick links list?

Post by SpIdErPiGgY »

Just copy the navbar_header.html from prosilver to your style
Image
User avatar
AbuHossam
Registered User
Posts: 361
Joined: Sun Sep 02, 2018 7:24 am

Re: Can I add a link to the Quick links list?

Post by AbuHossam »

Oh ALLAH! Is it that simply?
Won't this cause any problems with the current template?
Recent Topics in DB-UK Community – Where Every Passion Finds Its Place.
User avatar
SpIdErPiGgY
Registered User
Posts: 312
Joined: Sun May 02, 2021 2:11 pm
Location: Erpe-Mere, Aalst, BE
Name: Andy Dm

Re: Can I add a link to the Quick links list?

Post by SpIdErPiGgY »

Should be fine 😁
Image
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6441
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Can I add a link to the Quick links list?

Post by thecoalman »

For a custom style the best place to ask is in the styles discussion area.

Copying and pasting code from Prosilver into a another style may or may not work.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
Mannix_
Registered User
Posts: 2029
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Can I add a link to the Quick links list?

Post by Mannix_ »

if the file you want to edit doesn't exist in your custom style it gets inherited from prosilver so in 99% of cases you should be fine
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
illusion034
Registered User
Posts: 8
Joined: Sun Mar 31, 2024 8:37 pm
Location: Bulgaria
Name: Ivan Lazarov

Re: Can I add a link to the Quick links list?

Post by illusion034 »

Open template/navbar_header.html

Find

Code: Select all

<li>
<a href="{U_SEARCH}" role="menuitem">
<i class="icon fa-search fa-fw" aria-hidden="true"></i><span>{L_SEARCH}</span>
</a>
</li>
After this add:

Code: Select all

<li>
<a href="LINK HERE" role="menuitem">
ICON HERE<span>TEXT HERE</span>
</a>
</li>
You must replace:
LINK HERE
ICON HERE == You can get icons from there: https://fontawesome.com/v4/icons/
TEXT HERE
User avatar
ssl
Registered User
Posts: 2029
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Can I add a link to the Quick links list?

Post by ssl »

The OP just needs to tell us if this style is a home-made style or a style developed by a third party, this will best guide the rest of the subject.
If it is a style developed by a third party a link would be welcome
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.14 | PHP: 8.3.12
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
AbuHossam
Registered User
Posts: 361
Joined: Sun Sep 02, 2018 7:24 am

Re: Can I add a link to the Quick links list?

Post by AbuHossam »

Thank you all for this helpful conversation. I truly appreciate your kindness and willingness to assist me.

I use style: proflat.
Recent Topics in DB-UK Community – Where Every Passion Finds Its Place.
User avatar
ssl
Registered User
Posts: 2029
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Can I add a link to the Quick links list?

Post by ssl »

For the proflat style you have to look in the navbar_top.html file

Code: Select all

	<ul id="nav-main" class="nav-main linklist" role="menubar">

		<li id="quick-links" class="quick-links dropdown-container responsive-menu<!-- IF not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH --> hidden<!-- ENDIF -->" data-skip-responsive="true">
			<a href="#" class="dropdown-trigger">
				<i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>{L_QUICK_LINKS}</span>
			</a>
			<div class="dropdown">
				<div class="pointer"><div class="pointer-inner"></div></div>
				<ul class="dropdown-contents" role="menu">
					<!-- EVENT navbar_header_quick_links_before -->

					<!-- IF S_DISPLAY_SEARCH -->
						<li class="separator"></li>
						<!-- IF S_REGISTERED_USER -->
							<li>
								<a href="{U_SEARCH_SELF}" role="menuitem">
									<i class="icon fa-file-o fa-fw icon-gray" aria-hidden="true"></i><span>{L_SEARCH_SELF}</span>
								</a>
							</li>
						<!-- ENDIF -->
						<!-- IF S_USER_LOGGED_IN -->
							<li>
								<a href="{U_SEARCH_NEW}" role="menuitem">
									<i class="icon fa-file-o fa-fw icon-red" aria-hidden="true"></i><span>{L_SEARCH_NEW}</span>
								</a>
							</li>
						<!-- ENDIF -->
						<!-- IF S_LOAD_UNREADS -->
							<li>
								<a href="{U_SEARCH_UNREAD}" role="menuitem">
									<i class="icon fa-file-o fa-fw icon-red" aria-hidden="true"></i><span>{L_SEARCH_UNREAD}</span>
								</a>
							</li>
						<!-- ENDIF -->
							<li>
								<a href="{U_SEARCH_UNANSWERED}" role="menuitem">
									<i class="icon fa-file-o fa-fw icon-gray" aria-hidden="true"></i><span>{L_SEARCH_UNANSWERED}</span>
								</a>
							</li>
							<li>
								<a href="{U_SEARCH_ACTIVE_TOPICS}" role="menuitem">
									<i class="icon fa-file-o fa-fw icon-blue" aria-hidden="true"></i><span>{L_SEARCH_ACTIVE_TOPICS}</span>
								</a>
							</li>
							<li class="separator"></li>
							<li>
								<a href="{U_SEARCH}" role="menuitem">
									<i class="icon fa-search fa-fw" aria-hidden="true"></i><span>{L_SEARCH}</span>
								</a>
							</li>
					<!-- ENDIF -->

					<!-- IF not S_IS_BOT and (S_DISPLAY_MEMBERLIST or U_TEAM) -->
						<li class="separator"></li>
						<!-- IF S_DISPLAY_MEMBERLIST -->
							<li>
								<a href="{U_MEMBERLIST}" role="menuitem">
									<i class="icon fa-group fa-fw" aria-hidden="true"></i><span>{L_MEMBERLIST}</span>
								</a>
							</li>
						<!-- ENDIF -->
						<!-- IF U_TEAM -->
							<li>
								<a href="{U_TEAM}" role="menuitem">
									<i class="icon fa-shield fa-fw" aria-hidden="true"></i><span>{L_THE_TEAM}</span>
								</a>
							</li>
						<!-- ENDIF -->
					<!-- ENDIF -->
					<li class="separator"></li>

					<!-- EVENT navbar_header_quick_links_after -->
				</ul>
			</div>
		</li>
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.14 | PHP: 8.3.12
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26874
Joined: Fri Aug 29, 2008 9:49 am

Re: Can I add a link to the Quick links list?

Post by Mick »

thecoalman wrote: Thu Apr 11, 2024 5:08 pmFor a custom style the best place to ask is in the styles discussion area
Or ProFlat Discussion/Support in this case.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
AbuHossam
Registered User
Posts: 361
Joined: Sun Sep 02, 2018 7:24 am

Re: Can I add a link to the Quick links list?

Post by AbuHossam »

@Mick
I thought this was a general request, not specific to styles.

@ssl
Wow, that's amazing! It actually works!

Thank you so much for your help. I'm incredibly grateful for your expertise and willingness to assist me.

I'm always impressed by the knowledge and skills of experts like you. It's truly inspiring.
Recent Topics in DB-UK Community – Where Every Passion Finds Its Place.

Return to “[3.3.x] Styles Support & Discussion”