Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Subject appears twice in FR 1.1.7

Quote Reply
Subject appears twice in FR 1.1.7
In the French Version of 1.1.7 I am getting the subject appearing in the subject area repeated so it appears twice. When I go into the MySQL database the subject only appears once.
This happens with both posts I've done so far.

Jag
Significant Media
Quote Reply
Re: [Jag] Subject appears twice in FR 1.1.7 In reply to
There seems to be a problem in the template view forum that uses %post_subject% twice. There are quite few elsif rules and I can't quite see where the error is.

Jag
Significant Media
Quote Reply
Re: [Jag] Subject appears twice in FR 1.1.7 In reply to
Hi,

There is a problem (copy & paste error) in the french forum_view.html template that causes this.

After all the <%if%> and <%elsif%> tags surrounding it, there are 3 erroneous lines that should have been removed but weren't. They are seperated by a couple blank lines:

<a href="gforum.cgi?post=<%post_id%>;sb=<%sb%>;so=<%so%>;forum_view=<%this_do%>;<%hidden_query%><%if current_user_default_post_display == 1%><%if post_depth%>#<%post_id%><%elsif current_user_jump_to_unread%>;page=unread#unread<%endif%><%endif%>">
<%post_subject%>
</a>

I've attached a copy of the fixed french forum_view.html template here.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Subject appears twice in FR 1.1.7 In reply to
Thanks very much for your help.

Jag
Significant Media