Jack_mcs Posted May 15, 2016 Author Share Posted May 15, 2016 I'm not sure what you mean by "actual" since there are probably at least five addons for the CKEditor. As mentioned, it shouldn't matter since they should work with this addon but here is one that I have used before. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
milerwan Posted May 15, 2016 Share Posted May 15, 2016 (edited) I'm not sure what you mean by "actual" since there are probably at least five addons for the CKEditor. As mentioned, it shouldn't matter since they should work with this addon but here is one that I have used before. Thank you, this addon works but there is something wrong with your code that need to be modified to do it. In "Install_Admin.txt" tutorial, during "admin/categories.php" file update, when editing textarea_field (line 312) : } else if (HEADER_TAGS_ENABLE_HTML_EDITOR == 'CKEditor') { echo tep_draw_textarea_ckeditor('products_description[' . $languages[$i]['id'] . ']', '70', '10',(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'] . ']'); Need to replace by this one : } else if (HEADER_TAGS_ENABLE_HTML_EDITOR == 'CKEditor') { echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '10', (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"'); Like this all works perfect, no need to create specific "tep_draw_textarea_ckeditor" function. :) Edited May 15, 2016 by milerwan Quote Osc v2.3.4 BS "custom" PHP 7.3 compatible (710 modified files => o_O') Link to comment Share on other sites More sharing options...
IWAS Posted May 26, 2016 Share Posted May 26, 2016 This is the first time I added this to a bootstrap shop (edge). Everything works great except I think I messed something up. When I use the admin/includes/template_top.php file that is in the add-on it totally hoses my left column. If I do the the individual change in the instructions it hoses my Header, but only on the page control (header_tags_seo.php) page. Everything still works just thought I might of did something wrong. Quote Link to comment Share on other sites More sharing options...
tgely Posted May 26, 2016 Share Posted May 26, 2016 @@IWAS maybe you should install the check update controller codes for this module. Quote osCommerce based shop owner with minimal design and focused on background works. When the less is more.Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store. Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 26, 2016 Author Share Posted May 26, 2016 @@IWAS When it comes to the BS version, you usually can't use included files because they change so often. For the problem on Page Control, please be sure your template_top file has the code to load the headertags_seo_styles.css file and that that file exists in the includes directory, Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
IWAS Posted May 26, 2016 Share Posted May 26, 2016 Thanks Jack :) . I'm not using the included file. This is the instructions for template_top, I guess the css call is missing. I added it like it was in the included file and all is good. Little <div> runover, but I can live with this. =================================================================== In admin/includes/template_top.php, FIND (around line 39): </head> ADD ABOVE: <?php /*** Begin Header Tags SEO ***/ switch (HEADER_TAGS_ENABLE_HTML_EDITOR) { case 'CKEditor': echo '<script type="text/javascript" src="./ckeditor/ckeditor.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 ***/ ?> =================================================================== Quote Link to comment Share on other sites More sharing options...
IWAS Posted May 26, 2016 Share Posted May 26, 2016 @@Jack_mcs Nice job on the Social Bookmarks. I was going to add a blogspot.com link to your social bookmarks, and noticed you already had the image for it in the images directory. Is this something you already had tried before or is it something intended for the future? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 26, 2016 Author Share Posted May 26, 2016 Thanks for mentioning this mistake. The correction has been made in the next version. The way it looks in the image you posted is not quite right. The problem is because not all left columns are the same width and it messes with the css I used, You can adjust that by changing the 230 number in this line: div.statsLeft {display:inline-block; margin-left:10px; width:230px} Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 26, 2016 Author Share Posted May 26, 2016 For the social bookmarks, I just added all I could find at the time. Some are no longer available. To use one, you just need to follow the instructions on that page. It just involves adding the common command and checking the image. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
IWAS Posted May 26, 2016 Share Posted May 26, 2016 Thanks for the fix. For the social bookmarks, I just added all I could find at the time. Some are no longer available. To use one, you just need to follow the instructions on that page. It just involves adding the common command and checking the image. You had the image for blogspot in the images file but not on the page where it can be checked and command entered. I'll take a closer look later. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 26, 2016 Author Share Posted May 26, 2016 I don't see such an image, assuming it would be named something like blog_spot. You may be looking in the social icon images directory of oscommerce, not the one added by this addon. If you copy the image to this images directory, using the name format of the others, it should show up in admin in the social section and you can then enable it. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
IWAS Posted May 26, 2016 Share Posted May 26, 2016 You're right it was in the osc-BS build. I was looking at the JS of that, was wondering if that is how it worked. Sweet. :) I attached the scaled images if you want to include it on the next release. I think Google has something to do with blogger and blog_spot. Quote Link to comment Share on other sites More sharing options...
IWAS Posted May 26, 2016 Share Posted May 26, 2016 I guess it pays to read your instructions, LOL. Didn't see that it was posted in front of my face :rolleyes: Quote Link to comment Share on other sites More sharing options...
phi148 Posted June 11, 2016 Share Posted June 11, 2016 Hi Jack, Is there a way to change the double quote character to " in the meta tags description and keywords? I have double quotes in my descriptions and keywords, so that is messing up the html. Thanks!! Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 11, 2016 Author Share Posted June 11, 2016 The last version has that change in it. If you are not using the latest version, then updating should fix it. If you are using the latest version, I may have missed a statement that uses quotes but I wouldn't know where that is without troubleshooting the code and it works fine for me so I can't do that. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Boldman Posted June 11, 2016 Share Posted June 11, 2016 In my admin I see the Header Tag Seo twice on the left side, must be somewhere a double code in a file. where to look ? Quote Link to comment Share on other sites More sharing options...
Boldman Posted June 11, 2016 Share Posted June 11, 2016 I found it, in the left collum.php I removed /*** Begin Header Tags SEO ***/ include(DIR_WS_BOXES . 'header_tags_seo.php'); /*** End Header Tags SEO ***/ Quote Link to comment Share on other sites More sharing options...
Boldman Posted June 17, 2016 Share Posted June 17, 2016 I miss some meta's for local targeting and language like <meta name="language" content=" xx "><meta name="Geography" content=" xxxx "> this will help me alot to get my local ranking higher. How ? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 17, 2016 Author Share Posted June 17, 2016 There is a check box in Page Control for the language meta tag. There isn't anything in place for GEO Tags. Since that would be the same for all pages, you can edit the header_tags_social_bookmarks.php file in modules to include them for your site. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted June 21, 2016 Share Posted June 21, 2016 Jack, apparently I installed this contribution to one of my sites with no problems years ago, mostly for the SEO benefits. I was recently trying to find a way to add text to the category page, and read that this could also be done with Header Tags SEO. I had never noticed or realized that. But I can't see how to do this. I ran the test and there were no problems really, but when I add text to the Header Tags Categories Description box and save my changes in admin....none of it appears on the category page of the site. Am I overlooking something simple? Any help appreciated in advance. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 21, 2016 Author Share Posted June 21, 2016 If you edit a category and see text in the larger Header Tags box, then the admin side is working correctly. If you visit that category on the shop side and don't see the description then something is wrong with the code changes on that page. You would need to run through the instructions to see where the mistake is at. You can upload the included index.php file as some other name, like index_hts.php and then visit that page with a browser. You will need to go to a category page and then alter the url to use the new name. If you are using a url rewriter, just turn it off for this test. If the descriptions show up, then you can compare that file with yours to see where the problem is. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted June 21, 2016 Share Posted June 21, 2016 Thanks for the response, but I don't quite understand. I took my site back over from a crooked webmaster years ago and what little has sunk into my brain isn't quite enough to understand your help completely. If I just rename the index file, how does that help me see changes to a category page? I don't know if my site uses a url rewriter or not, or what that is. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 21, 2016 Author Share Posted June 21, 2016 The index.php file controls the home, categories and manufacturers pages. If you can see index.php in the browsers url box when on a category page then you probably are not using a url rewriter. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted June 21, 2016 Share Posted June 21, 2016 This site must use a url rewriter then, as the category (and product) pages end in .html ...........I guess this site has seo url contribution or something, so I toggled that off in admin (made "enable seo url" false) but that broke something and made category pages unreachable, so I turned it back on right quick. Whatever, I'm just a monkey pushing buttons at random, basically, and shouldn't be tinkering with anything at this point. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 21, 2016 Author Share Posted June 21, 2016 It sounds like you have an older version of Ultimate SEO installed since that problem existed in them. If you want to test the index file, you can type this directly into the url box without turning off the rewriter: http://YOUR DOMAIN NAME//index.php?cPath=xx xx is the ID of the category you want to view. It is the number that appears in the normal url as -c-xx.html Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.