iDEV Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

IDEVSPOT COMMUNITY FORUMS. -----( ( ( NOT FOR OFFICIAL TECH SUPPORT ) ) )-----

Author Topic: (Solution) How Can I display Category Name On The Sub Category Page ?  (Read 1544 times)

0 Members and 1 Guest are viewing this topic.

nacar

  • Newbie
  • *
  • Gender: Male
  • Posts: 30
    • View Profile
    • WWW
If you want to display the category name in the sub category page. You must editing and adding below codes.

Important Warning : Before you take a backup of your old files do strongly remember. Don't forget this! For this reason, you do not responsible for the negative consequences that may arise from transactions. I did it for my own site and I wanted to share with you.

Modified File : Open the browse.php

Step 1 - Find this code :

Code: [Select]
<?php include "adv_search.php"?>
</td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">

Step 2 - Add this code to bottom :

Code: [Select]
  <tr valign="top">
    <td class="padder5" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td class="padder5">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="colorclass2"><img src="images/nw2.gif" width="10" height="10" /></td>
            <td class="colorclass2"></td>
            <td class="colorclass2"><img src="images/ne2.gif" width="10" height="10" /></td>
          </tr>
          <tr align="center">
            <td class="colorclass2">&nbsp;</td>
            <td class="colorclass2" width="100%"><b><font color="#FF0000">
[ <?php
$SQL 
"SELECT * from CATEGORIES WHERE ID = '$_GET[category]'"$result = @mysql_query$SQL ); $row = @mysql_fetch_array$result );
echo 
"$row[TITLE]";
?>
] KATEGORISINDEKİ FIRMALAR</font></b>
            </td>
            <td class="colorclass2">&nbsp;</td>
          </tr>
          <tr>
            <td height="10"><img src="images/sw2.gif" width="10" height="10" /></td>
            <td class="colorclass2" height="10"></td>
            <td height="10"><img src="images/se2.gif" width="10" height="10" /></td>
          </tr>
        </table>
      </td>
</table>
    </td>
  </tr>

Step 3 - Modify to your language this words :

Code: [Select]
KATEGORISINDEKİ FIRMALAR



Good use.

Screenshot has been added to this message.
« Last Edit: December 22, 2009, 02:05:32 AM by arron »
Logged

USER SIGNATURE :
NacarX
NacarWEB Internet Solutions (Commercial Site)
http://www.nacarweb.com
Using The BizDirectory Script Site
http://www.cekmekoyhizmet.com