Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Solan

Pioneers
  • Posts

    249
  • Joined

  • Last visited

Everything posted by Solan

  1. Thanks for leading me the right way Jack :rolleyes: But now i even put your contrib admin/configure.php in my shop and i still get the path Standard text above my shop´s header. And i still only have the Timy mce working with your contrib but no longer with the old product description area... And still When i go to configuration ----> Header tags SEO, and click display column box ----> true, My whole product page content, in customer area,(product information, images and so on) goes down under and outside of my shop... (i have to scroll down to se product text and product image..
  2. * Okay, now im a little bit ahead with this BUT it seems that i cant change and SAVE any text in my product description... i try to save but all looks the same when i press prewiew or save and look at my store or in admins product description. When i Go to admin->catalog, and click on a category and then on edit i see all of the regular things there, and also this and that is right isnt it?: *Earlier i could also use tinymce for my product description but that function seems to be gone now only working in the product description tag. * When i visit my store´s category part i see the word path Standard above my header... even when i go inside a specific product. I think the problem is in my product.php? * When i go to configuration ----> Header tags SEO, and click display column box ----> true, My whole product page (product information, images and so on) goes down and outside the of my shop... I´m terribly sorry for being such a "bug", but i really would get this to work, and because my english is bad i need very eay explanations... sorry! Giving all of you guys a flower for keeping your smile up with people like us.... :blush:
  3. Okay, problem with unexpected T_CASE is now solved... A tiny extra } were wrong :rolleyes: tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products_id)); } break; Now i have to try and solve the others... :blush:
  4. I am doing that and now work with google language tool to understand your trouble shoooting text and i try to compare my admin/configure files but i dont understand why i get the syntax error, unexpected T_CASE in /home/xxx/public_html/admin/categories.php on line 357
  5. i forgot to ask about theese aswell.. i did run the test after installing but i dont understand my results.. (not so good at english) Test Results Default Text Present: The default root text, products new home, should be removed or changed for product_info.php with language ID of 2. What is langue id of 2 meaning? Duplicate title found: (i have only used the pagecontrol and added som text in the index.php)for English exists more than once. for Svenska exists more than once. Duplicate meta description found: (Same as above, have not changed any of my other pages yet...) for English exists more than once. for Svenska exists more than once. Language Mismatch Error: How do i solve this? Language Svenska (2) in the shops languages does not have an entry in the default Header Tags table. Thanks
  6. BIG THANK YOU Jack for this helpfull contrib... I have som issues that i hope you can help me solve. The first one is that i cant get to my catalog area in admin. I get this error code: Parse error: syntax error, unexpected T_CASE in /home/xxx/public_html/admin/categories.php on line 357 And when i check my admin/categories.php at that line 357 i find this line: case 'copy_to_confirm': I dont see anything wrong in the code but further down i have pasted your contribs code so maybe i did something wrong there? Here is a few lines near the code case `copy_to_confirm` /*** Begin Header Tags SEO ***/ $sql_data_array = array('products_name' => tep_db_prepare_input($HTTP_POST_VARS['products_name'][$language_id]), 'products_description' => tep_db_prepare_input($HTTP_POST_VARS['products_description'][$language_id]), 'products_url' => tep_db_prepare_input($HTTP_POST_VARS['products_url'][$language_id]), 'products_head_title_tag' => ((tep_not_null($HTTP_POST_VARS['products_head_title_tag'][$language_id])) ? tep_db_prepare_input($HTTP_POST_VARS['products_head_title_tag'][$language_id]) : tep_db_prepare_input($HTTP_POST_VARS['products_name'][$language_id])), 'products_head_desc_tag' => ((tep_not_null($HTTP_POST_VARS['products_head_desc_tag'][$language_id])) ? tep_db_prepare_input($HTTP_POST_VARS['products_head_desc_tag'][$language_id]) : tep_db_prepare_input($HTTP_POST_VARS['products_name'][$language_id])), 'products_head_keywords_tag' => ((tep_not_null($HTTP_POST_VARS['products_head_keywords_tag'][$language_id])) ? tep_db_prepare_input($HTTP_POST_VARS['products_head_keywords_tag'][$language_id]) : tep_db_prepare_input($HTTP_POST_VARS['products_name'][$language_id]))); /*** End Header Tags SEO ***/ if ($action == 'insert_product') { $insert_sql_data = array('products_id' => $products_id, 'language_id' => $language_id); $sql_data_array = array_merge($sql_data_array, $insert_sql_data); tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array); } elseif ($action == 'update_product') { tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array, 'update', "products_id = '" . (int)$products_id . "' and language_id = '" . (int)$language_id . "'"); } } if (USE_CACHE == 'true') { tep_reset_cache_block('categories'); tep_reset_cache_block('also_purchased'); } tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products_id)); } break; case 'copy_to_confirm': if (isset($HTTP_POST_VARS['products_id']) && isset($HTTP_POST_VARS['categories_id'])) { $products_id = tep_db_prepare_input($HTTP_POST_VARS['products_id']); $categories_id = tep_db_prepare_input($HTTP_POST_VARS['categories_id']); if ($HTTP_POST_VARS['copy_as'] == 'link') { if ($categories_id != $current_category_id) { $check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where products_id = '" . (int)$products_id . "' and categories_id = '" . (int)$categories_id . "'"); $check = tep_db_fetch_array($check_query); if ($check['total'] < '1') { tep_db_query("insert into " . TABLE_PRODUCTS_TO_CATEGORIES . " (products_id, categories_id) values ('" . (int)$products_id . "', '" . (int)$categories_id . "')"); } } else { $messageStack->add_session(ERROR_CANNOT_LINK_TO_SAME_CATEGORY, 'error'); } } elseif ($HTTP_POST_VARS['copy_as'] == 'duplicate') { $product_query = tep_db_query("select products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_tax_class_id, manufacturers_id from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); $product = tep_db_fetch_array($product_query); tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), " . (empty($product['products_date_available']) ? "null" : "'" . tep_db_input($product['products_date_available']) . "'") . ", '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')"); $dup_products_id = tep_db_insert_id(); /*** Begin Header Tags SEO ***/ $description_query = tep_db_query("select language_id, products_name, products_description, products_head_title_tag, products_head_desc_tag, products_head_keywords_tag, products_url from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$products_id . "'"); while ($description = tep_db_fetch_array($description_query)) { tep_db_query("insert into " . TABLE_PRODUCTS_DESCRIPTION . " (products_id, language_id, products_name, products_description, products_head_title_tag, products_head_desc_tag, products_head_keywords_tag, products_url, products_viewed) values ('" . (int)$dup_products_id . "', '" . (int)$description['language_id'] . "', '" . tep_db_input($description['products_name']) . "', '" . tep_db_input($description['products_description']) . "', '" . tep_db_input($description['products_head_title_tag']) . "', '" . tep_db_input($description['products_head_desc_tag']) . "', '" . tep_db_input($description['products_head_keywords_tag']) . "', '" . tep_db_input($description['products_url']) . "', '0')"); } /*** End Header Tags SEO ***/ tep_db_query("insert into " . TABLE_PRODUCTS_TO_CATEGORIES . " (products_id, categories_id) values ('" . (int)$dup_products_id . "', '" . (int)$categories_id . "')"); $products_id = $dup_products_id; } if (USE_CACHE == 'true') { tep_reset_cache_block('categories'); tep_reset_cache_block('also_purchased'); } } tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $categories_id . '&pID=' . $products_id)); break;
  7. I finally tried to install the Autoinstaller 2.7 for: Ultimate Seo Urls Version 2.7 by faaliyet (23 Mar 2009) And everything seemed to work okay but not my extra info pages.. do this contrib need some special settings with the extra info pages W/admin in order to work? Have a wonderful day ;)
  8. i have done something bad so now the writing area form for customers to contact us is gone.. :( how can i get it back? i also have regular text above it but i want both...
  9. ´Hi all I´m having trouble with Changing Price Brackets When i use shop by price and click 500- 800 i also get products for 900 ???? What am i doing wrong :( Some of the product shows right but some dont.. Here is my code for that: $sel_currency = array(); $price_ranges = Array( "Under " . $currencies->format(500) , "Från " . $currencies->format(500) . " till " . $currencies->format(600), "Från " . $currencies->format(600). " till " . $currencies->format(800), "Från " . $currencies->format(800). " till " . $currencies->format(1000), "Över " . $currencies->format(1000), "Visa alla prisgrupper"); $price_min = Array( 0, 500, 600, 800, 1000, 0); $price_max = Array( 500, 600, 800, 1000, 0, 0);
  10. Hi all... wonderful with all this contribs.. but im in need of a contrib that filters the sizes.. does anyone know if there is a contrib like that? (im selling shoes so i wold like to have shop by size 36, 37, 38 and so on...)
  11. i just thought if it is easy to make it work or of someone knows it its not going to work.. i get the problem of having my changes show in customerarea.. like in policy and so on..
  12. :wub: ok so can i use this even if i have the rc2 version?
  13. Here is what the install says: Open catalog/admin/index.php Find near line:46 array('title' => BOX_HEADING_REPORTS, 'image' => 'reports.gif', 'href' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports'), 'children' => array(array('title' => REPORTS_PRODUCTS, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports')), array('title' => REPORTS_ORDERS, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS, 'selected_box=reports')))), After it, insert: // BOF edit pages array('title' => BOX_HEADING_PAGES, 'image' => 'pages.gif', 'href' => tep_href_link(FILENAME_PAGES, 'selected_box=pages'), 'children' => array(array('title' => PAGES_LIST_PAGES, 'link' => tep_href_link(FILENAME_PAGES, 'selected_box=pages')), array('title' => PAGES_ADD_PAGE, 'link' => tep_href_link(FILENAME_PAGES.'', 'selected_box=pages&action=new_page')))), // EOF edit pages :blush:?
  14. Thanks m8... *handing you a flower*
  15. You speak frensh dont you? Could you explain what this means? Juste une petite modification pour que le titre de 'home' ne s'affiche plus sur toutes les pages en lien avec 'index.php' mais seulement sur la page d'accueil. Ce n'est pas le package complet.
  16. WOW!!! How could you???? only by guessing??? Thank you thank you thank you!!! Now the wonderful FCK editor works.. HALLELULIJA!!!
  17. Thanks Sam.. everything works fine at the product desc, but i´d like the FCK editor to be my editor in page editor as well.. the code you gave me... in what file is that? i could have i look in my files for that..
  18. Hi, it doesnt seem to be a support thread for paige editor so i´m hoping for some help here.. i´ve been installing This FCK WYSIWYG HTML editor and it works perfect.. But i would so like it to function with the contrib page editor : http://addons.oscommerce.com/info/2841 can anyone tell me what code and where i must put it, for it to work with page editor? I´ve been tearing my hair off for this and i just dont get it right :blush:
  19. http://www.oscommerce.com/forums/index.php?showtopic=30047
  20. I have installed this: http://addons.oscommerce.com/info/2841 the install text say: admin/index.php Find near line:46 array('title' => BOX_HEADING_REPORTS, 'image' => 'reports.gif', 'href' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports'), 'children' => array(array('title' => REPORTS_PRODUCTS, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports')), array('title' => REPORTS_ORDERS, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS, 'selected_box=reports')))), :blink: i dont have any of that text in in my admin/index.php :blink:
  21. I was looking for the former thread but couldt find it.. http://www.oscommerce.com/forums/viewtopic.php?p=178120 so i have to put the question here.... I get this text in my admin... Whats wrong? The text came oafter a installed this contrib: http://www.oscommerce.com/community/contri...l/search,editor
  22. I think textmaster doesnt work for product description :( I need something for all textarea...
×
×
  • Create New...