News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

March 30, 2020, 09:53:35 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189563
  • Total Topics: 20807
  • Online Today: 62
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 1
Guests: 40
Total: 41

Author Topic: Edit the menu  (Read 335 times)

0 Members and 1 Guest are viewing this topic.

Offline Rock Lee

  • Jr. Member
  • **
  • Posts: 5
Edit the menu
« on: February 20, 2020, 02:58:43 PM »
Well I need to add a download manager so use TP so far I could leave it as I want but the menu item doubled to me:

>TinyPortal >>TinyPortal >>downloads You can see it here > https://www.bombercode.net/foro/index.php

I thought I had some permissions wrong but I can't leave it as it is here... More information: SMF 2.0.17, PHP: 7.1.33, Theme Boru_v1, TP 1.6.5...


Regards!

ADD: I had no problem with the installation and nothing marks the error log. I have some minor problems with the editor's embed but it is random to if I am not sure what the problem might be.

Offline @rjen

  • Support Team
  • *
  • Posts: 2012
    • FJR-club Nederland
Re: Edit the menu
« Reply #1 on: February 20, 2020, 03:07:34 PM »
Interesting, never seen that before... and TBH no clue how that happened, or how to fix it...
Running TP1.6.4 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline lurkalot

  • Administrator
  • *
  • Posts: 6466
    • Camera Craniums
Re: Edit the menu
« Reply #2 on: February 20, 2020, 03:17:22 PM »
Interesting, never seen that before... and TBH no clue how that happened, or how to fix it...

I've not seen that either. Wonder if something to do with the theme in use. 

Rock Lee, does it do the same when viewing with the default theme?

Offline lurkalot

  • Administrator
  • *
  • Posts: 6466
    • Camera Craniums
Re: Edit the menu
« Reply #3 on: February 20, 2020, 03:49:14 PM »
Just tried the Theme Boru_v1 and it does indeed display the Tinyportal twice. 

Offline Rock Lee

  • Jr. Member
  • **
  • Posts: 5
Re: Edit the menu
« Reply #4 on: February 20, 2020, 04:16:06 PM »
With the default theme it works as it should, that's why it seemed weird (that's why it gives me problems in the editor sometimes or how it doesn't load the file). That is why I looked at the error logs to see if anything appeared but nothing and in the browser console it also does not show me an error or a conflict.... For example, now I see in the url add "forum" when I want to access incognito firefox https://www.bombercode.net/foro/forum/

Offline Rock Lee

  • Jr. Member
  • **
  • Posts: 5
Re: Edit the menu
« Reply #5 on: February 24, 2020, 08:40:58 AM »
You can solve it by commenting on line 458 of the index.template.php although I don't know if it is the right option, the line of code apparently affected is:

Code: [Select]
<a  href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>', $button['title'], '</a>
I don't know what effects it will have on the rest of the site but I will try to prove if something fails and if it is necessary to adapt the line.


Regards!