Lyla
New Member
Posts: 44
inherit
68307
0
Jul 9, 2024 5:45:32 GMT -8
Lyla
44
January 2006
loveforlife
|
Post by Lyla on Feb 3, 2019 19:06:11 GMT -8
I'm using a theme that does not have the checkbox in order to easily move threads around using the drop down actions menu. I know I can go inside and do it all individually but I'd love to just add that box back but when I tried I couldn't get it to connect to the actual 'select' and 'actions' drop down menu.
Can someone tell me the code and where to add it to put the checkbox into the threads?
heirapparent.boards.net/
|
|
inherit
252032
0
Apr 26, 2024 23:51:41 GMT -8
Retread
Tribbial Pursuit.
5,017
January 2018
retread
|
Post by Retread on Feb 3, 2019 20:24:05 GMT -8
I'm using a theme that does not have the checkbox in order to easily move threads around using the drop down actions menu. I know I can go inside and do it all individually but I'd love to just add that box back but when I tried I couldn't get it to connect to the actual 'select' and 'actions' drop down menu. Can someone tell me the code and where to add it to put the checkbox into the threads? heirapparent.boards.net/ Hi Lyla You have a highly modified theme and I'm not familiar with it, so I can't really answer definitively. But I can give you some clues ... Admin Home> Themes> Layout Templates> click Board, then click on the Thread List tab This is what the contents of that template should be for a STOCK ProBoards theme. {foreach $[thread]} <tr id="$[thread.content_id]" class="$[thread.content_class]"> <td class="icon">$[thread.icon]</td> <td class="checkbox clickable">$[thread.checkbox]</td> <td class="main clickable" title="$[thread.short_content]"> <table> <tr> <td>$[thread.icons]</td> <td> $[thread.labels] <span class="link target">$[thread]</span> {if $[thread.pagination]}<div class="ui-micro-pagination">Pages: $[thread.pagination]</div>{/if} </td> </tr> </table> </td> <td class="created-by clickable">$[thread.created_by]</td> <td class="replies clickable">$[thread.replies]</td> <td class="views">$[thread.views]</td> <td class="latest last">by $[thread.last_post.created_by]<br />$[thread.last_post.created_on]</td> </tr> {/foreach} {if !$[thread]} <tr class="last"> <td class="last center" colspan="7">No threads were found.</td> </tr> {/if} The line highlighted in red creates a table cell that holds the checkbox. The styling from one of those classes makes it hidden unless you hover over the thread in the list. If your template has enough similarity you might be able to figure out what to add, and where. Maybe you already have a line that looks almost like that but it's missing the $[thread.checkbox]? idk. If you're unable to figure it out, you could copy the contents you have right now in that template, and paste them in this thread. Maybe someone can sort it. Let me know your progress on this.
|
|
inherit
252032
0
Apr 26, 2024 23:51:41 GMT -8
Retread
Tribbial Pursuit.
5,017
January 2018
retread
|
Post by Retread on Feb 4, 2019 15:51:37 GMT -8
Hey Lyla , I installed that theme on my test forum to take a look at it. Interesting puzzle, this. There are actually two things missing in the Thread List tab of the Board template. I have a fix for you. I chose to locate the checkbox in a location that wouldn't shift the display of anything else. But you can relocate it, if you choose. Admin Home> Themes> Layout Templates> click Board, then click on the Thread List tab Replace this line: <tr id="$[thread.content_id]"> With this line: <tr id="$[thread.content_id]" class="$[thread.content_class]"> Replace these THREE lines: {/if} </div> $[thread]$[thread.labels]</span> With these FOUR lines: {/if} <div class="checkbox clickable">$[thread.checkbox]</div> </div> $[thread]$[thread.labels]</span> Side note:There is very little contrast between the text and background in your Footer. It's of the utmost importance for all members and guests to be able to easily see those prerequisite links. I strongly urge you to change those colors.
|
|
Lyla
New Member
Posts: 44
inherit
68307
0
Jul 9, 2024 5:45:32 GMT -8
Lyla
44
January 2006
loveforlife
|
Post by Lyla on Feb 7, 2019 8:24:28 GMT -8
You're amazing!! Thank you so much! It definitely worked and I'll be sure to change that font color as well! <3
|
|