TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,242
  • Total Topics: 21,353
  • Online today: 488
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 314
  • Total: 315
  • lurkalot

Tinyportal Home & Forum buttons

Started by pecorazza, April 10, 2007, 02:04:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

Please post your index.template.php file from your default theme.

jpb

Thank you IchBin.

I will first try by myself. Maybe I can find the problem (and learn a little bit). If I can't solve the problem by myself, I send you the index.template.php file.

jpb

IchBin

jpb, the problem is that you renamed the button. Of course its going to show home when you're in the forum if you renamed the home button to forum.

Porky

Ich what they are saying whatever button they push the forum button stays Highlighted the Highlight doesn't go to the button they pushed like it should

IchBin

He renamed the home button to forum. I confirmed that after looking at his page. So that means the the forum button is actually the home button (in code). This means that the button will not highlight while its in the forum (because its actually the home button).

Basically what I'm saying is that its not an error in the theme, its an error in the changes he made.

pecorazza

Good Morning guys. Here we go.
@IchBin Attached you will find my index.template.php file from the default theme. I did not make any changes at it.
Thx again

ZarPrime

Quote from: pecorazza on April 10, 2007, 02:04:28 PM
Hi everybody,

I happily installed and ran TinyPortal 0.98 on SMF 1.1.2 forum. Everything works fine except for one little thing. When i click the "Forum" button (default theme), the forum itself appears (http://********/index.php?action=forum), meaning that the link works well, but the Forum button doesn't get highlighted. Instead of that, the "Home" button remains highlighted (http://********/index.php).

By the way, the same thing is happening right here in this forum. Is ther eany way to sort this out?

Thank you

pecorazza,

Since you are doing this on a local machine, can you make a few screenshots (and attach them) to let Ichbin see what is happening.  It might help him to sort out what you are talking about.  If you can, attach the following screenshots ...

1.  1 showing what the menu bar looks like when you are in the Forum.
2.  1 showing what the menu bar looks like when you are on your homepage.
3.  1 showing what the menu bar looks like when you are in this topic here on TinyPortal.

As for the Home Button here on TinyPortal, are you talking about the slightly pink tint when the Forum is set to the New Definition theme?  If so, I think it is supposed to be like that.

ZarPrime

G6Cad

Seems like you had the gallery installed to your forum before you installed TP, so you must have got some error during the install of tp to the index.template.php cause it have skipped to place the 'forum', to the current action because the 'gallery', was in first place.

I added the 'forum', to the action so try the file now.

pecorazza

Ok. Here we go, the 4 screenshots


1.  1 showing what the menu bar looks like when I am in the Forum.
2.  1 showing what the menu bar looks like when I am on my homepage.
3.  1 showing what the menu bar looks like when I am in this topic here on TinyPortal.
4.  1 showing what the menu bar looks like when I am in the Help.

pecorazza

Quote from: G6â„¢ on April 11, 2007, 10:08:54 AM
Seems like you had the gallery installed to your forum before you installed TP, so you must have got some error during the install of tp to the index.template.php cause it have skipped to place the 'forum', to the current action because the 'gallery', was in first place.

I added the 'forum', to the action so try the file now.
Yes G6, I do installed the gallery before. I tried with the file you attached and it's almost done :)
Still one thing: when i click over a board category (let's say "General Discussion") it always highlights the HOME button. This is the action: /index.php?action=collapse;c=1;sa=expand#1

This website is proudly hosted on Crocweb Cloud Website Hosting.