Jump to content
Latest News: (loading..)

zpupster

Members
  • Content count

    339
  • Joined

  • Last visited

Everything posted by zpupster

  1. zpupster

    Header Tags SEO

    this works echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '110', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])), 'id = "products_description[' . $languages[$i]['id'] . ']" class="ckeditor"'); thanks Jack, I'm curious why you would use a version that is not supported, at least by me, and probably won't be updated? Especially since my versions support the BS version. could you elaborate, the header tag version that i found was the latest,(i believe) are you talking about osc234 -- Responsive-osCommerce-master??
  2. zpupster

    Header Tags SEO

    installed \HeaderTags_SEO_V_3.3.3_1 on osc234 -- Responsive-osCommerce-master everything seems ok with one pesky problem so far it knocked out my ckeditor in the admin .config.HeaderTagsSeo enabling CKEditor it works for categories desc but not for for products desc. here is the error Products Description: Fatal error: Call to undefined function tep_draw_textarea_ckeditor() in /home/site/public_html/bs/admin/categories.php on line 636 from admin>includes>template_top.php.i believe the problem is here. //this code block is optional - if you want the ability to turn the editor on and off in admin add this - its not necessary and is not needed to make the editor work /*** Begin Header Tags SEO ***/ ?> <link rel="stylesheet" type="text/css" href="includes/headertags_seo_styles.css"> <?php switch (HEADER_TAGS_ENABLE_HTML_EDITOR) { case 'CKEditor': echo '<script type="text/javascript" src="ext/ckeditor/ckeditor.js"></script>'; echo '<script type="text/javascript" src="ext/ckeditor/adapters/jquery.js"></script>'; break; case 'FCKEditor': break; case 'TinyMCE': if (HEADER_TAGS_ENABLE_EDITOR_CATEGORIES == 'true' || HEADER_TAGS_ENABLE_EDITOR_PRODUCTS == 'true' || HEADER_TAGS_ENABLE_EDITOR_LISTING_TEXT == 'true' || HEADER_TAGS_ENABLE_EDITOR_SUB_TEXT == 'true' ) { if ($action == 'new_product' || $action == 'new_category' || $action == 'edit_category') { // No need to put JS on all pages. $languages = tep_get_languages(); // Get all languages // Build list of textareas to convert $str = ''; for ($i = 0, $n = sizeof($languages); $i < $n; $i++) { if (HEADER_TAGS_ENABLE_EDITOR_CATEGORIES == 'true') $str .= "categories_htc_description[".$languages[$i]['id']."],"; if (HEADER_TAGS_ENABLE_EDITOR_PRODUCTS == 'true') $str .= "products_description[".$languages[$i]['id']."],"; if (HEADER_TAGS_ENABLE_EDITOR_LISTING_TEXT == 'true') $str .= "products_head_listing_text[".$languages[$i]['id']."],"; if (HEADER_TAGS_ENABLE_EDITOR_SUB_TEXT == 'true') $str .= "products_head_sub_text[".$languages[$i]['id']."],"; } //end for each language $mce_str = rtrim ($str,","); // Removed the last comma from the string. // You can add more textareas to convert in the $str, be careful that they are all separated by a comma. echo '<script language="javascript" type="text/javascript" src="includes/javascript/tiny_mce/tiny_mce.js"></script>'; include "includes/javascript/tiny_mce/general.php"; } } break; default: break; } /*** End Header Tags SEO ***/ if (!defined('USE_CKEDITOR_ADMIN_TEXTAREA')) { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, set_function) values ('', 'Use CKEditor', 'USE_CKEDITOR_ADMIN_TEXTAREA','true','Use CKEditor for WYSIWYG editing of textarea fields in admin',1,99,now(),'tep_cfg_select_option(array(\'true\', \'false\'),' )"); define ('USE_CKEDITOR_ADMIN_TEXTAREA','true'); } if (USE_CKEDITOR_ADMIN_TEXTAREA == "true") { ?> <script type="text/javascript" src="<?php echo tep_href_link('ext/ckeditor/ckeditor.js'); ?>"></script> <!-- If you would rather use ckeditor.js file from a CDN uncomment the line below and comment the line above - if the version number has changed remember to change the version number - you'll actually find the line of code on the ck editor web site for your version --> <!-- <script src="//cdn.ckeditor.com/4.4.4/full/ckeditor.js"></script> --> <script type="text/javascript" src="<?php echo tep_href_link('ext/ckeditor/adapters/jquery.js'); ?>"></script> <script type="text/javascript"> $(function() { var $editors = $('textarea'); if ($editors.length) { $editors.each(function() { var editorID = $(this).attr("id"); var instance = CKEDITOR.instances[editorID]; if (instance) { CKEDITOR.remove(instance); } CKEDITOR.replace(editorID); }); } }); </script> <?php // the closing brace here forms part of the php code block above } //if you decide to leave out the php code block above then comment or remove this too ?> </head> I tried removing the header tag edits, i tried removing the original ckeditor code i changed the original directory and added second line in echo '<script type="text/javascript" src="ext/ckeditor/ckeditor.js"></script>'; echo '<script type="text/javascript" src="ext/ckeditor/adapters/jquery.js"></script>'; i have tried quite a few things. i need someone else to see what i am missing.
  3. zpupster

    Header Tags SEO

    the suggestions did not seem to work i am deleting and reinstalling the database and site backups thanks
  4. zpupster

    Header Tags SEO

    By the way, in case you are not aware of it, you are installing an older version. I suggest installing the latest one since it has bug fixes in it. HeaderTags_SEO_V_3.3.3_1 this was the latest that i saw. that is what i used. from a 234 install the version checker said this was the latest. do you have a link to another one??
  5. zpupster

    Header Tags SEO

    i am trying to install HeaderTags_SEO_V_3.3.3_1 on BS Gold. everything seemed to go fine in the install, admin/includes/database_tables.php and includes/database_tables have: /*** Begin Header Tags SEO ***/ define('TABLE_HEADERTAGS', 'headertags'); define('TABLE_HEADERTAGS_CACHE', 'headertags_cache'); define('TABLE_HEADERTAGS_DEFAULT', 'headertags_default'); define('TABLE_HEADERTAGS_KEYWORDS', 'headertags_keywords'); define('TABLE_HEADERTAGS_SEARCH', 'headertags_search'); define('TABLE_HEADERTAGS_SILO', 'headertags_silo'); define('TABLE_HEADERTAGS_SOCIAL', 'headertags_social'); /*** End Header Tags SEO ***/ i checked in the admin database tables, the table does exist and is converted to utf8_unicode_ci permissions are set on header_tags.php at 755 i ran the headertags_seo_update.php . i saw that this was recommended in another post. yet i am getting the error below on index.php 1146 - Table 'site.TABLE_HEADERTAGS_DEFAULT' doesn't exist select * from TABLE_HEADERTAGS_DEFAULT where language_id = '1' thanks.
  6. hello support, this is for osc234 i have searched the addons but no finding what i want. i am looking for an addon that is similar to amazon here roll over product thumbnail image on left and it changes the product picture in main window. or here at 6pm site click a product thumbnail image and it changes product pic in main image area. is there an add on like that at oscommerce?? thanks
  7. hello, i presently have HeaderTags_SEO_V_3.2.7 by Jack. but we are changing to bootstrap. Does this addon --HeaderTags_SEO_V_3.2.7 --by burt, have a category description area? where each category is able to have a description added to the page from a text box provided in admin area. thanks
  8. zpupster

    HeaderTags_SEO_V_3.2.7

    we are switching to bootstrap, just thought i would give it a try since we are still testing. if no one answers i will install HeaderTags_SEO_V_3.2.7.
  9. shazamm!! just what the doctor ordered! thanks you so much for taking time out to show me this. I see lots of flexibility with these content modules. i have not tried it yet, I see no problem.
  10. had a little trouble getting this to work. can i move this out of the header to lets say where welcome to the store is?? http://sympacare.com/tristarbs/ i have tried quite a bit at this. i know where the code should go in either template_top.php underneath bread crumbs. <body class="center"> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <?php echo $oscTemplate->getContent('navigation'); ?> <div class="col-sm-12<?php /* echo $content_width; */ ?>"> <?php echo $breadcrumb->trail(' » '); ?> <div id="carousel" class="col-sm-<?php echo $content_width; ?>"> <?php echo $carousel; ?> </div> or index.php instead greeting <div class="contentContainer"> <div class="alert alert-info"> <?php echo tep_customer_greeting(); ?> </div> tried css to move it. if someone could point out the code to place and what would i need to change thanks
  11. hello, has anyone seen an addon that formats the telephone numbers from the customers database so that when they are called are displayed as (555)555-5555 ? i have been googling and searching for a while now and have not found an answer
  12. zpupster

    formatting the customer_telephone

    this the function i used in invoice.php <?php function format_telephone($phone_number) { $cleaned = preg_replace('/[^[:digit:]]/', '', $phone_number); preg_match('/(\d{3})(\d{3})(\d{4})/', $cleaned, $matches); return "({$matches[1]}) {$matches[2]}-{$matches[3]}"; } ?> called it here: <td class="main"><?php echo format_telephone($order->customer['telephone']); ?></td> this works, but should i put the function in a different area of oscommerce.
  13. hello support, using osc 234,--trying to preview product descriptions in alternanative administration .3 in alternative administration .3 this ( catalog/product_info.php) <?php echo stripslashes($product_info['products_description']); ?> is to be changed to this <?php echo '<span id="aas">'.stripslashes($product_info['products_description']).'</span>'; ?> or to<span id="aas"><?php echo stripslashes($product_info['products_description']); ?></span> but i already have headertags 3.3 installed and have this <?php /*** Begin Header Tags SEO ***/ ?> <?php echo HTS_Highlight(stripslashes($product_info['products_description']), $header_tags_array['keywords']); ?> <?php /*** End Header Tags SEO ***/ ?> i have tried a couple of code changes but with no success.
  14. zpupster

    alternative administration

    the iframe on the right that contains the product description edit view is the unsecured(http).
  15. zpupster

    alternative administration

    in chrome you can click the alert shield located on the right hand side of the address bar, and allow content. this will allow me to edit the product description, however the real time edit does not work. that was a nifty feature. thanks again, John, for a nice add on.
  16. zpupster

    alternative administration

    yes. i tried divs instead of span. i think i tracked down part of the problem. from google chrome console. Mixed Content: The page at 'https://myiste.com/admin/aas.php?cPath=4' was loaded over HTTPS, but requested an insecure resource 'http://mysite.com/test-p-942.html?language=en'. This request has been blocked; the content must be served over HTTPS. when it loads in IE9, the warning popsup and asks if i should allow content. however in chrome it just does not load the iframe on right panel. from the warning you can see that the right panel is not secure(https), i am not sure how to fix that. but that is why the live edit is not working either, i assume.
  17. zpupster

    alternative administration

    John, it does not work in chrome, i got the preview in IE9 but the live edit does not work.
  18. zpupster

    alternative administration

    this did not work either <?php echo '<span id="aas">'.stripslashes($product_info['products_description']).'</span>'; ?>
  19. zpupster

    alternative administration

    hello, removed this <?php echo HTS_Highlight(stripslashes($product_info['products_description']), $header_tags_array['keywords']); ?> tried this <span id="aas"><?php echo stripslashes($product_info['products_description']); ?></span> and still can not get a preview.
  20. zpupster

    alternative administration

    hello John, ty for taking a look that did not do it . i tried wrapping the span tag around <?php echo HTS_Highlight(stripslashes($product_info['products_description']), $header_tags_array['keywords']); ?> that did not work either.
  21. zpupster

    Header Tags SEO

    ty road dr, i copied that from the instructions. <?php /*** Begin Header Tags SEO ***/ ?> <a name="<?php echo $header_tags_array['title']; ?>"></a> <?php $review['products_name'] = $header_tags_array['title_alt']; if (tep_not_null($review['products_model'])) { $products_name = $review['products_name'] . '<br><span class="smallText">[' . $review['products_model'] . ']</span>'; } else { $products_name = $review['products_name']; } /*** End Header Tags SEO ***/ ?> this worked
  22. zpupster

    Header Tags SEO

    installing HT's 3_3_3_1 on regular osc234 in In product_reviews_info.php FIND (around line 47): require(DIR_WS_INCLUDES . 'template_top.php'); ADD BENEATH: <?php /*** Begin Header Tags SEO ***/ <a name="<?php echo $header_tags_array['title']; ?>"></a> $review['products_name'] = $header_tags_array['title_alt']; if (tep_not_null($review['products_model'])) { $products_name = $review['products_name'] . '<br><span class="smallText">[' . $review['products_model'] . ']</span>'; } else { $products_name = $review['products_name']; } /*** End Header Tags SEO ***/ <?php /*** End Header Tags SEO ***/ ?> Dreamweaver giving syntax error changed this /*** End Header Tags SEO ***/ <?php /*** End Header Tags SEO ***/ ?> tothis /*** End Header Tags SEO ***/ ?> but still getting them here. <?php /*** Begin Header Tags SEO ***/ <a name="<?php echo $header_tags_array['title']; ?>"></a>
  23. osc234 force cookie use needs to be set to false. and it works!!
  24. i have got this working on a fresh install of osc234. i have yet to get it working on my osc234 site though. i have all ereg to pregs except line 241 in catalog/includes/modules/payment/chargeit.php if (ereg ("(^[0-9][0-9][0-9]$|^[0-9][0-9][0-9][0-9]$)", $HTTP_POST_VARS['cvv_number']) == 1){ i have exam diffed(compared) all the pertinent files. i am tired and eyes are crossed-- tomorrow is a new day. ?????? thanks
×