Results 1 to 10 of 2247

Threaded View

  1. #11
    Join Date
    Aug 2007
    Posts
    277
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Quote Originally Posted by lidlchris View Post
    if you find this out let me know please.. i've been told that part or the module doesn't work..
    That is because you need some custom coding to make it happen. There are very clear instructions for this in post #636 in this tread.

    Upon looking into the files mentioned there, I am able to find all, except for the last piece of code in the instructionse where you have to add the code. (highlighted code in excerpt #636 below) Can anyone point me in the right direction Here?

    see except below for post #636:


    I have a number of modifications I've made to the orders.php page. I attempted to pull just the code out that will give you the site markers. I believe I got it all, but make sure you backup orders.php before doing all this. Very simple. Just pulls the site name from the orders table and displays it in the HTML table in that page.

    Put his in a file called:
    <admin folder>/includes/languages/english/extra_definitions/order_site.php


    PHP Code:
    <?php
    define('TABLE_HEADING_SITE','Site');
    define('HEADING_TITLE_SITE','Site');
    ?>
    in [admin folder]/orders.php do the following:

    find

    PHP Code:
    $orders = $db->Execute("select orders_id from " . TABLE_ORDERS . "

    replace with:

    PHP Code:
    $orders = $db->Execute("select orders_id,order_site from " . TABLE_ORDERS . "

    find:

    PHP Code:
    <td class="dataTableHeadingContent" align="center"><?php echo TABLE_HEADING_ORDERS_ID; ?></td>
    above it add:

    PHP Code:
    <td class="dataTableHeadingContent" align="center"><?php echo TABLE_HEADING_SITE; ?></td>
    find:

    PHP Code:
    <td class="dataTableContent" align="right"><?php echo $show_difference . $orders->fields['orders_id']; ?></td>

    above it add:

    PHP Code:
    <td class="dataTableContent" align="left"><?php echo $orders->fields['order_site']; ?></td>
    Last edited by twi; 19 Aug 2013 at 04:43 PM.

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 116
    Last Post: 31 Dec 2025, 11:36 AM
  2. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  3. WorldPay Module version 2.0 - Support thread
    By philip_clarke in forum Addon Payment Modules
    Replies: 729
    Last Post: 4 Nov 2017, 08:23 AM
  4. PC Configurator Module [Support Thread]
    By lebrand2006 in forum All Other Contributions/Addons
    Replies: 254
    Last Post: 22 Aug 2012, 03:52 PM

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