Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

111oneeleven

Pioneers
  • Posts

    50
  • Joined

  • Last visited

Profile Information

111oneeleven's Achievements

  1. one basic question regarding the installation procedure. Step 2b (if you do have a meta tag contribution installed) says: I can't find header_tags.php in my catalog/includes folder. How do I find the right file for this step?? :blink: This is what is in my catalog/includes folder. application_bottom.php application_top.php applicatoin_top.php_TOM column_left.php column_right.php configure.php counter.php database_tables.php filenames.php footer.php form_check.js.php general.js header.php spiders.txt tld.txt Thanks.
  2. SEO_Assistant V 2.3 was installed. I can add description, keywords and title to the products through admin/catalog/categories. So far so good, but when I want to check the tags with Firefox's Developers Toolbar, I will see in the field where the tag content should be displayed only: Default Content goes here... . What can I do to get the content? :blink:
  3. Talked to the host and found out that the PHP 5 and MYSql 5 are used. i showed them the error message and they said that the glob function does exist on the server but it is not called correctly from the script. They said the parameters should be checked. How can i check the parameters? Its not a problem of the paths isnt it? :blink: Thanks in advance for a quick note.
  4. thanks for the help. You moved something, however there is a new error message as follows. ERROR: Google Product Sitemap Generation FAILED! ERROR: Google Category Sitemap Generation FAILED! Warning: glob() [function.glob]: At least one of the passed flags is invalid or not supported on this platform in /mnt/web8/23/46/51967246/htdocs/spa/googlesitemap/sitemap.class.php on line 429 Warning: Invalid argument supplied for foreach() in /mnt/web8/23/46/51967246/htdocs/spa/googlesitemap/sitemap.class.php on line 429 ERROR: Google Sitemap Index Generation FAILED! Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => success [NUM_ROWS] => 1 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 10 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /home/spa/googlesitemap/sitemapproducts [status] => failure due to incorrect file name [file_exists] => false ) [1] => Array ( [file] => /home/spa/googlesitemap/sitemapcategories [status] => failure due to incorrect file name [file_exists] => false ) [2] => Array ( [file] => /home/spa/googlesitemap/sitemapindex [status] => failure due to incorrect file name [file_exists] => false ) ) ) Could you give me a hint on what the invalid argument is and the filename is reported incorrect. The filename has not been changed. thanks in advance.
  5. I am running (trying to) Google XML Sitemap SEO V. 1.5 on a modified OSC 2.2RC.2 shop. I faced the exactly same problem the above solution was made for. I replaced in sitemap.class.php (I didnt find the code you mention above) $this->savepath = DIR_FS_CATALOG; with $this->savepath = '/home/spa/googlesitemap/'; but get the following error message: ERROR: Google Product Sitemap Generation FAILED! ERROR: Google Category Sitemap Generation FAILED! Warning: glob() expects parameter 2 to be long, string given in /mnt/web8/23/46/51967246/htdocs/spa/googlesitemap/sitemap.class.php on line 429 Warning: Invalid argument supplied for foreach() in /mnt/web8/23/46/51967246/htdocs/spa/googlesitemap/sitemap.class.php on line 429 ERROR: Google Sitemap Index Generation FAILED! Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => success [NUM_ROWS] => 1 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 10 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /home/spa/googlesitemap/sitemapproducts [status] => failure due to incorrect file name [file_exists] => false ) [1] => Array ( [file] => /home/spa/googlesitemap/sitemapcategories [status] => failure due to incorrect file name [file_exists] => false ) [2] => Array ( [file] => /home/spa/googlesitemap/sitemapindex [status] => failure due to incorrect file name [file_exists] => false ) ) ) What exctly do I need to modify to make it work? :blink: Thanks in advance.
  6. in \catalog\includes\functions\dynamenu\lib\layersmenu-common.inc.php on line 487 change $this->menuStructure = ereg_replace (chr (13) , ' ' , $tree_string); // Microsoft Stupidity Suppression to $this->menuStructure = preg_replace ('#chr (13)#', ' ' , $tree_string); // Microsoft Stupidity Suppression in \catalog\includes\functions\dynamenu\lib\layersmenu-common.inc.php on line 793 change $this->tree[$cnt] ['parsed_href'] = (ereg_replace(' ', ' ' , $this->tree[$cnt] ['href']) == ' ' ) ? '#' : $this -> prependedUrl . $this->tree[$cnt] ['href']; to $this->tree[$cnt] ['parsed_href'] = (preg_replace('# #', ' ' , $this->tree[$cnt] ['href']) == ' ' ) ? '#' : $this -> prependedUrl . $this->tree[$cnt] ['href'];
  7. Hello Tracy, thanks for your reply. I am aware of the post, but couldnt solve the problem with it. However if you could deliver a solution it would be appreciated. Best regards, Adrian
  8. I installed dynamenu earlier successful, however now do I get an error message regarding the ereg_replace function. I found that this function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged. Is it a solution to use the preg_replace function? How does one apply it and upgrade the code? I think this question might be of interest for others to. Help is appreciated. Thanks in advance. Here is the error message I get: Deprecated: Function ereg_replace() is deprecated in \catalog\includes\functions\dynamenu\lib\layersmenu-common.inc.php on line 487 (and 793) in \catalog\includes\functions\dynamenu\lib\layersmenu-common.inc.php on line 487 $this->menuStructure = ereg_replace (chr (13) , ' ' , $tree_string); // Microsoft Stupidity Suppression in \catalog\includes\functions\dynamenu\lib\layersmenu-common.inc.php on line 793 $this->tree[$cnt] ['parsed_href'] = (ereg_replace(' ', ' ' , $this->tree[$cnt] ['href']) == ' ' ) ? '#' : $this -> prependedUrl . $this->tree[$cnt] ['href'];
  9. See contribution VAT Price Incl and Excl here: http://www.oscommerce.com/community/contri...ns,1737/page,78 Seems like the catalog/includes/classes/currencies.php got developed since 2004. The contribution says: In catalog/includes/classes/currencies.php find: return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); And replace with: return $this->format(tep_add_tax($products_price, $products_tax) * $quantity) . VAT_TEXT . '<br> ' . $this->format($products_price * $quantity) . ' ' . EX_VAT_TEXT; Does someone know the proper code for the newer currencies.php file as the code looks different there now?
  10. One question on the format though. I want to put dynamenu in a html table row (sts template). There are two cells, one should have dynamenu and the other another menu. The problem is that there is a gap between the two cells and it seems that dynamenu has something like a border around it. I tried to close the gap by using css in catalog/stylesheet.css and html code directly at the table, but nothing helped. Any ideas what I could do? :blink:
  11. To set the Price and the Buy Now button to the top left of the cell, as you can see in the screenshot delivered with the contribution: in catalog/stylesheet.css from: TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; to: TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; vertical-align: top; text-align: left; set Price in the header to the left: in catalog/includes/modules/product-listing.php from case 'PRODUCT_LIST_PRICE': $lc_text = TABLE_HEADING_PRICE; $lc_align = 'center'; break; to case 'PRODUCT_LIST_PRICE': $lc_text = TABLE_HEADING_PRICE; $lc_align = 'left'; break; set Buy Now in the header to the left: in catalog/includes/modules/product-listing.php from case 'PRODUCT_LIST_BUY_NOW': $lc_text = TABLE_HEADING_BUY_NOW; $lc_align = 'center'; break; to case 'PRODUCT_LIST_BUY_NOW': $lc_text = TABLE_HEADING_BUY_NOW; $lc_align = 'left'; break; In general see contribution Catalog Stylesheet Definitions for formatting issues. Here: http://www.oscommerce.info/kb/osCommerce/C...n_and_Layout/54
  12. Found the solution. (BACKUP FIRST!) To remove the down arrow in the horizontal drop down menu header do this: 1. in catalog/includes/functions/dynamenu/templates/layersmenu-horizontal_menu.ihtml remove <!-- BEGIN cell_arrow --> <img class="horizfwdarr" src="{imgwww}{arrowsrc}" width="{arrowwidth}" height="{arrowheight}" border="0" alt=">>" /><!-- END cell_arrow --> 2. in catalog/includes/functions/dynamenu/lib/layersmenu.inc.php comment out: $t->setBlock('cell_link', 'cell_arrow', 'cell_arrow_blck'); to // $t->setBlock('cell_link', 'cell_arrow', 'cell_arrow_blck'); $t->parse('cell_arrow_blck', 'cell_arrow'); to // $t->parse('cell_arrow_blck', 'cell_arrow'); Thanks again for the hint Jono. :) Best regards, Adrian
  13. I am about to format the Product Description. How do I set the Price and the Buy Now Button at the top left of the table cell, just like you can see at the image that comes with the contribution? :blink: I justified the text in catalog/stylesheet.css td.productdesc by adding text-align: justify;. In catalog/includes/modules/product_listing.php you can align the price and the Buy Now Button by setting $lc_align ='left' but it will stay in the middle not on top of the cell. Any idea? :blink: Thanks in advance, Adrian
  14. Hello Jono, thanks for that. This is a good hint. I am on the right track now. when I removed the above mentioned code, from catalog/includes/functions/dynamenu/templates/layersmenu-horizontal_menu.ihtml the arrow is gone. (when I removed from layersmenu-horiz-sub-menu.html I didnt get the effect.) but I get an errormessage above the menu, saying: Template Error:loadfile: cell_arrow is not a valid handle. TemplateError:subst: unable to load cell_arrow Is this conflicting with the sts template I have installed? Thanks, Adrian
  15. If you go for the horizontal drop down, you will have a black down arrow (down-arrow.png) next to the main categoryname in the header. I would like to completely remove this down arrow but do not know where it is placed in the code. :blink: Any ideas where I could look? I browsed the dynamenu files already, mainly dm_categries.php but didnt get the clou. if you comment out in catalog/includes/boxes/dm_categories.php $menu_downarrowimg = 'down-arrow.png'; there will be ">>" as replacement. How do I take this off too? :blink:
×
×
  • Create New...