Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 10 Years, 8 Months, 3 Weeks ago [General] Editing Templates
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Hello

I'm making template changes on this forum to reduce the number of columns that appear on the index page: http://forum.world-events.org.uk

However, after moving the threads/posts indicators under the last post info, the first forum in a category doesn't show the number of threads/posts, whereas the rest of the forums do.

Any assistance?
No PM support
My YouTube
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
I can see the post counters for every forum. Have you reverted your changes?
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
Yeah I just did that. What I had was this:
Name of thread
Last Post Date by User
Threads: ## Posts: ##

This apparently didn't work, the thread/post counters appeared under the wrong forums.
No PM support
My YouTube
#4
Solved: 10 Years, 8 Months, 3 Weeks ago
Can you post your edited template? Changing a template should not affect this...
#5
Solved: 10 Years, 8 Months, 3 Weeks ago
This was what I had in the last post template before I reverted it:
<span class="smalltext">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date} {$lastpost_time} {$lang->by} {$lastpost_profilelink}<br />
Threads: {$threads}{$unapproved['unapproved_threads']}
Posts: {$posts}{$unapproved['unapproved_posts']}
</span>
All I did was delete the codes in the other templates for the columns and put the thread and post indicator template calls in another location.
No PM support
My YouTube
#6
Solved: 10 Years, 8 Months, 3 Weeks ago
Quote:...post indicator template calls in another location.

That could be the reason. What exactly did you move to which position? Or have you made any changed to the core files?
#7
Solved: 10 Years, 8 Months, 3 Weeks ago
I didn't do any core edits.
I moved the following from forumbit_depth2_forum to forumbit_depth2_lastpost:
{$threads}{$unapproved['unapproved_threads']}
{$posts}{$unapproved['unapproved_posts']}
No PM support
My YouTube
#8
Solved: 10 Years, 8 Months, 3 Weeks ago
Without looking at the file I assume that's the problem. If you leave the vars in their original template it should work.
#9
Solved: 10 Years, 8 Months, 3 Weeks ago
I reverted the templates, but I don't like that extra set of columns. I'm trying to be unique with a different layout that won't work Sad
No PM support
My YouTube
#10
Solved: 10 Years, 8 Months, 3 Weeks ago
I am not quite sure what you are trying to do. Which column do you want to delete and where do you want to put the information instead?
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)