Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: okchunter - helmikuu 26, 2009, 10:58:36 AP

Otsikko: Go Up and Go Down links...
Kirjoitti: okchunter - helmikuu 26, 2009, 10:58:36 AP
I have noticed that the Go Down link works but the Go Up link does not work. Does anyone know how to fix it so the Go Up link works as it should? It works as it should in the threads but no in the post listings.
Otsikko: Re: Go Up and Go Down links...
Kirjoitti: Rumbaar - maaliskuu 01, 2009, 04:00:56 AP
Can you post to a sample of where the up link is not working on your forum?
Otsikko: Re: Go Up and Go Down links...
Kirjoitti: okchunter - maaliskuu 02, 2009, 07:06:47 IP
OK for example I am at the main forum page that lists all the different forum catagories, I click on Announcements section and it lists all available threads there, I click the down link it goes to the bottom but when I click te up link it does nothing. Now if I click on an actual thread inside the thread the up and down links both work.
Otsikko: Re: Go Up and Go Down links...
Kirjoitti: Rumbaar - maaliskuu 02, 2009, 07:14:42 IP
I mean a link to the sample, not a description.

Is the <a href="#top"> HTML code being generated by the MessageIndex.template.php file?
Otsikko: Re: Go Up and Go Down links...
Kirjoitti: okchunter - maaliskuu 02, 2009, 11:26:24 IP
Lainaus käyttäjältä: Rumbaar - maaliskuu 02, 2009, 07:14:42 IP
I mean a link to the sample, not a description.

Is the <a href="#top"> HTML code being generated by the MessageIndex.template.php file?

Sorry about that I misunderstood..
Code sample for link when clicking Go Up at thread listing:
http://www.adv4x4online.com/forum/index.php?board=2.0#top

Clicking Go Up inside an actual thread.
http://www.adv4x4online.com/forum/index.php?topic=14.0#top
Otsikko: Re: Go Up and Go Down links...
Kirjoitti: Rumbaar - maaliskuu 03, 2009, 12:50:07 AP
The custom theme you're using isn't rendering the <a name="top">.  It missing from the MessageIndex.template.php.  Make sure it's RC1 compatible and/or contact the author.
Otsikko: Re: Go Up and Go Down links...
Kirjoitti: okchunter - maaliskuu 08, 2009, 03:45:21 IP
Lainaus käyttäjältä: Rumbaar - maaliskuu 03, 2009, 12:50:07 AP
The custom theme you're using isn't rendering the <a name="top">.  It missing from the MessageIndex.template.php.  Make sure it's RC1 compatible and/or contact the author.

I would agree but all I did was take the stock rc1 theme, copy it to a new directory and then altered colors. I have the same issue using the stock theme from RC1.
Otsikko: Re: Go Up and Go Down links...
Kirjoitti: okchunter - maaliskuu 08, 2009, 03:49:08 IP
I looked in the MessageIndex.template.php and that does exist. Like I said it works fine inside posts but not the thread listings.
Otsikko: Re: Go Up and Go Down links...
Kirjoitti: Rumbaar - maaliskuu 08, 2009, 08:22:17 IP
Oh you are right it appears to be missing, I've created a bug report on the mater:
Bug #3318: 'Go up' "top" placeholder missing from MessageIndex.template.php (http://dev.simplemachines.org/mantis/view.php?id=3318)
Otsikko: Re: Go Up and Go Down links...
Kirjoitti: okchunter - maaliskuu 11, 2009, 04:49:51 IP
ok thanks for posting a bug report. I get the same result in even on the default theme.
Otsikko: Re: Go Up and Go Down links...
Kirjoitti: Rumbaar - maaliskuu 11, 2009, 04:57:36 IP
Yes they moved the link tree call out of the MessageIndex.template, and in doing so removed the go up placeholder.
Otsikko: Re: Go Up and Go Down links...
Kirjoitti: okchunter - maaliskuu 11, 2009, 05:07:38 IP
Good deal. I see they fixed it and I assume fix will be in the next release. Thanks again.