Page 1 of 5 123 ... LastLast
Results 1 to 10 of 44
  1. #1
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    330
    Plugin Contributions
    0

    Default Returns Authorization contrib - prob with form fields

    Hi There

    I have installed the return contrib into an upgraded version of 1.3.1 and have a small problem. When I download the returns page for some reason something has automatically inserted the digit 15 into the "reason for return". It is only a small problem I know, but an annoying one.

    also there a is a problem with the breadcrumb trailing links. If I have this turned on, then I get 2 lots of trailing links, on this page, one underneath the other. If I turn off, then I only get one lot of trailing links, which is fine but I want trailing on all my pages, if this option is turned off then I don't get trailing links on any page except returns page.

    Hope someone can help

    TIA

    heavenlynights

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Returns Authorization contrib - prob with form fields

    In your tpl_returns_default.php

    near the top of the file find and delete the following lines of code:
    <tr>
    <td class="breadCrumb" colspan="2"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></td>
    </tr>

    This will take care of your breadcrumb issue.

    In the same file, find the following line of code; near the bottom.
    <td class="main"><?php echo zen_draw_textarea_field('reason', 'soft', 40, 15); ?></td>
    and change it as follows:
    <td class="main"><?php echo zen_draw_textarea_field('reason', 'soft', 'cols="40" rows="15"'); ?></td>

    That should take care of the stray 15.

    Let me know if everything works.

    PS. I re-wrote the entire template file so it would work better with v1.3.0.1

  3. #3
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: Returns Authorization contrib - prob with form fields

    Clyde you have a copy of that?

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Returns Authorization contrib - prob with form fields

    Sure, just remove the txt extension and it should be ready to go.
    Attachment 7
    Last edited by clydejones; 11 May 2006 at 05:12 PM.

  5. #5
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: Returns Authorization contrib - prob with form fields

    Thanks clyde.. I inserted the file in sidebox and nothing happened I think it may not be the correct place .where do I insert the file? and how do I make it like yours in the information sidebox an option for returns?

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Returns Authorization contrib - prob with form fields

    That file goes in your template directory:
    includes -> templates -> your_custom_template -> templates

    Add this:
    $information[] = '<a href="' . zen_href_link(FILENAME_RETURNS, '', 'SSL') . '">' . BOX_INFORMATION_RETURNS . '</a>';

    in your includes -> modules -> sideboxes -> your_custom_template -> information.php file.

    If you have everything else installed from the mod everything should work.

    Let me know

  7. #7
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: Returns Authorization contrib - prob with form fields

    Did as you said above no luck ... says Box_information_ret .. missing something

    Quote Originally Posted by clydejones
    That file goes in your template directory:
    includes -> templates -> your_custom_template -> templates

    Add this:
    $information[] = '<a href="' . zen_href_link(FILENAME_RETURNS, '', 'SSL') . '">' . BOX_INFORMATION_RETURNS . '</a>';

    in your includes -> modules -> sideboxes -> your_custom_template -> information.php file.

    If you have everything else installed from the mod everything should work.

    Let me know

  8. #8
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Returns Authorization contrib - prob with form fields

    create a new file named extra_language_defines.php

    put

    Code:
    <?php
    define('BOX_INFORMATION_RETURNS', 'Return Information');
    ?>
    save to
    includes/languages/english/extra_definitions/
    Zen cart PCI compliant Hosting

  9. #9
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: Returns Authorization contrib - prob with form fields

    Thanks Merlin
    Parse error: parse error, unexpected '}' in /home/c1800s/public_html/new/includes/modules/sideboxes/newest/information.php on line 20

    when there is no if statement in information.php with an if statement it loops back to main page.. somethings missing but return authorization link shows..

  10. #10
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Returns Authorization contrib - prob with form fields

    Just make sure your not placing that line of code inside an if statement:

    like this:


    if (DEFINE_PRIVACY_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>';
    }
    if (DEFINE_CONDITIONS_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>';
    }
    if (DEFINE_SHIPPINGINFO_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';
    }
    if (DEFINE_CONTACT_US_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>';
    }

    $information[] = '<a href="' . zen_href_link(FILENAME_RETURNS, '', 'SSL') . '">' . BOX_INFORMATION_RETURNS . '</a>';

    hope it works now

 

 
Page 1 of 5 123 ... LastLast

Similar Threads

  1. How to process contact form with new fields data
    By corvettesalvage in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 May 2009, 05:33 PM
  2. stylesheet - help with form fields
    By yongkoom in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Aug 2008, 12:04 AM
  3. returns authorization email issue
    By d1rage5 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 2 May 2008, 05:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg