Jump to content

111oneeleven

Members
  • Content count

    50
  • Joined

  • Last visited

Everything posted by 111oneeleven

  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. 111oneeleven

    SEO Assistant

    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. 111oneeleven

    Google XML Sitemap SEO

    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. 111oneeleven

    Google XML Sitemap SEO

    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. 111oneeleven

    Google XML Sitemap SEO

    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. 111oneeleven

    "Dynamenu" for osCommerce

    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. 111oneeleven

    "Dynamenu" for osCommerce

    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. 111oneeleven

    "Dynamenu" for osCommerce

    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. Dynamenu shows up in the standard grey categorybox with header. I just need the dynamenu without categroybox field. I searched several threads but didnt find the answer. :blink: Any ideas? Installation of Dynamenu was very easy with Bill Kellums instruction "DYNAMENU&STSv4" found here: http://www.oscommerce.com/community/contributions,4456 Thanks for the great contribution. Adrian
  11. 111oneeleven

    Dynamenu in grey CategoryBox

    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:
  12. 111oneeleven

    Product Description 1.3

    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
  13. 111oneeleven

    "Dynamenu" for osCommerce

    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
  14. 111oneeleven

    Product Description 1.3

    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
  15. 111oneeleven

    "Dynamenu" for osCommerce

    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
  16. 111oneeleven

    "Dynamenu" for osCommerce

    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:
  17. Hello Jim, thank you so much. That is exactly what I wanted to do. :D I knew that there would be an easy way to cut this off. With your help, I found out that the information "no products in this category" can be removed too by changing in catalog/index.php $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); // if ($category_parent['total'] > 0) // $category_depth = 'nested'; // navigate through the categories // } else { $category_depth = 'products'; // category has no products, but display the 'no products' message // } to $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); // if ($category_parent['total'] > 0) // $category_depth = 'nested'; // navigate through the categories // } else { // $category_depth = 'products'; // category has no products, but display the 'no products' message // } Thank you again for the support, Adrian
  18. Hello Jim, thank you for the words, I think its the best when I restart again. I like the Category Images Box 1.1 contribution. Let me explain what I mean with remove the category feature. If you consider a fresh installation of osc, you will have the category menu on the left side. If you click on hardware for example you will have the subcategories with pictures in the main content appearing. In this example you will see cdrom, memory, printers and so on with picture. I dont want this output in the main content. If you click on hardware, I just want the subcategories in the category box on the left side. Thats all, nothing needed in the main content. Could Category Images Box 1.1 used to do this? Its not necessary to display the products at the top level. Thank you again for your fast support and the clear instruction in Category Images Box 1.1. Best greetings, Adrian
  19. Hello Jim, thanks for the support. I installed Category Images Box 1.1 on oscommerce 2.2rc2 with STS 4.5.8_1. I have previously modified the shop a little bit, for example did I disable the new products feature. I read here in the forum that Category Images Box uses the same box as New Products. Is this the reason why any changes I make on the admin side doesnt show any effect on the shop? I uploaded the sql file, uploaded categories_images.php, compared and changed the old files manually with DIFFUSE. I can see the path you gave me at the admin side and can do the changes but the change is not showing in the shop. I restarted the computer because I thought it might be a cache problem but no. :blink: Thinking about my first question (previous posting) to remove the category images box I have to say sorry, I think I didnt express myself clear enough because I dont want to modify the boxframe I want to remove the whole categories feature. Could Category Images Box 1.1 help by doing so? Best greetings, Adrian
  20. How is it possible to remove the category images box altogether? I downloaded this contribution and like design as seen on the screenshots, but didnt get a hint on removing the boxes entirely.
  21. 111oneeleven

    "Dynamenu" for osCommerce

    Dynamenu without number of subcategories in brackets and down arrow would be terrific. I looked at catalog/includes/boxes/categories.php, catalog/includes/boxes/dm_categories.php and catalog/includes/functions/dynamenu/lib/layersmenu.inc.php to remove the numbers in brackets and the downarrow but didnt get it done. For example if you change in catalog/includes/boxes/dm_categories.php $menu_downarrowimg = 'down-arrow.png'; to //$menu_downarrowimg = 'down-arrow.png'; the downarrow is gone but replaced by two ">>"" Where do they come from? And how to remove the number of subcategories in brackets? Unfortunately its not as easy to take out as in a regular menu as shown here in the knowledgebase. http://www.oscommerce.info/kb/osCommerce/G..._and_Tricks/247
  22. 111oneeleven

    "Dynamenu" for osCommerce

    you can remove the box and header with kymations solution found here: http://forums.oscommerce.com/index.php?sho...t=#entry1401769
  23. 111oneeleven

    Dynamenu in grey CategoryBox

    Jim, I have to thank you. :D Its working great now. The fly out is there and the box is gone. May I add that the header can be removed completely too by going from here in catalog/includes/boxes/dm_categories.php $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES); new infoBoxHeading ($info_box_contents, false, false); to //$info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES); //new infoBoxHeading ($info_box_contents, false, false); Thanks again, Adrian
  24. 111oneeleven

    Dynamenu in grey CategoryBox

    Thanks for that thought Jim! I looked at catalog/includes/boxes/dm_categories.php. The box can be removed including the header with changing $show_dmcats_as_box = true; to $show_dmcats_as_box = false; The box is gone but so also the fly out effect.... I like to keep the fly out effect. I found that the header text can be removed in this file with changing $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES); to //$info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES); I didnt identify further options. Any chance to remove the grey box with header and keep the fly out effect? Take care, Adrian
  25. 111oneeleven

    "Dynamenu" for osCommerce

    Dynamenu shows up in the standard grey categorybox with header. I just need the dynamenu without categroybox field. I searched several threads but didnt find the answer. :blink: Any ideas? Installation of Dynamenu was very easy with Bill Kellums instruction "DYNAMENU&STSv4" found here: http://www.oscommerce.com/community/contributions,4456 Thanks for the great contribution. Adrian
×