EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Re: Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 02:09:24 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:55:53 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 01:47:42 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:34:07 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 12:20:17 pm

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Recent Topics ezBlock

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Where is the facebook button color? by EzPortal
February 28, 2023, 06:45:09 pm

Display on Mobile - SMF 2.1.3 and EZ 5.5.2 by BugginIn
December 29, 2022, 04:07:13 pm

Blocks Help by Riggs1973
November 20, 2022, 12:59:30 pm

Surface ol lite theme release Free! by Steffen K.
November 18, 2022, 03:57:24 am

Undefined index: href by EzPortal
October 04, 2022, 08:49:59 pm

SMF-ezportal_column_5.cache): failed to open stream: No such file or directory by EzPortal
June 04, 2022, 11:40:13 am

Arcade block error: failed to open stream: No such file or directory by Shades
May 20, 2022, 02:47:13 pm

Author Topic: Forum link doesn't stay highlighted if URL isn't index.php?action=forum  (Read 11284 times)

0 Members and 1 Guest are viewing this topic.

Offline n1k

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
the Forum link in the menu bar doesn't stay highlighted if the URL isn't index.php?action=forum

the following URLs are part of the forum but the Home link becomes highlighted when they are used:

index.php?board=6.0
index.php?topic=50.0

try it on this site as an example:

http://www.ezportal.com/index.php?action=forum highlights the Forum link.
http://www.ezportal.com/support/ highlights the Home link even though it's part of the forum.
http://www.ezportal.com/support/adding-picture-or-videos/ this post highlights the Home link even though it's part of the forum.

how do i keep the Forum link highlighted when browsing index.php?board=6.0 and index.php?topic=50.0 ?

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1299
  • Karma: 67
Re: Forum link doesn't stay highlighted if URL isn't index.php?action=forum
« Reply #1 on: October 01, 2012, 01:00:23 pm »
You would need to add a check to the hightlight code if board or topic id are present in the url then do the hightlight.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
4882 Views
Last post January 21, 2009, 04:22:45 am
by chinaren
2 Replies
7623 Views
Last post February 13, 2009, 09:37:08 am
by Drum4urlife
2 Replies
8846 Views
Last post July 30, 2010, 11:03:46 pm
by North East FL 4x4
6 Replies
12673 Views
Last post October 26, 2015, 09:52:25 am
by EzPortal
2 Replies
6829 Views
Last post January 14, 2019, 01:06:10 am
by Mont

+-SMF Gallery

Quick Menu


Powered by EzPortal