How to remove the DESCRIPTION section in ADD LISTING

  • Jason
    Jason
    Titan
     
    654 points

    Hi, just wondering, how Do I remove the DESCRIPTION section text box from when adding a listing ?

    I dont want that area available.

    Must be something in the: ( tpl-add.php ) file i must remove or make false, or something,,

    Anyone know ?


    Jason
    Jason
    Titan
     
    654 points

    Hope someone knows


    Josh
    Josh
    Super Guru
     
    13,888 points

    Hello Jason,
    Use below code under Theme Setup >General Setup >Custom css >Footer Styles

    <script>
    jQuery("#form-row-rapper-post_content").remove();
    </script>


    Jason
    Jason
    Titan
     
    654 points

    Thanks Josh,

    I found that, that code actuall disable maps and the date picker from working.

    This is what I put in that works

    Themesetup>General Setup> Custom CSS

    div#form-row-rapper-post_content.form-group.clearfix.col-md-12 {
    display: none;
    }

    It removed the Description box completely without effecting anything else within site

    AND to stop the form requesting that be mandatory field to complete must remove this from

    THEMES>DT>add-form.php

    remove this and keeping all the lines that were remove FREE space otherwise the connection scrip wont match other destinations, around line 976 – 981 must be clear, nothing between the {

    }
    Keeping the bracket on the same line numbers as originally

    if(de3.value == ”){
    alert(‘<?php echo $CORE->_e(array(‘validate’,’0′)); ?>’);
    de3.style.border = ‘thin solid red’;
    de3.focus();
    colAll(); jQuery(‘.stepblock2’).collapse(‘show’);
    return false;
    }

    Yet must say this disables ALL mandatory fields, not just the needed DESCRIPTION as needed


    Josh
    Josh
    Super Guru
     
    13,888 points

    Hello Jason,
    Which other fields are getting affected?Seems ok on my end


    Jason
    Jason
    Titan
     
    654 points

    This pic shows where. Im ok now with other areas, thanks

    Attachments:
    You must be logged in to view attached files.

    Jason
    Jason
    Titan
     
    654 points

    The TITLE in add listing, I dont want it to used by anyone, stop it from MANDATORY


Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.