[TUT] Text in templates only you can see.

vForums

New Member
When editing a template you may find it hard to find bits of code over and over again so i have made this to help you with this problem.

PHP:
<!-- Your text Here -->

In a template only you will be able to see that test also when pressing enter as long as there is only new lines with no spaces only you can see the enter spaces in the edit templates so what you can do in the header is things like this:

PHP:
<!-- navagation bar start -->


<div align='center'>

    <table  cellpadding="0" cellspacing="0" border="0"  align="center" class="vb_navigation">

<tr align="center">


<if condition="$show['admincplink']"><td width="78" height="34"  class="css_nav"><a href="$admincpdir/index.php$session[sessionurl_q]">Admin CP</a></td></if></a>

<!-- Admin CP Link -->

<if condition="$show['modcplink']"><td width="78" height="34"  class="css_nav"><a href="$modcpdir/index.php$session[sessionurl_q]">Mod CP</a></if>

<!-- Moderator CP Link -->

<!-- Navagation bar end -->

This makes it easier when revisiting the template in the future.

Hope this helped you newbies to coding :) .
 
Top