Jump to content


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
    Stephen Williams
  1. rival

    Latest news 1.1.4

    Thanks but already checked that. The line is as follows. define('FILENAME_NEWS', 'news.php'); Also checked in application_top.php and english.php just in case. I believe the problem might be in the includes/modules/latest_news.php
  2. I have installed this contribution and added html. On the catalog side it has two modes of display classic and small. The classic mode is working ok. In small mode you only get the date and title and you need to click on this information to bring up the file link to news.php. Its this link that is not working. It is looking for the news file in catalog/news/news.php It needs to be changed so it looks for the file in catalog/news.php Any clues as to where the changes need to be made?
  3. rival

    Latest News 1.1.4.

    To add the html area to latest news 1.1.4 do the following changes to your admin/latest_news.php Just above </head> add the following <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <script language="javascript" src="includes/general.js"></script> <script language="Javascript1.2"><!-- // load htmlarea //MaxiDVD Added WYSIWYG HTML Area Box + Admin Function v1.5 <head> _editor_url = "<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_ADMIN; ?>htmlarea/"; // URL to htmlarea files var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]); if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; } if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; } if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; } <?php if (HTML_AREA_WYSIWYG_BASIC_PD == 'Basic'){ ?> if (win_ie_ver >= 5.5) { document.write('<scr' + 'ipt src="' +_editor_url+ 'editor_basic.js"'); document.write(' language="Javascript1.2"></scr' + 'ipt>'); } else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); } <?php } else{ ?> if (win_ie_ver >= 5.5) { document.write('<scr' + 'ipt src="' +_editor_url+ 'editor_advanced.js"'); document.write(' language="Javascript1.2"></scr' + 'ipt>'); } else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); } <?php }?> // --></script> Then look for </form></tr> around line 210 and below it add <!-- MaxiDVD Added WYSIWYG HTML Area Box --> <script language="JavaScript1.2" defer> var config = new Object(); editor_generate('content',config); </script> <!-- end MaxiDVD Added WYSIWYG HTML Area Box -->
  4. rival

    Manufacturers list

    Thanks again Sidney. Your code done the job again. I am using the BTS system so the coding in my info boxes are slightly different. I just replaced the if (tep_db_num_rows($manufacturer_query) with your code and added the if ($check['count'] > 1) to the start of the line with the other products link. Thats it, Good job. Two excellent mods for any one using manufacturers and manufacturers info boxes. I have been trying to reduce all the dead end and pointless links in oscommerce. Thats another two sorted . Thanks Sidney.
  5. rival

    Manufacturers list

    Thank you very much Sidney, your bit of code solved my main problem. I no longer need to delete or require to disable manufacturers. Great, Thank you. Remaining problem; Currently, I only sell one product for a lot of the manufacturers on my list. In the manufacturers info box when you click the other products link and you only have one product for the manufacturer, you end up back at the same product. Is there a way to stop the link appearing if there is only one product from the selected manufacturer.
  6. The manufacturers list in the info box shows all the manufacturers entered in admin regardless as to whether or not they have any products. If you sell out of a manufacturer?s product they stay on the list and if the customer clicks on that manufacturer they are told no products available, which the customers would find annoying. Currently I have to delete the manufacturer on the admin side to stop this, then re-enter the manufacturer?s details, logo, home page, when the products back in stock. Is there a contribution to make the manufacturer inactive/active like you do in products or is there a contribution or some code I can add to stop the manufacturer being displayed in the manufacturer?s info box list, if it has no products? Also is there a way to stop the other products link, in the manufacturer info box appearing if there is only one product from the selected manufacturer. .
  7. rival

    All UK zones

    I installed this mod, it just added all the Uk counties to the zones, thats it. Not much use. I then noticed the counties in customers addresses had all been changed to the 3 letter code ID used for the county in the uk zones module. not so good. Ended up dropping all the zones including the uk zones just installed in the php database to get customers counties to display properly again. This is one contribution to avoid for the time being.
  8. rival

    [Contribution] Infobox Admin

    Infobox Admin is a great contribution. What I would like to add is the ability in admin to display the box when not logged in, logged in or both. Any ideas how? This will over come the problem people are encountering when installing contributions like Wishlist. To avoid the error encountered by Dreadlock1, do not enable Wishlist in Infobox admin but add the code as instructed to colum right. Wishlist will appear at the bottom.