Jump to content

suzibird

Members
  • Content count

    4
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Suzi Bird
  1. suzibird

    [Contribution] Mindsparx admin

    Ok, well, thanks for your help. I appreciate it. I'll go ask the author of the Admin Access contribution.
  2. I tried your fix. To no avail. Now I get an error message stating: Fatal error: Call to undefined function tep_admin_check_login() in /catalog/admin/includes/application_top.php on line 243 Line 243 reads: if (basename($PHP_SELF) != FILENAME_LOGIN_ADMIN && basename($PHP_SELF) != FILENAME_PASSWORD_FORGOTTEN && basename($PHP_SELF) != FILENAME_FORBIDDEN) { tep_admin_check_login(); } Any thoughts?
  3. suzibird

    [Contribution] Mindsparx admin

    Administration Access Level Accounts 2.0 Hi. I love your contribution! I have one small problem. I am kind of new to php and css so I don't know how to change this code, and I was wondering if there is any way you could point me in the right direction. I have Mindsparx Admin 4.0 contribution installed, and I am attempting to install Administration Access Level Accounts 2.0. (addons.oscommerce.com/info/1359) I am having a problem with header.php. I was wondering if you could possibly help me with this? I am thinking of cross-posting for the other contribution as well. I have installed Mindsparx header.php; of course you know what the code is for that. Here are the instructions from the other contribution: +++++++++++++++++++++++++++++++++++++++++ File: admin/includes/header.php +++++++++++++++++++++++++++++++++++++++++ --------------------------------------------------------------------- --------------------------------------------------------------------- Look for <td class="headerBarContent"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a>'; ?></td> replace with <?php // BOF: KategorienAdmin / OLISWISS if ($login_groups_id == 1) { // BOF: KategorienAdmin / OLISWISS ?> <!--//Secure admin--> <!--<td class="headerBarContent"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a> | <a href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '" class="headerLink">' . HEADER_LOGOFF . '</a>'; ?></td>--> <!--//Secure admin--> <td class="headerBarContent"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a>'; ?></td> <?php // BOF: KategorienAdmin / OLISWISS }else { ?> <!--<td class="headerBarContent"> </td>--> <?php } // BOF: KategorienAdmin / OLISWISS ?> <!-- BOE Access with Level Account (v. 2.2 RC2A) for the Admin Area of osCommerce (MS2) 1 of 1 --> <td class="headerBarContent"> <?php if (tep_session_is_registered('login_id')) { echo '<a href="' . tep_href_link(FILENAME_ADMIN_ACCOUNT, '', 'SSL') . '" class="headerLink">' . HEADER_TITLE_ACCOUNT . '</a> | <a href="' . tep_href_link(FILENAME_LOGOFF_ADMIN, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_LOGOFF_ADMIN . '</a>'; } else { echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a>'; } ?></td> <!-- BOE Access with Level Account (v. 2.2 RC2A) for the Admin Area of osCommerce (MS2) 1 of 1 --> <?php // BOF: KategorienAdmin / OLISWISS if ($login_groups_id == 1) { // BOF: KategorienAdmin / OLISWISS ?> --------------------------------------------------------------------- --------------------------------------------------------------------- Look for <td class="headerBarContent" align="right"><?php echo '<a href="http://www.oscommerce.com" class="headerLink">' . HEADER_TITLE_SUPPORT_SITE . '</a> | <a href="' . tep_catalog_href_link() . '" class="headerLink">' . HEADER_TITLE_ONLINE_CATALOG . '</a> | <a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a>'; ?> </td> add bellow <?php // BOF: KategorienAdmin / OLISWISS } else { ?> <td class="headerBarContent"> </td> <?php } // BOF: KategorienAdmin / OLISWISS ?> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ I don't know where to begin with this because I don't understand enough about what it is attempting to do. Any help would be greatly appreciated.
  4. I searched through these forums extensively but could not find the answer to my problem. I have a heavily modded install of 2.2 rc2a with STS v4.5.8 My "Add to Cart" button is not working. Instead of adding product to cart, page redirects to advanced_search.php. Product does not get added to cart. I searched through application_top.php, product_info.php, products_listing.php, html_output.php... everything seems to be correct. Where is the tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART) function defined? I have absolutely no idea when this started (i.e. after what modification), but, as you can imagine, having "add to cart" functionality is pretty important to the health of my store. Thank you in advance for your help.
×