inherit
133488
0
Nov 22, 2024 11:06:39 GMT -8
toetapping
1,583
November 2008
toetapping
|
Post by toetapping on Jan 16, 2013 13:00:48 GMT -8
Is there a code for "Back to the Top" after each thread posted
OR
If not "Back to the Top" before the word Reply.
Preferably the top one.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jan 16, 2013 13:09:18 GMT -8
Hi, toetapping. Place this link anywhere you want the Back to Top link to be:
|
|
inherit
133488
0
Nov 22, 2024 11:06:39 GMT -8
toetapping
1,583
November 2008
toetapping
|
Post by toetapping on Jan 16, 2013 13:15:46 GMT -8
I don't know about coding Brian.
When you say anywhere. I want it on the page where everyone is replying. Where will I go to start with?
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jan 16, 2013 14:14:49 GMT -8
Where specifically on that page would you like it to be placed? The same place it was in V4?
|
|
inherit
133488
0
Nov 22, 2024 11:06:39 GMT -8
toetapping
1,583
November 2008
toetapping
|
Post by toetapping on Jan 16, 2013 14:17:54 GMT -8
Yes thank you Brian.
|
|
inherit
186864
0
Jul 12, 2013 13:07:52 GMT -8
triplew64
78
December 2012
triplew64
|
Post by triplew64 on Jan 16, 2013 14:29:08 GMT -8
Brian I have separate post for this that was opened a couple of days ago. support.proboards.com/thread/440398/back-top-featureMy question is very similar and I would like to know if we could have a Back to top feature in every post as it was in V4. Attachments:
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jan 16, 2013 14:44:09 GMT -8
Structure > Layout Templates > Thread > Post List
Find this section of the code:
And replace it with this:
|
|
inherit
133488
0
Nov 22, 2024 11:06:39 GMT -8
toetapping
1,583
November 2008
toetapping
|
Post by toetapping on Jan 16, 2013 16:34:04 GMT -8
I can't find it Brian where I delete and add.
{foreach $[post]} <tr id="$[post.content_id]" class="$[post.content_class]{if $[post.even]} even{/if}{if $[viewing_recent_posts]} recent{/if}"> <td class="$[post.unblocked_class]"> <table role="grid"> <tr> <td class="left-panel" rowspan="2"> $[post.created_by_user.miniprofile] </td> <td class="content"> <div class="content-head ui-helper-clearfix"> <div class="info"> <span class="thread-link">$[post.thread]</span> <span class="date">$[post.date]</span> {if $[post.how_posted]} <span class="post-method">via $[post.how_posted]</span> {/if} $[post.likes] </div> <div class="controls"> $[post.quote_button] $[post.edit_button] $[post.likes.button] $[post.select_options] </div> </div> <h3 class="title aria-hidden">Post by $[post.created_by_user.name] on $[post.date]</h3> <div class="message">$[post.message]</div> </td> </tr> <tr> <td class="foot"> {if $[post.created_by_user.signature]} <div class="signature">$[post.created_by_user.signature]</div> {/if} </td> </tr> </table> </td> {if $[post.is_blocked]} <td class="$[post.blocked_class] content center"> <div class="message note pad-bottom">This post is hidden</div> $[post.display_blocked_post_button] </td> {/if} </tr> {/foreach} {if !$[post]} <tr class="last"><td class="last center" colspan="1">No posts were found.</td></tr> {/if}
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jan 16, 2013 16:38:33 GMT -8
I think you removed the "Last Edited" section from your template.
In that case, place this directly under the line that says <td class="foot">:
|
|
inherit
133488
0
Nov 22, 2024 11:06:39 GMT -8
toetapping
1,583
November 2008
toetapping
|
Post by toetapping on Jan 16, 2013 16:51:53 GMT -8
Thank you very much Brian.
|
|
inherit
186864
0
Jul 12, 2013 13:07:52 GMT -8
triplew64
78
December 2012
triplew64
|
Post by triplew64 on Jan 16, 2013 22:48:51 GMT -8
Structure > Layout Templates > Thread > Post ListFind this section of the code: And replace it with this: Worked exactly like I wanted it to. Thanks so much Brian.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jan 16, 2013 23:25:36 GMT -8
No problem, guys.
|
|
inherit
154088
0
Jan 6, 2014 7:13:23 GMT -8
Liz
499
May 2010
frenchliving
|
Post by Liz on Jan 17, 2013 2:14:14 GMT -8
www.frenchfocus.proboards.com/I thought this code was a great solution but when I installed it all it did was jump to the bottom rather than the top! I replaced it with the original code and reset the template to the default setting but the Back To Top link still showed in posts. I've put your code back in again, see below. I don't know what I'm doing wrong! {foreach $[post]} <tr id="$[post.content_id]" class="$[post.content_class]{if $[post.even]} even{/if}{if $[viewing_recent_posts]} recent{/if}"> <td class="$[post.unblocked_class]"> <table role="grid"> <tr> <td class="left-panel" rowspan="2"> $[post.created_by_user.miniprofile] </td> <td class="content"> <div class="content-head ui-helper-clearfix"> <div class="info"> <span class="thread-link">$[post.thread]</span> <span class="date">$[post.date]</span> {if $[post.how_posted]} <span class="post-method">via $[post.how_posted]</span> {/if} $[post.likes] </div> <div class="controls"> $[post.quote_button] $[post.edit_button] $[post.likes.button] $[post.select_options] </div> </div> <h3 class="title aria-hidden">Post by $[post.created_by_user.name] on $[post.date]</h3> <div class="message">$[post.message]</div> </td> </tr> <tr> <td class="foot"> <div class="edited_by">{if $[post.edited]}<span class="italic">Last Edit:</span> $[post.edited.date] by $[post.edited.by_user]{if $[post.edited.reason]}: $[post.edited.reason]{/if} - {/if}<a href="#">Back to Top</a></div> {if $[post.created_by_user.signature]} <div class="signature">$[post.created_by_user.signature]</div> {/if} </td> </tr> </table> </td> {if $[post.is_blocked]} <td class="$[post.blocked_class] content center"> <div class="message note pad-bottom">This post is hidden</div> $[post.display_blocked_post_button] </td> {/if} </tr> {/foreach} {if !$[post]} <tr class="last"><td class="last center" colspan="1">No posts were found.</td></tr> {/if}
|
|
inherit
182159
0
Dec 2, 2019 21:02:31 GMT -8
Thaïs
Mac OS 10.10.3
505
August 2012
thais
|
Post by Thaïs on Jan 17, 2013 4:22:59 GMT -8
Yeah, it doesn't actually scroll to the top... help?
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jan 17, 2013 11:47:01 GMT -8
Sorry about that. I've updated the code in each of my previous posts to work correctly. Apparently the old method doesn't work if there's parameters after the URL.
|
|