+ Reply to Thread
Results 1 to 3 of 3

Thread: Make Contact button into a tab on listing page

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Posts
    27

    Make Contact button into a tab on listing page

    I'm using Escort script 4.2.0 and was wondering if there's a way to copy the Contact button into the tabbed section on a listing page. (Inbetween the Listing & Tell a Friend tab)

    contact_tab.jpg

  2. #2
    Yes it's posible but honestly its not good idea.

    Tabs is supposed to show some content in the content area when you click on it, maybe in addition of just moving button you want to move contact form from popup to be tab
    Please clarify i think in this case i can prepare instructions for you.

  3. #3
    Quote Originally Posted by Mike F. View Post
    Yes it's posible but honestly its not good idea.

    Tabs is supposed to show some content in the content area when you click on it, maybe in addition of just moving button you want to move contact form from popup to be tab
    Please clarify i think in this case i can prepare instructions for you.
    Hello Mike. we have the usual contact button wich opens the contact form into the modal_mask.

    i try to add the same contact form but not in modal mask by adding

    <form name="contact_owner" onsubmit="flynax.contactOwnerSubmit($(this).find(' input[type=submit]'), {$listing_data.ID});return false;" method="post" action="">
    <table class="submit_modal">
    {if $isLogin}
    <tr>
    <td colspan="2">
    <div>{$lang.message} <span class="red">*</span></div>
    <textarea id="contact_owner_message" rows="6" cols="" style="width: 97%;"></textarea>
    </td>
    </tr>
    {else}
    <tr>
    <td class="name">Numele tău <span class="red">*</span></td>
    <td class="field"><input type="text" id="contact_name" value="{$account_info.First_name} {$account_info.Last_name}" /></td>
    </tr>
    <tr>
    <td class="name">Adresa ta de email <span class="red">*</span></td>
    <td class="field"><input type="text" id="contact_email" value="{$account_info.Mail}" /></td>
    </tr>
    <tr>
    <td class="name" colspan="2">
    <div><span class="contact_seller_send_message">Mesajul tău...</span></div>
    <textarea id="contact_owner_message" rows="6" cols=""></textarea>
    </td>
    </tr>
    <tr>
    <td colspan="2">{include file='captcha.tpl' captcha_id='contact_code' no_wordwrap=true}</td>
    </tr>
    {/if}
    <tr>
    <td colspan="2" {if !$isLogin}class="button"{/if}>
    <input type="submit" name="finish" value="{$lang.send}" />
    </td>
    </tr>
    </table>
    </form>

    but unfortunaly is not working properly. there are 2 issues

    1. the words counter shows on just one of the 2 contact areas
    2. both forms work random in the same time, in most cases it works just for 1 form and if i try to use the second form i get error message that i have to add message or email etc (wich is aded ofcorse).

    So, what do i miss out in having 2 perfect working contact form, one available via the contact button, and one as plain contact form (like we have in contact us footer page)?

+ Reply to Thread