Simple PHP/HTML Change to fix template. 10 line edit.

Discussion in 'Programming' started by dhblewis, May 25, 2009.

  1. #1
    Hi,

    I was playing around with my template and broke it when editing a single file. I have the original and the new.

    It was originally getting the heading_title using javascript but I edited to say
    ?php
    if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {

    ?> <div class="main_content">
    <div class="contents">
    <div class="cont_title"><h1><? echo $product_name; ?> </div></h1> <?

    } elseif ($category_depth == 'top') {


    ?> <div class="main_content">
    <div class="contents">
    <div class="cont_title"><h1><? echo $category_name; ?> </div></h1> <?

    } elseif ($category_depth == 'nested') {


    ?> <div class="main_content">
    <div class="contents">
    <div class="cont_title"><h1><? echo HEADING_TITLE; ?> </div></h1> <?
    }
    ?>

    Editing around line 80 between
    <!-- BEGINING OF EDITING-->

    <!--END OF EDITING-->

    $3 to first person to send me the correct fixed file.

    Thanks
     

    Attached Files:

    dhblewis, May 25, 2009 IP
  2. kishore415

    kishore415 Well-Known Member

    Messages:
    1,462
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    160
    As Seller:
    100% - 0
    As Buyer:
    25.0% - 1
    #2
    Job completed..thanks...
     
    kishore415, May 26, 2009 IP