Log in

View Full Version : which templates are called here???


nirvana43
04-25-2008, 05:26 PM
somebody please tell me which templates are called on following page :
http://www.projectsplanet.com/ready-made-technical-seminar-paper-presentations/

and which template is used here : http://www.projectsplanet.com/ready-made-technical-seminar-paper-presentations/652-humanoid-robotics-seminar-paper-presentation.html

please help :(

there are w3c validation errors...
i just want to know the template names. :(

Lynne
04-25-2008, 05:55 PM
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.

nirvana43
04-26-2008, 01:11 AM
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.

its not working man!! it aint showing me template names!! thats why i'm asking here. please tell me template names man :(

Lynne
04-26-2008, 02:44 AM
Did you turn on the option I told you to? If you did, then the template name will be in the source code.

nirvana43
04-26-2008, 02:45 AM
Did you turn on the option I told you to?

OK SORRY MY FAULT!! I kept clean html source option ON thats why it was removing those comments from source!! i got the template name :D
thanks

Lynne
04-26-2008, 02:50 AM
Too many templates are used on that page, or any page. If you can't be more specific about exactly what part of the page you need to know about and you can't get the template names turned on, then I can't help you with it. I suppose your other option is to turn on debug mode and then every single template called on that page will be listed on the bottom.

edit: I just looked again and now you have turned the template names on. So, just view your source code around the part you are wondering about and the template name will be there.

nirvana43
04-26-2008, 03:02 AM
thanks a million man..
but it seems like line numbers are not matching. i mean i cant figure out on which line error is caousing..
btw here is code block where error persist
can u plz tell me hwere that <table> tag suppose to be closed??

Here :

<tbody>
<tr align="center">
<td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">

<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
<td>
<div>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
[B]</table>

</td>
<!-- START REMOVE LAST POST SUB-FORUMS IN FORUMDISPLAY FOR GUESTS -->
<if condition="$bbuserinfo[usergroupid] == 1">
<td class="alt2">$forum[threadcount]</td>
<td class="alt1">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt2"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
<else />
<td class="alt2">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</if>
<!-- END REMOVE LAST POST SUB-FORUMS IN FORUMDISPLAY FOR GUESTS -->
</tr>
</tbody>
<if condition="$childforumbits">
<tbody>
$childforumbits
</tbody>
</if>



These are the errors i'm getting :
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.projectsplanet.com%2Fbu y-sell-college-school-projects%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

Lynne
04-26-2008, 03:07 AM
Actually, it's right before that block of code. You forgot the </thead> tag that goes right before the <tbody> tag you have in your code above.

nirvana43
04-26-2008, 03:21 AM
Actually, it's right before that block of code. You forgot the </thead> tag that goes right before the <tbody> tag you have in your code above.

nop not happening man! i tried </thead> at all positions before <tbody> in forumhome_forumbit_level1_post template. but its not working

also another thing here is only 1 error
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.projectsplanet.com%2Fro botics-projects%2F574-wireless-unmanned-ground-vehicle-pick-place-robot-college-project.html&charset=%28detect+automatically%29&doctype=Inline&group=0
i even know in what block of code it exist but cant figure out the template name. please can you tell me template name?? :(

Lynne
04-26-2008, 03:36 AM
nop not happening man! i tried </thead> at all positions before <tbody> in forumhome_forumbit_level1_post template. but its not working
It's not in that template. It's in the template prior to that one being called. Probably the FORUMDISPLAY template. That's where I would look anyway. In fact, I just looked at mine and I have a </thead> prior to the $forumbits being called. You need to start comparing your templates to the default templates to see if you are missing tags that should be there.

As for other errors on pages, read what it says in the validator. It usually tells you what is wrong. Good luck.

nirvana43
04-26-2008, 03:43 AM
It's not in that template. It's in the template prior to that one being called. Probably the FORUMDISPLAY template. That's where I would look anyway. In fact, I just looked at mine and I have a </thead> prior to the $forumbits being called. You need to start comparing your templates to the default templates to see if you are missing tags that should be there.

As for other errors on pages, read what it says in the validator. It usually tells you what is wrong. Good luck.

wow man!! first 1 is fixed.. but i really cant find out where that </div> is missing.
i checked postbit template, postbit_legacy template but cant find out...
i think there is something wrong in BBcode definition... can u tell me where can i edit html syntax of < center> </ center> bbcode??
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.projectsplanet.com%2Fro botics-projects%2F574-wireless-unmanned-ground-vehicle-pick-place-robot-college-project.html&charset=%28detect+automatically%29&doctype=Inline&group=0

Lynne
04-26-2008, 03:47 AM
wow man!! first 1 is fixed.. but i really cant find out where that </div> is missing.
It doesn't say you are missing a div, it says:
Line 646, Column 87: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").



Like I said, read what it says. It puts that text there to help you, not just to fill in the page.

nirvana43
04-26-2008, 03:48 AM
It doesn't say you are missing a div, it says:


Like I said, read what it says. It puts that text there to help you, not just to fill in the page.

yes but in which tmplate??
there is no template name there.. like template xyz begins etc. :(

Lynne
04-26-2008, 03:52 AM
Paste the source code in text editor and turn on line numbers. That's what I've been doing when helping you.

nirvana43
04-26-2008, 03:59 AM
Paste the source code in text editor and turn on line numbers. That's what I've been doing when helping you.

but its giving me wrong line numbers na sir.. thats why i'm asking you... it says line 646 contains error and line 646 i'm getting here is :
<td class="vbmenu_control" id="linkbacktools" nowrap="nowrap">
<a href="http://www.projectsplanet.com/robotics-projects/574-wireless-unmanned-ground-vehicle-pick-place-robot-college-project.html?nojs=1#links">LinkBack (9)</a>
<script type="text/javascript"> vbmenu_register("linkbacktools"); </script>

</td>

there is no <div> tag...
but i'm think here is problem :
<!-- message -->
<div id="post_message_594"><b><font color="Purple"><font size="5"><div align="center">Wireless Unmanned Ground Vehicle<br />

(Pick And Place Robot)</div></font></font></b><br />
<br />

but there is no template start name so cant find out and also that code exist at line 873 thats what showing it to me here :(
so please kindly help man

Lynne
04-26-2008, 04:14 AM
When you don't see the template name *right* there, you go up the lines until you do see it. Or, like in the code you posted above, do a search in your templates for "<!-- message -->" or any comment around in the source code. Sometimes you need to get creative in finding the template.

As for the lines, I'm not getting the exact lines either, but don't forget you need to view the site as a guest, which is what the validator is doing. You can't view it as an admin because the code will be different.

nirvana43
04-26-2008, 04:23 AM
When you don't see the template name *right* there, you go up the lines until you do see it. Or, like in the code you posted above, do a search in your templates for "<!-- message -->" or any comment around in the source code. Sometimes you need to get creative in finding the template.

As for the lines, I'm not getting the exact lines either, but don't forget you need to view the site as a guest, which is what the validator is doing. You can't view it as an admin because the code will be different.

still not able to find out the template :(

--------------- Added 1209188571 at 1209188571 ---------------

When you don't see the template name *right* there, you go up the lines until you do see it. Or, like in the code you posted above, do a search in your templates for "<!-- message -->" or any comment around in the source code. Sometimes you need to get creative in finding the template.

As for the lines, I'm not getting the exact lines either, but don't forget you need to view the site as a guest, which is what the validator is doing. You can't view it as an admin because the code will be different.

please help bro... you are my only hope to get rid of that 1 error :(