2 questions re:templates

Started by TheDisturbedOne, October 18, 2008, 01:23:07 PM

Previous topic - Next topic

TheDisturbedOne

how do i make it so that the child boards show
Topics Posts
   89     77
instead of
60 Posts
15 Topics
I don't know which file to edit.  I would know how to change it from there


Also how do I add links and bold/colored text into a forum description?

vwf

This should answer your 1st question-


Admin>Boards>Settings>Check "Count Childs Posts in parents totals".

TheDisturbedOne

No I mean....
Ok go on my website:
www.disturbed.us.tc
Then you see how the posts and topics on the index page are ordered, instead of
60 Posts
15 Topics
They just show the numbers and on the top they show "Topics" and "Posts"

Now find a forum that has a child board and click on it.  the child board will sshow
60 Posts
15 Topics
Instead of
15 | 60

ChainLightning

Ahh, okay, I see what you mean. You want the child boards (on that second page) to show separate columns for topics and posts, just like it does on the index page, right?

The file you're looking to modify, then, is the MessageIndex.template.php.


TheDisturbedOne

This isn't resolved.  The other question wasn't answered

ChainLightning

What do you mean by "forum description"? The meta tag, that shows up as a description in search engines?

You can't use colored or bold commands inside those meta tags. URL's, though, you can just type out the address: www.whateversite.net.

Is that what you were asking about?

TheDisturbedOne

No I mean like:
English user help for SMF versions 1.1 and 1.0. Bumping topics less than 24 hours old is frowned upon.
And then having a link "24 hours old" to www.google.com, and having "24 hours old" be bold and colored.

ChainLightning

Ah, okay. It took me minute to figure out what you meant.  :)

You can just use regular HTML in those board descriptions.

For instance, using your example,

English user help for SMF versions 1.1 and 1.0. Bumping topics less than <a href="http://www.google.com"><font color="red"><strong>24 hours old</strong></font></a> is frowned upon.

Copy that into your board description will look like this:

English user help for SMF versions 1.1 and 1.0. Bumping topics less than 24 hours old is frowned upon.


Advertisement: