Results 1 to 3 of 3

Thread: Edit Item

  1. #1
    Thread Starter
    Member sed671's Avatar
    Join Date
    Apr 2010
    Location
    Guam
    Posts
    68
    Thanks
    6
    Thanked 9 Times in 9 Posts

    Edit Item

    This was a problem I encountered and figured out the solution. So I thought I'd share.

    In the "Edit Your Ad" page, if you notice that your description textfield is below the description label, there is an extra

    <div class="clr"></div>

    right after the label which is causing the textfield to shift down.

    Solution
    Open theme_functions.php and look for this block of code (sorry. was using WP editor and don't know the line number)

    Code:
     case 'text area':
    
                ?>[*]
                        <label><?php echo $result->field_label;?>: <?php if($result->field_req) echo '<span class="colour">*</span>' ?></label>
                       <div class="clr"></div>
                        <textarea rows="4" cols="23" name="<?php echo $result->field_name; ?>" id="<?php if ($result->field_name == 'post_content') { echo 'description'; } else { echo $result->field_name; } ?>"><?php if ($result->field_name == 'post_content') { echo $getad->post_content; } else { echo $post_meta_val; } ?></textarea>
                        <div class="clr"></div>
                    
                <?php
                break;
    and change to this (first occurence of <div class="clr"></div> is removed):
    Code:
     case 'text area':
    
                ?>[*]
                        <label><?php echo $result->field_label;?>: <?php if($result->field_req) echo '<span class="colour">*</span>' ?></label>
                        <textarea rows="4" cols="23" name="<?php echo $result->field_name; ?>" id="<?php if ($result->field_name == 'post_content') { echo 'description'; } else { echo $result->field_name; } ?>"><?php if ($result->field_name == 'post_content') { echo $getad->post_content; } else { echo $post_meta_val; } ?></textarea>
                        <div class="clr"></div>
                    
                <?php
                break;
    I hope that helps
    GuamGrabs.com - A local classifieds site for Guam

  2. #2
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts

    Re: Edit Item

    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Junior Member canopusresearch's Avatar
    Join Date
    Apr 2010
    Location
    Duxbury, MA, USA
    Posts
    25
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: Edit Item

    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Multiple Item Columns On Home Page
    By Spacifieds in forum ClassiPress General Discussion
    Replies: 1
    Last Post: September 11th, 2009, 04:31 AM
  2. Prodcut Review per list item
    By icecubejackal in forum ClassiPress General Discussion
    Replies: 0
    Last Post: August 27th, 2009, 08:42 PM