0
Welcome Guest! Login
0 items Join Now

SOLVED Comment PHP Code

    • MariO's Avatar
    • MariO
    • Hero Rocketeer
    • Posts: 340
    • Thanks: 0

    SOLVED Comment PHP Code

    Posted 15 years 6 months ago
    • Hi All

      Ho to comment a block of php code from index.php without deleting it like eg. below please

      <?php if ($this->countModules('debug')) : ?>
      <div id="debug-mod"><jdoc:include type="modules" name="debug" style="none" /></div>
      <?php endif; ?>

      Thank You !!
      Mario
    • Last Edit: 15 years 6 months ago by MariO.
  • Re: SOLVED Comment PHP Code

    Posted 15 years 6 months ago
    • You can change it to:
       
      <?php //if ($this->countModules('debug')) : ?>
      <!--<div id="debug-mod"><jdoc:include type="modules" name="debug" style="none" /></div>-->
      <?php //endif; ?>
       
    • MariO's Avatar
    • MariO
    • Hero Rocketeer
    • Posts: 340
    • Thanks: 0

    Re: SOLVED Comment PHP Code

    Posted 15 years 6 months ago
    • Perfect,

      Thanks

Time to create page: 0.042 seconds