Jump to content

aneco

Members
  • Content count

    8
  • Joined

  • Last visited

  1. aneco

    Category Discount

    Hi, I installed this great contrib and it is doing exactly what I want (buy 4 and het 1 free within a product category). But I was unable to solve the tax problem. Does anyone know how I can solve this problem? How do other shops manage this problem? Thanks
  2. aneco

    photo gallery for oscommerce

    Hi, it is a super contri, THANKS It would be nice if in a next version the photos could be stored and shown in folders.
  3. aneco

    photo gallery for oscommerce

    I have the same problem. I also get the login screen after uploading a file, but the file is not uploaded. what did you change to solve the problem
  4. aneco

    Header Tags for novices

    Ken, Next you see a part of the code of a product page. As you can see the <head> </head> is in the html code. Only the code for the meta tags for the key words is not in it. If a put a fixed text in the php code, this fixed text is also in the html code after the line starting with <meta http-equiv. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="nl"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <base href="http://www.creatief4all.nl/"> <!-- start get_javascript(applicationtop2header) //--> <script language="javascript"><!-- function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le ft=150') } //--></script> <!-- end get_javascript(applicationtop2header) //--> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <style type="text/css"> <!-- .stijl1 { font-size: 48px; font-weight: bold; color: #940045; } .stijl2 {color: #940045} --> </style> </head>
  5. aneco

    Header Tags for novices

    I have implemented (the extended version) this great contribution but I do not see the header tags in my source of the webpage. I am using oscommerce-2.2rc2a with STSv4.5.8. I have read in this thread that I should change the code in generel.php. Probably the meta tag was also not filled before I installed this contribution. It seems that the data for the headertags is not passed from general.php to sts.php. If I replace $this->template['headertags'] . "\n"; by a hardcode text in sts.php I find it also in the source of the webpages. If I replace "<title>" . TITLE ."</title>"; by a hardcode text in general.php I do not see the text in the source of the webpage. The output of the lines before and after the header tag (meta http-equiv and <base href) are in the source of the webpage. I am not very familiar with PHP so who can help me solving this problem. If you need more information, please let me know. Thanks in advance. The part of the general.php is: $sts->template['urlcheckout'] = tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); $sts->template['headertags']= "<title>" . TITLE ."</title>"; The part of sts.php is: function replace (){ global $messageStack, $request_type; if (!$this->display_template_output) return; // Go out if we don't use template if (defined("STS_END_CHAR") == false) define ('STS_END_CHAR', ''); // An end char must be defined, even if empty. // Load up the <head> content that we need to link up everything correctly. Append to anything that may have been set in sts_user_code.php // Note that since v3.0, stylesheet is not defined here but in the template file, allowing different stylesheet for different template. $this->template['headcontent'] = $this->template['headcontent'].''; $this->template['headcontent'] = $this->template['headcontent'].'<meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET . '">' . "\n"; $this->template['headcontent'] = $this->template['headcontent'].$this->template['headertags'] . "\n"; $this->template['headcontent'] = $this->template['headcontent'].'<base href="' . (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG . '">' . "\n"; $this->template['headcontent'] = $this->template['headcontent'].get_javascript($this->template['applicationtop2header'],'get_javascript(applicationtop2header)');
×