Intechnic
Users Developers
Home / Forums / In-Portal CMS / Need Help! / list_search_cats.tpl / Topic Posts

In-Portal Forum

This is a place for users of In-Portal to ask questions, discuss various topics, and interact with other members of the In-Portal Community. Please report bugs through the Bugs Team (not the Forum). If you are interested in contributing or joining one of the many Teams for In-Portal, please check out the Contribute section of the website.
 

In-Portal Forum

list_search_cats.tpl (2)


Posted: 06/18/2005 5:56:10 PM

Reply Quoted  


Hi

Just have a problem with the file "list_search_cats.tpl" of the inlink2-theme.

As soon as I delete following part...

<table border="0" cellspacing="0" cellpadding="0" class="relevance-bar" width="40" height="5">
<tr>
<inp:cat _Field="relevance" _DisplayMode="bar" _OffBackGroundColor="white" _OnBackGroundColor="red" _OnImage="img/relevance/rel.gif" />
</tr>
</table>-->

In-Portal wil add the text below, as soon as I save the template. Why does it add such a text?

</textarea>
</td>
</TR>
<tr class="table_color1" >
<td colspan="3">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="30%" align="left" id="taghelp"> </td>
<td width="70%" align="left" id="tagexample"> </td>
<!--<td width="33%" align="left" id="attrhelp"> </td>-->
<!--<td id="tagattribs" valign="top"> </td>-->
</tr>
</table>
</td>
</tr>
<TR class="table_color2" >
<td colspan="3">
<input type="hidden" NAME="Action" VALUE="m_template_edit">
<INPUT TYPE="hidden" NAME="ThemeId" VALUE="2">
<INPUT TYPE="hidden" NAME="FileId" VALUE="296">
<INPUT TYPE="hidden" NAME="FilePath" VALUE="/search_results">
<input type="hidden" name="ThemeEditStatus" VALUE="0">
</td>
</tr>
</FORM>
</TABLE>
<SCRIPT language="JavaScript">
init('template','contents');
LoadTags('taglib','global',false);
LoadTags('itemtags','global',true);
</SCRIPT>

</body>
</html>

Posted: 06/20/2005 10:14:48 AM

Reply Quoted  


linkit.ch wrote:06/18/2005 5:56:10 PM
Hi

Just have a problem with the file "list_search_cats.tpl" of the inlink2-theme.

As soon as I delete following part...

<table border="0" cellspacing="0" cellpadding="0" class="relevance-bar" width="40" height="5">
<tr>
<inp:cat _Field="relevance" _DisplayMode="bar" _OffBackGroundColor="white" _OnBackGroundColor="red" _OnImage="img/relevance/rel.gif" />
</tr>
</table>-->

In-Portal wil add the text below, as soon as I save the template. Why does it add such a text?

</textarea>
</td>
</TR>
<tr class="table_color1" >
<td colspan="3">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="30%" align="left" id="taghelp"> </td>
<td width="70%" align="left" id="tagexample"> </td>
<!--<td width="33%" align="left" id="attrhelp"> </td>-->
<!--<td id="tagattribs" valign="top"> </td>-->
</tr>
</table>
</td>
</tr>
<TR class="table_color2" >
<td colspan="3">
<input type="hidden" NAME="Action" VALUE="m_template_edit">
<INPUT TYPE="hidden" NAME="ThemeId" VALUE="2">
<INPUT TYPE="hidden" NAME="FileId" VALUE="296">
<INPUT TYPE="hidden" NAME="FilePath" VALUE="/search_results">
<input type="hidden" name="ThemeEditStatus" VALUE="0">
</td>
</tr>
</FORM>
</TABLE>
<SCRIPT language="JavaScript">
init('template','contents');
LoadTags('taglib','global',false);
LoadTags('itemtags','global',true);
</SCRIPT>

</body>
</html>


Hello,

There is HTML comment tag

<!--


right above the opening table tag which should be removed too.

Thanks.