TinyPortal

Development => Support => Topic started by: BLiZZ on July 15, 2010, 09:58:25 PM

Title: TP SSI problem
Post by: BLiZZ on July 15, 2010, 09:58:25 PM
Link to my site: http://invasion.cleverwasteoftime.com
SMF version: 1.1.11
TP version: TP ver. 1.0 beta 5-1
Theme name and version: Default


I have run a search on the site and found several SSI related issues but nothing that I could find that would help. If I missed something, I apologize.

My problem is that I have a main landing page with the SMF ssi_menubar() up top (as seen in the above link. The issue is it has the "Home" link that goes to the forum, but not the "Forum" link as the menu bar does when you are in the forum (http://invasion.cleverwasteoftime.com)

I have tried to fix this myself but only ended up adding extra Forum or Home links or removing them all together.

I was just wondering how I can get the menu bar to have both links on the landing page as it does in the forum menu bar.
Title: Re: TP SSI problem
Post by: ZarPrime on July 16, 2010, 03:33:37 AM
I don't believe that you can use the ssi_menubar function to do this with SMF 1.1.11.  However, I'm fairly certain that this would work if you were using SMF 2.0 RC3 since the Forum button is added differently with that version.

ZarPrime
Title: Re: TP SSI problem
Post by: IchBin on July 16, 2010, 05:14:38 PM
I've never understood why SMF does things like this. I was just talking with Antechinus about this because I was trying to play with SSI.php. The menu doesn't show properly because it's using some other template_menu() function inside the Themes.php file. If you want, you can alter that template_menu function to have the forum button and it should show just fine.
Title: Re: TP SSI problem
Post by: bloc on July 16, 2010, 08:23:28 PM
A quickfix probably..I too noticed quite a few things are doubling up within certain areas. When it really should be just one function for SSI/non-SSI.
Title: Re: TP SSI problem
Post by: BLiZZ on July 17, 2010, 07:05:41 PM
Okay, thanks guys. I will test out the Themes.php file and see what I can do.