Posted by on in iDevelop, iG:Syntax Hiliter, WP-Plugins | 9 comments

An update of iG:Syntax Hiliter Plugin is available immediately. This has some minor but useful updations. ๐Ÿ˜‰
Firstly it supports Line Numbering of code & secondly, the code is now in a box of fixed dimensions & will not be wrapped, meaning that the long lines will not be wrapped & broken, instead a scrollbar will appear. ๐Ÿ˜‰ Many lines would have resulted in the code box stretching vertically, meaning that the page can go un-necessarily long. Now its of fixed dimensions & scrollbars will appear should they are required. ๐Ÿ˜€

Also featuring, an all colour new & improved MANUAL. ๐Ÿ˜€ You should like that & introducing, the path.php file. ๐Ÿ˜• Some of you had problems with setting the Physical Path of the directory where you placed the geshi.php file & the geshi directory. Now just copy the path.php file to the directory where you have placed geshi.php file & the geshi directory, run it in browser & copy the path shown as it is. Its just that easy, really!! ๐Ÿ˜‰

As some of you must’ve noticed, a new version of GeSHi was released a few days back with some bug fixes. I’ll have that soon in this plugin too. ๐Ÿ˜‰

Those planning to use the Code Snippet System along with this plugin should take note that they require this plugin release as they might face some problems with the previous version. ๐Ÿ˜•

Any suggestions, improvements, requests & bug reports are welcome. ๐Ÿ˜€ For any type of support, bugs etc, you can visit or contact me.


some CSS ๐Ÿ˜€

  1. body {
  2.     background-color:#FFFF00; font-family:"Times New Roman", arial, verdana;
  3.     color:#996600; font-weight:bold; font-style:italic; text-decoration:underline overline;
  4. }
  5. .cls1 {
  6.     /* This is class 1 */
  7.     color:red;
  8. }
  9. .cls2 {
  10.     /* This is class 2 */
  11.     color:#880000; font-weight:bold;
  12. }

& how about a little PHP? ๐Ÿ˜‰

  1. <?php
  2. $prId = $_GET&#91;'prId'&#93;;
  3. $rset = $db->runSQL("SELECT prRate, prName, prInventory FROM our_products WHERE prId='$$prId' LIMIT 0, 1");
  4. while($rs = mysql_fetch_array($rset))
  5. {
  6.     $prName = $rs['prName']; // product name
  7.     $prRate = $rs['prRate']; // product rate
  8.     $prInventory = $rs['prInventory']; // product inventory/stock
  9. }
  10. ?>
  11. <tr>
  12.     <td class="title">Product ID:-</td><td class="prDetails"><?php print($prId); ?></td>
  13.     <td class="title">Product Name:-</td><td class="prDetails"><?php print($prName); ?></td>
  14.     <td class="title">Product Rate:-</td><td class="prDetails"><?php print($prRate); ?></td>
  15.     <td class="title">Quantity in Stock:-</td><td class="prDetails"><?php print($prInventory); ?></td>
  16. </tr>

Download iG:Syntax Hiliter v1.1