Jump to content

brough

Members
  • Content count

    35
  • Joined

  • Last visited

Posts posted by brough


  1. I have installed CSS Menu with STS - the popouts are not working.

     

    This is the page:

    http://www.motorcycleworkshop.com.au/catalog/

     

    and this is the css:

    /* css menu mod */

     

    .suckerdiv ul{

    margin: 0;

    padding: 0;

    list-style-type: none;

    width: 200px; /* Width of Menu Items */

    border-bottom: 1px solid #ccc;

    font-family: arial;

    font-size: 11px;

    }

     

    .suckerdiv ul li{

    position: relative;

    background-color: #eee;

    }

     

    /*1st level sub menu style */

    .suckerdiv ul li ul{

    left: 199px; /* Parent menu width - 1*/

    position: absolute;

    width: 200px; /*sub menu width*/

    top: 0;

    display: none;

    }

     

    /*All subsequent sub menu levels offset */

    .suckerdiv ul li ul li ul{

    left: 199px; /* Parent menu width - 1*/

    }

     

    /*All subsequent sub menu levels offset */

    .suckerdiv ul li ul li a{

    left: 199px; /* Parent menu width - 1*/

    background-color: #ddd;

    }

     

    /*All subsequent sub menu levels offset */

    .suckerdiv ul li ul li ul li a{

    background-color: #bbb;

    }

     

    /*All subsequent sub menu levels offset */

    .suckerdiv ul li ul li ul li ul li a{

    background-color: #aaa;

    }

     

    /* menu links style */

    .suckerdiv ul li a{

    display: block;

    color: black;

    text-decoration: none;

    background-color: #eee;

    padding: 1px 5px;

    border: 1px solid #ccc;

    border-bottom: 0;

    line-height: 2em;

    }

     

    .suckerdiv ul li a:visited{

    color: black;

    }

     

    .suckerdiv ul li a:hover{

    background-color: gray;

    color: black;

    text-decoration: none;

    }

     

    .suckerdiv ul li ul li a:hover{

    background-color: gray;

    color: black;

    text-decoration: none;

    }

     

    .suckerdiv ul li ul li ul li a:hover{

    background-color: gray;

    color: black;

    text-decoration: none;

    }

     

    /* The main categories with sub-categories */

    .suckerdiv .subfolderstyle{

    background: url(images/arrow-list.gif) no-repeat center right;

    }

     

    /* This one colors the sub-folder with other sub-folders */

    .suckerdiv ul li ul .subfolderstyle {

    background-color: #ddd;

    }

     

    /* This one colors the sub-folder with other sub-folders */

    .suckerdiv ul li ul li ul .subfolderstyle {

    background-color: #bbb;

    }

     

    /* This one colors the sub-folder with other sub-folders */

    .suckerdiv ul li ul li ul li ul .subfolderstyle {

    background-color: #aaa;

    }

     

    /* Holly Hack for IE \*/

    * html .suckerdiv ul li { float: left; height: 1%; }

    * html .suckerdiv ul li a { height: 1%; }

    /* End */

     

    Can anyone help, please?


  2. I have an identical problem - has anyone found a solution? The same problem is outlined on at least one other EN Oscommerce forum and some foreign language ones too. For instance: http://forums.digitalpoint.com/showthread.php?t=1547680

    (not holding breath as this thread is rather old)

     

    Solution:

    Find $mInfo_array = array_merge($admin, $admin_group);

    Change to: $mInfo_array = array_merge((array)$admin, (array)$admin_group);

    do same to two other similar lines


  3. Hi All,

     

    Great contribution but I'm having some problems. I've searched the thread and made sure that the tep_merge_array isn't in my code and it's not. But here are the errors I'm getting.

     

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/tranquilsense/admin/admin_members.php on line 358

     

    Warning: reset() [function.reset]: Passed variable is not an array or object in /var/www/tranquilsense/admin/includes/classes/object_info.php on line 17

     

    Warning: Variable passed to each() is not an array or object in /var/www/tranquilsense/admin/includes/classes/object_info.php on line 18

     

    Any help is greatly appreciated!

     

    Thanks - Zack

    I have an identical problem - has anyone found a solution? The same problem is outlined on at least one other EN Oscommerce forum and some foreign language ones too. For instance: http://forums.digitalpoint.com/showthread.php?t=1547680

    (not holding breath as this thread is rather old)


  4. ...

     

    These can be found here: Modlue & Add-on Filesand although i had to make an amend to the module code for Featured Products it was a great starting point.

     

    Thanks again for this great contribution

     

    Matt

     

    Matt, any chance of posting the code for the module you changed. I'm having a devil of a job solving the same problem you had. Thanks in advance. Russell.


  5. I too am having trouble getting the admin to work. Starting with a clean install, I copied all the files into the admin section, uploaded them, installed the SQL, and voila! It broke.

     

    When I enter the admin I get:

    1146 - Table 'hailwood_oscom.TABLE_MINDSPARX' doesn't exist

     

    select * from TABLE_MINDSPARX where id=1

     

    [TEP STOP]

     

    phpadmin reports:

     

    Showing rows 0 - 0 (1 total, Query took 0.0010 sec)

    SELECT *

    FROM `mindsparx_admin`

    LIMIT 0 , 30

     

    Looks like the table prefix is not right, perhaps.

     

    Any clues?


  6. I too am having trouble getting the admin to work. Starting with a clean install, I copied all the files into the admin section, uploaded them, installed the SQL, and voila! It broke.

     

    When I enter the admin I get:

    1146 - Table 'hailwood_oscom.TABLE_MINDSPARX' doesn't exist

     

    select * from TABLE_MINDSPARX where id=1

     

    [TEP STOP]

     

    phpadmin reports:

     

    Showing rows 0 - 0 (1 total, Query took 0.0010 sec)

    SELECT *

    FROM `mindsparx_admin`

    LIMIT 0 , 30

     

    Looks like the table prefix is not right, perhaps.

     

    Any clues?


  7. On a modified (and rather ancient) installion of MS2, I upgraded to STS 4.6 from v3. All went well, and STS functions perfectly but the calls to Header Tags Controller do nothing.

     

    Here is the site:

    http://www.dropbears.com/catalog/

    (and apologies in advance if it's broken - it's a testbed)

     

    And here is the first bit of code in the Blue Hash template which is currently running:

     

    <?php DEFINE ('STS_END_CHAR', '$'); ?>

     

    <?php DEFINE ('STS_CONTENT_END_CHAR', '$'); ?>

     

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

     

     

    <html $htmlparams>

     

    <head>

    $warning_header$

    <!--$headcontent-->

     

    <link rel="stylesheet" type="text/css" href="$templatedir$/style.css" />

     

     

     

    </head>

     

    ................

     

    Any suggestions greatly appreciated.


  8. I am using sts templating for my site that I converted over from interspire to Oscommerce because it has SO MANY more modules and abilities:)

     

    Anyways, I have searched this forum and cannot find a suitable answer, so please excuse this post if its a duplicate or if the answer is in plain site!!

     

    With that said I am trying to include a header.php file for use in my templates, so that I can change the header once and be done. I have tried to include a header.php file into my index.php.html, but it does not work.

     

    Anyone have any suggestions?

     

    Thanks in advance!!

     

    I'm using a very old version of STS so I'm not sure if the setup is still the same, but...

    In sts_templates/mysite/templatename.html

    add beneath <body>

    <? include"/home/path/path/catalog/includes/sts_templates/mysite/header.html"; ?>


  9. I have changed servers and reinstalled SSL, but the Eway module no longer functions. Do I need to reinstall the module to get it working again?

     

    Regards,

     

    Russell White.

     

    Hi Olsen,

     

    We would recommend that you use the XML solution instead. We have a module in the contributions section that we have provided that has been extensively tested nad is used by many OSCommerce users. You are able to download the contribution from here http://addons.oscommerce.com/info/6014

     

    You will require an SSL, which we can also sell you at far below retail. This solution is much better than the Shared solution and will ensure a higher rate of completed orders.

     

    Kind Regards,

     

    Maclean

    Head of International Partnerships

    eWAY

     

    eway.com.au

    eway.co.uk

    eway.co.nz


  10. Does anyone have any knowledge of a method of connecting with Westpac? I've tried Eway, but Westpac do not appear to support them as a gateway. I'm trying to avoid using Curl and SSL to cut down the complication - hence my choice of Eway as a solution. Rather surprised that Eway appeared to have no knowledge of the fact that Westpac would not accept them.

     

    A list of accepted gateways appears on this page:

    http://www.westpac.com.au/internet/publish...mmerce+merchant

×