Log in

View Full Version : where is "forums contain new posts" at in template?


pooker
10-04-2008, 08:56 PM
I was wanting to put a background box behind the two images on the bottom of my forum that says "forum contains new posts " "forum contains no new posts" where are these located at in the templates?

Thanks

Lynne
10-04-2008, 09:44 PM
To find the template name - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.

pooker
10-04-2008, 10:11 PM
The comment line says "Icons and login code" where the code is but I do not see that in the templates.

Lynne
10-04-2008, 10:44 PM
You need to find the comment line above that then. It will look something like this:
<!-- BEGIN TEMPLATE: templatename -->

pooker
10-04-2008, 11:13 PM
I did a find next through the text editor and it appears to not be labeled as being apart of a template.

Lynne
10-04-2008, 11:20 PM
All of a page is part of a template in vb. The words may be from a phrase, but that phrase is found in a template.

But, it sounds like you found it, so that is good.

pooker
10-06-2008, 12:01 AM
Actually I didn't find it and still can't

Lynne
10-06-2008, 03:29 AM
Well, it has to be in a template - it happens to be in the FORUMHOME template and I think also the FORUMDISPLAY template - do a search in templates for the phrase "$vbphrase[forum_contains_new_posts]" and you should see all the templates it's in. They are in tables so you should be able to put a background image in the row or columns.