Jump to content

Nico01

Members
  • Content count

    26
  • Joined

  • Last visited

Everything posted by Nico01

  1. Nico01

    [Addon} Modular Front Page

    Jim, I installed you brandnew "accordion_categories_menu_1.2.3". Believe it or not - its working now perfect! What did you change in the module ? Thanks for your support. Best regards Nico
  2. Bob, thanks for sharing your work. Only one short typo-info: In the install instruction the database we add "products_min_order_qty". In admin/categories.php we use "products_min_quantity". That caused at the beginning a sql error. After changing in admin/categories.php the "products_min_quantity" in "products_min_order_qty", everything is working perfect. For me the install description is absolutely clear. So, I think save your energy ... :) Regards Nico
  3. Jim, I checked it on Firefox, IE 9 and Chrome. Same thing. I am missing something, but I cannot find out what... It is possible, that in this section $categories_string .= ' <h3'; $categories_string .= ' onclick="location.href=\''; $categories_string .= tep_href_link( FILENAME_DEFAULT, $cPath_new ); $categories_string .= '\';"'; $categories_string .= '>'; $categories_string .= '<a href="#">'; $categories_string .= $tree[$counter]['name']; $categories_string .= '</a>'; $categories_string .= '</h3>' . PHP_EOL; $categories_string .= ' <div>' . PHP_EOL; I have to give a definition to <h3>? Because now the width shows 100%. I am only wondering, its happens only on my page... so I have to search it on my system. Thanks, Jim Regards Nico
  4. Nico01

    JQuery Info Popup Layer

    Yes, you are right. Its working great. The only thing what I missed in the install.txt is the insert in the database_tables, because if somebody, same me, is not so experienced would be get confused after error messages (maybe). So I added this: 12. in admin/includes/database_tables.php insert: define('TABLE_POPUPS', 'popups'); 13. in catalog/includes/database_tables.php insert: define('TABLE_POPUPS', 'popups'); The first idea, I got was: Is it possible to create a kind of "popup-manager", in which I can switch on or off different popups for different pages? For example: Frontpage a popup : Login or Newsletter Productinfo page: "checkout our new specials" etc. Checkout success: Make a comment and get 10% off I am not a programmer, so I will dream of it . o:) Thanks to everybody, who was working on this contribution. Regards Nico
  5. @@kymation PHP 5.3 same issue jquery / jquery ui : jquery-1.9.1 / jquery-ui-1.10.3..min same issue But the javacode is gone in the output. Everything is working fine, only the menu overlays the whole webpage start on top (margin 0) and involves some other boxes. This starts up version 1.2. Version 1.1 is running perfect. I will digging ... thanks for support, Jim. Regards Nico
  6. Jim, thanks for sharing your work. I have an output problem with the latest version, I installed. I am running now: PHP 5.4.7 OsCommrece 2.3.3 jquery : 1.8.3 / ui-1.9.2.min The menu overlays the whole page included the header. Its not fit in a column If I open an accordion, it shows me a part of a javacode: $(function() { $( "#categoriesMenu" ).accordion({ autoHeight: false, collapsible: true, icons: { 'header': 'ui-icon-plus', 'headerSelected': 'ui-icon-minus' }, active: 2 }); }); I forgot to do something or is there any experience yet ? Regards Nico
  7. Nico01

    [Addon} Modular Front Page

    Jim, I understand. Behind my question I thought this: We have in catalog/includes/modules/header_tags/ht_front_title_store_name.php this part: include_once( DIR_WS_CLASSES . 'language.php' ); $languages = new language(); $this->languages_array = array(); foreach( $languages->catalog_languages as $catalog_language ) { $this->languages_array[$catalog_language['id']] = $catalog_language['name']; } But also in osc_template: function buildBlocks() { global $language, $PHP_SELF; if ( defined('TEMPLATE_BLOCK_GROUPS') && tep_not_null(TEMPLATE_BLOCK_GROUPS) ) { $tbgroups_array = explode(';', TEMPLATE_BLOCK_GROUPS); foreach ($tbgroups_array as $group) { $module_key = 'MODULE_' . strtoupper($group) . '_INSTALLED'; if ( defined($module_key) && tep_not_null(constant($module_key)) ) { $modules_array = explode(';', constant($module_key)); foreach ( $modules_array as $module ) { $class = substr($module, 0, strrpos($module, '.')); if ( !class_exists($class) ) { include(DIR_WS_LANGUAGES . $language . '/modules/' . $group . '/' . $module); include(DIR_WS_MODULES . $group . '/' . $class . '.php'); } $mb = new $class(); // bof Dynamic Template System if(!isset($mb->pages) && ($mb->isEnabled())){ $this->pages = 'all'; $mb->execute(); }else{ if(($mb->isEnabled()) && (($mb->pages === 'all') || (in_array($PHP_SELF , explode(';' , $mb->pages))))){ $mb->execute(); } } // eof Dynamic Template System } I thought, maybe the file got it in a double way. Forgive me, if I talking something completely wrong, but this my way to learn ...., thanks. Regards Nico
  8. Nico01

    [Addon} Modular Front Page

    Jim, If I take off in catalog/includes/modules/header_tags/ht_front_title_store_name.php this part: include_once( DIR_WS_CLASSES . 'language.php' ); $languages = new language(); $this->languages_array = array(); foreach( $languages->catalog_languages as $catalog_language ) { $this->languages_array[$catalog_language['id']] = $catalog_language['name']; } everything is working. The question is, is this section really necessary ? Because it could get in conflict with other addons also? How I can see, there are only two files in header_tags - folder with this language section. catalog/includes/modules/header_tags/ht_front_title_store_name.php and ht_other_pages_title_string.php, which causes the same error. I am not sure, but I remember this kind of error also from someone, who included the generic box. If time, I will have a look at this again. Thanks for your time Regards Nico
  9. Nico01

    [Addon} Modular Front Page

    Carine, I think, there is a typo on: var $code = 'flex_slider'; because of my error: Fatal error: Class 'fp_flex_slider' not found in C:\xampp\htdocs\catalog\includes\classes\osc_template.php on line 90 I changed it to: var $code = 'fp_flex_slider'; Now it is working, thanks for sharing. Regards Nico
  10. Nico01

    [Addon} Modular Front Page

    Jim, I tried already, because of your posts - same error. Its strange, because its only this file. I think, maybe it has nothing to to with language. I will search and let you know. Regards Nico
  11. Nico01

    [Addon} Modular Front Page

    Jim No, same error message: Fatal error: Cannot redeclare class language in C:\xampp\htdocs\catalog\includes\classes\language.php Regards Nico
  12. Nico01

    [Addon} Modular Front Page

    Jim, maybe its interesting: PHP 5.3 - same problem. The conflict is to find in catalog/includes/modules/header_tags/ht_front_title_store_name.php If I remove the Module "Store Name in Title" under Header Tags, everything is working. Very nice contribution, same ever, thanks for sharing. Regards Nico
  13. Nico01

    [Addon} Modular Front Page

    Jim, thanks. I didn't thought about this. Regards Nico
  14. Nico01

    [Addon} Modular Front Page

    Jim, if there is time I would need help in this case. I am running osc 2.3.3 on PHP 5.4.7 I installed your last Modular Front Page 1.4 I got this error: Fatal error: Cannot redeclare class language in C:\xampp\htdocs\catalog\includes\classes\language.php on line 23 I got more information for this error: = = = = = = = = Backtrace = = = = = = = = language.php is referenced in C:\xampp\htdocs\catalog\includes\modules\header_tags\ht_front_title_store_name.php on line 31 in a "include_once" C:\xampp\htdocs\catalog\includes\modules\header_tags\ht_front_title_store_name.php is referenced in C:\xampp\htdocs\catalog\includes\classes\osc_template.php on line 90 in a "ht_front_title_store_name" C:\xampp\htdocs\catalog\includes\classes\osc_template.php is referenced in C:\xampp\htdocs\catalog\includes\template_top.php on line 2 in a "buildBlocks" C:\xampp\htdocs\catalog\includes\template_top.php is referenced in C:\xampp\htdocs\catalog\index.php on line 24 in a "require" = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Backtrace = = = = = = = = language.php is referenced in C:\xampp\htdocs\catalog\includes\modules\boxes\bm_languages.php on line 38 in a "include" C:\xampp\htdocs\catalog\includes\modules\boxes\bm_languages.php is referenced in C:\xampp\htdocs\catalog\includes\classes\osc_template.php on line 93 in a "execute" C:\xampp\htdocs\catalog\includes\classes\osc_template.php is referenced in C:\xampp\htdocs\catalog\includes\template_top.php on line 2 in a "buildBlocks" C:\xampp\htdocs\catalog\includes\template_top.php is referenced in C:\xampp\htdocs\catalog\index.php on line 24 in a "require" I try to fix it, but other errors are appearing. What I found out is, that all backups before I included the Modular SEO Header Tags 1.4.6 are working. Maybe there is some advice, thanks. Regards Nico
  15. Nico01

    jQuery/Ajax Shopping Cart

    Dr. Rolex, I had the same problem as PiLLaO, it doesn't work on my testarea / localhost. The last to posts fixed this problem. It works also in product listing. Thanks for your time and sharing. One question: It works in product info only with the first image, if somebody has more to show. Is this correct or a bug ? Regards Nico
  16. Jim, now everything is working. For the pop up window I had to change something to make it working: In template_top.php the function: window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=450,height=550,screenX=150,screenY=150,top=150,left=150')\n"; } in window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=450,height=280,screenX=150,screenY=150,top=150,left=150') } So I removed \n"; - and now its pop up. Thanks for working this out. Regards Nico
  17. Jim, its working now, thanks. Only the pop up doesn't show up. Could be there a missing link from // Price in Cart notice overrides the price display if( $product_info['price_in_cart'] == 'True' ) { $products_price = tep_display_price_in_cart(); } in product_info.php to // Display the Price in Cart notice if( !function_exists( 'tep_display_price_in_cart' ) ) { function tep_display_price_in_cart() { $price_string = '<span class="price_in_cart">' . PHP_EOL; $price_string .= TEXT_ADD_CART_FOR_PRICE . ' ' . PHP_EOL; $price_string .= ' <span class="smalltext">' . PHP_EOL; $price_string .= ' <script language="javascript"><!--' . PHP_EOL; $price_string .= 'document.write(\'' . '<a href="javascript:popupWindow(\\\'' . tep_href_link( FILENAME_POPUP_PRICE_IN_CART ) . '\\\')">' . TEXT_WHY_HIDE_PRICE . '</a>\');' . PHP_EOL; $price_string .= '//--></script>' . PHP_EOL; $price_string .= ' <noscript>' . PHP_EOL; $price_string .= ' <a href="' . tep_href_link (FILENAME_POPUP_PRICE_IN_CART, 'cond=' . $data['rating']) . '" target="_new">' . TEXT_WHY_HIDE_PRICE . '</a>' . PHP_EOL; $price_string .= ' </noscript>' . PHP_EOL; $price_string .= ' </span>' . PHP_EOL; $price_string .= '</span>' . PHP_EOL; return $price_string; } } // Price In Cart end in functions/general.php ? Excuse this kind of question, but I try to understand the code .... Thanks Nico
  18. Yes, it is. Edit Copy Delete 28 100 GT-P1000 samsung/galaxy_tab.gif 749.9900 True 2013-05-14 06:49:58 2013-05-14 07:11:17 2013-05-16 00:00:00 1.00 1 1 If I want to edit the product in the description, I can't remove the checkmark, because it is vanished. Strange, but I let you know, if I found a solution, but I am stll learning ... Thanks for your help Nico
  19. Jim, I did it. For sure I set up again - same error issue. This is, what I run in sql: ALTER TABLE `products` ADD `price_in_cart` SET( 'True', 'False' ) NOT NULL DEFAULT 'False' AFTER `products_price` Maybe I forget something... Nico
  20. Hallo Jim, thanks for sharing your work. I run v2.3.3 on 5.5.27 - MySQL. I got this Error: 1054 - Unknown column 'p.price_in_cart' in 'field list' select products_id, products_image, products_tax_class_id, products_price, p.price_in_cart from products where products_status = '1' order by products_date_added desc limit 10 all files are original from your code, nothing modified on my testing area. Thanks for info Nico
  21. Hi, thanks for this contribution. Is there a possibility to add the manufacturer name ? I add this // Phocea Optimize featured query $query = 'SELECT distinct p.products_id, p.products_image, p.products_tax_class_id, IF (s.status, s.specials_new_products_price, NULL) AS specials_new_products_price, p.products_price, pd.products_name, m.manufacturers_name FROM ' . TABLE_PRODUCTS . ' p left join ' . TABLE_MANUFACTURERS . ' m on p.manufacturers_id = m.manufacturers_id FROM ' . TABLE_PRODUCTS . ' p LEFT JOIN ' . TABLE_PRODUCTS_TO_CATEGORIES . ' p2c using(products_id) LEFT JOIN ' . TABLE_CATEGORIES . ' c USING (categories_id) LEFT JOIN ' . TABLE_FEATURED . ' f ON p.products_id = f.products_id LEFT JOIN ' . TABLE_SPECIALS . ' s ON p.products_id = s.products_id LEFT JOIN ' . TABLE_PRODUCTS_DESCRIPTION . " pd ON p.products_id = pd.products_id AND pd.language_id = '" . $languages_id . "' where c.categories_id IN(" . $catIdSql . ") AND p.products_status = '1' AND f.status = '1' "; AND THIS: $featured_prods_content .= '<td width="33%" align="center" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $featured_products['products_image'], $featured_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br /><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . $featured_products['products_name'] . '</a><br />' . TEXT_MANUFACTURER . ' ' . $featured_products['manufacturers_name'] . '<br>' . $currencies->display_price($featured_products['products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])) . '</td>'; But no name appears. What is wrong? Thanks for help Nico
  22. Hallo, I have no problem with this contribution, but something in my mind, I cannot figure out. Is it possible to offer different shipping discounts on item quantity, without an input of the customer? I can do this for one code, but if there are more codes. For example: 2 items 10% shipping discount code 1 3 items 20% shipping discount code 2 etc. My idea was, would it be possible to get the quantity value of the shopping basket automaticly in the input field of the coupon. So I can make a hidden field and the customer get automaticly his discount, depending on his order quantity. I hope, my english is understandable. It would nice, if somebody could reply, thank you. Nico
×