Jump to content
Latest News: (loading..)

JcMagpie

♥Ambassador
  • Content count

    490
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by JcMagpie

  1. favicon.ico error

    OK sorry Valqui , I was just making a point that it’s best to post as a none active link when your just wanting to show the path of your shop without giving the actual link, www.site.com belongs to someone as does xyz.com, sorry just my warped sense of humor.
  2. favicon.ico error

    Oh and also these days favicons are more complicated than just having one file in your root! Hence the addon. Browsers now expect to be able to serve the right size favacon for each device, also they are used differently by each device and high resolution displays require better quality favacons. This is all taken care of by the add-on. Nice and simple so yes I recommend using the add-on rather that editing core files. Faviconit Header_tag addon. For Frozen
  3. favicon.ico error

    So that's strange as when I go to the links provided this is what I get,(see below) are you using a shared server? or are you using a redirecting service? clearly something is wrong with the set up as it keeps send people to UltraDNS Redirection Service. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <frameset rows="100%,*" frameborder="no" border="0"> <frame src="https://www.salesforce.com/platform/overview/?d=70130000000liBh&internal=true" scrolling="auto"> <noframes> <body><table border="2" width="50%"> <tr><td>Your browser does not appear to support frames. However, you can still view the content you requested by clicking the link below.</td></tr> <tr><td><a href="https://www.salesforce.com/platform/overview/?d=70130000000liBh&internal=true">https://www.salesforce.com/platform/overview/?d=70130000000liBh&internal=true</a></p></td></tr> </table></body> </noframes> </frameset> </html> Salesforce .com appear to own www.site.com and are redirecting it to there main site. They also provide hosting for e-commerce which is why I thought you may be using them. all very confusing?
  4. favicon.ico error

    It looks as if you are trying to get files from another site and they are refusing you access! following the link in your error takes you to a dead page and then to this site, www.salesforce.com/products/ ?? only you will know why you are getting resources from this site. Are you using a CRM or other extension from these people?
  5. Featured products with Ribbon v2.3.4.1 C This is based on an existing addon so all credit goes to the original author. I have only made a very small change. A simple addon to let you place a featured products carousel with “Wow!” Ribbons on the index page. Simply install the files and install and turn on. It requires owl_carousel so if you do not have that then just follow the instructions included to install that. It has been tested on the v2.3.4.1 CE Only.
  6. No sorry no plans to do that, just don't see the point. If you want to display cats then ask @burt as he has a Cat's on index add-on as part of the 28d thing. Or post in the commercial section to get one coded.
  7. I’m not sure I understand what your asking, If a category is to be a featured or special then its simpler just to change its image.
  8. favicon.ico error

    This is not an issue as this is allowed. The add-on tells the browser where to look for the OsC icons.
  9. Faviconit Header_tag addon. For Frozen A simple header_tag that installs the standard faviconit links. Just copy the files over as provided and install and turn on. Go to the “JcMJcMfavicon” folder and replace the files with your own icon files which you generate from http://faviconit.com/en That’ it enjoy.
  10. Now I am always skeptical when people tell me they have a new way to speed up my website! However it can some times be true and help. So here is one simple way to do this using your .htaccess file. Its explained In depth in this article. https://varvy.com/pagespeed/cache-control.html First lets bench mark your site as it is so we have something to compare the changes against. Use this link to do this. https://tools.pingdom.com/ Once you have a load time make a note. Now open your .htaccess file and add the following code. # One month for most static assets <filesMatch ".(css|jpg|jpeg|png|gif|js|ico)$"> Header set Cache-Control "max-age=2628000, public" </filesMatch> This is basically telling the browser of any one coming to your site to keep stuff in the cache. The article goes into more depth about this and how it works. Now save and close your .htaccess file, that's it. Now press f5 key to clear your browser cache, or go to settings and clear it. Now go back to https://tools.pingdom.com and run the speed load test again. Has it made any improvement? If yes then your all good and enjoy the faster loading of your site. If not then never mind just remove the code from your .htaccess file. I have seen small improvements on every site I have tested. If you alrady have this set in your .htaccess file then you dont need to do this.
  11. Politicians flip & flop all the time, It would be a nightmare keeping it up to date with every change! Also giving league advice in the core or as an add-on is not wise as it would open OsC to legal complications. Its best people get advice from own local legal experts so there is no comeback on OsC. People should be getting there T&S and other stuff legally check anyway. I would definitely keep it out of core.
  12. Is there any reason for using the all.js? I replaced it with all.css locally and it looks like it working faster! <link rel="stylesheet" href="/ext/fontawesome-free-5.1.1-web/css/all.css"> This cdn also looks to work smother than the v5.0.6/js/all.js .......cdn <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.6/css/all.css">
  13. Ok have installed as local fonts, <script defer src="/ext/fontawesome-free-5.1.1-web/js/all.js"> We then have to edit all.js to include just the fonts we need. This is a cut down version of all.js with most of the junk taken out. Its installed on the test site www.justfastfood.com would be good if a few others can try it and see if they see an improvement or do I still need to cut more out? all.js
  14. How would you prefer to do this, using http://fontello.com/ We can simply pick the icons we need and download a reduced font set. You then simply install that and point to that instead of https://use.fontawesome.com/releases/v5.0.6/js/all.js This would limit anyone adding a new icon in an addon?
  15. Do we have a list of all the icons used in frozen? Reading this article, looks like you have a couple of ways to do this. https://blog.webjeda.com/optimize-fontawesome/
  16. JcM Adaptive Images addon Frozen This will automatically produce several images from your original image so each device can be served with the correct size image. Will help speed up site loading on mobile devices. Again totally standalone with no core code change. Once you have copied all the files over go into admin/Content /Modules and install “JcM Adaptive Images “ and turn it on. You will have nothing to see as it just adds script. Go to a mobile device and view your site, browse around and then check your site files. You should have a directory /ai-cache and withing this will be other folders /100 /200 ect. To match your image widths. If this is true its working. If not check your config. The script works but will mess up low quality images! So if your images are small to begin with not much point using this. As it scales up images to try and give a better view all you will get is a fussy mess! To your a .htaccess file I strongly advise you to duplicate that file so you can revert to it if things go pear-shaped. Open your existing .htaccess file and edit the contents. You'll need to look and see if there is a section that begins with the following: <IfModule mod_rewrite.c> If there is, then you need to add the following lines into that block: # Adaptive-Images ----------------------------------------------------------------------------------- # Add any directories you wish to omit from the Adaptive-Images process on a new line, as follows: # RewriteCond %{REQUEST_URI} !some-directory # RewriteCond %{REQUEST_URI} !another-directory RewriteCond %{REQUEST_URI} !assets # Send any GIF, JPG, or PNG request that IS NOT stored inside one of the above directories # to adaptive-images.php so we can select appropriately sized versions RewriteRule \.(?:jpe?g|gif|png)$ adaptive-images.php # END Adaptive-Images ------------------------------------------------------------------------------- If you don't have a code block then simply copy and paste the following into your file instead: <IfModule mod_rewrite.c> Options +FollowSymlinks RewriteEngine On # Adaptive-Images ----------------------------------------------------------------------------------- # Add any directories you wish to omit from the Adaptive-Images process on a new line, as follows: # RewriteCond %{REQUEST_URI} !some-directory # RewriteCond %{REQUEST_URI} !another-directory RewriteCond %{REQUEST_URI} !assets # Send any GIF, JPG, or PNG request that IS NOT stored inside one of the above directories # to adaptive-images.php so we can select appropriately sized versions RewriteRule \.(?:jpe?g|gif|png)$ adaptive-images.php # END Adaptive-Images ------------------------------------------------------------------------------- </IfModule> Next, You can now open the “adaptive-images.php” file and have a play with the settings that are in the CONFIG area. By default it looks like this: /* CONFIG ----------------------------------------------------------------------------------------------------------- */ $resolutions = array(1382, 992, 768,500, 480, 250, 100, 40, 57); // the resolution break-points to use (screen widths, in pixels) $cache_path = "ai-cache"; // where to store the generated re-sized images. Specify from your document root! $jpg_quality = 80; // the quality of any generated JPGs on a scale of 0 to 100 $sharpen = TRUE; // Shrinking images can blur details, perform a sharpen on re-scaled images? $watch_cache = TRUE; // check that the adapted image isn't stale (ensures updated source images are re-cached) $browser_cache = 60*60*24*7; // How long the BROWSER cache should last (seconds, minutes, hours, days. 7days by default) /* END CONFIG ---------------------------------------------------------------------------------------------------------- ------------------------ Don't edit anything after this line unless you know what you're doing ------------------------- --------------------------------------------------------------------------------------------------------------------- */ You need to change this (1382, 992, 768,500, 480, 250, 100, 40, 57) to add the width sizes you have in your shop admin for your images.
  17. If you already have a solution then just keep using it as you have already done all the work! The 2 are very different. The Kiss-It add-on is very good but it requires several changes to core OsC. This Add-on is different in that it requires no core changes. The only change is adding 3 lines of code to you .htaccess file. It also only makes the new images that are required and this is done automatically. Negatives, you need to have good quality images to begin with. If your images are low quality then this is not the add-on for you as scaling up of low quality images results in fuzzy images. The php will try and sharpen the image but as they say you can't polish a “T” :) I recommend using sharp good quality 500x400 or 800x640 images as your base image and then letting the script make all the other images. Size is up to you but you need to stick to one aspect ratio. This gives good quality images for all devices. Keep all base images the same size, if you need to size up add padding do not scale up if image quality is low. Use a good quality image tool to process your images to be compressed and remove all unnecessary meta data.
  18. Its just been one of those days, just not good practice to code in between dealing with customers. Should have just left it to the weekend. I just uploaded the draft folder by mistake, It’s been fixed and V1.1 is up now with good code. For anyone who installed the first sorry but we got there in the end, just took the scenic route Thanks for all the feedback and help, I do try and listen honest...
  19. OK I'm happy to listen and take advise updated add-on to be header_tags module was just busy with customers they just keep calling! https://apps.oscommerce.com/8OSyE&jcm-adaptive-images-addon-frozen If you have already installed it just turn off and uninstall in admin, then remove header files. Add new header_tags files and go to header_tags and install and turn on. That's it, you do not have to touch any other file.
  20. Yep! The </form> is just an over site on my part when reusing the file for this add-on! Not going to do anything drastic me thinks! Yes i read your first statement about header_tags, as I said working fine as it is. Feel free to do it as a header_tag I have no issues with that, its all good.
  21. Telemarketer & Robo calls in the world

    No it’s not just you! I have seen a marked increase over the last few weeks. Both call’s mainly mobile and spam emails. They don't appear to be bothered about any new privacy laws! I think it’s just cyclical, they do it while they can then there a crack down and it slows bu they just pop up a little later somewhere else. The laws are never going to stop the determined spammers or cold callers. Perhaps if the authority's went after the people paying the spammers they might have more luck. After all a service with no customers soon goes away.
  22. I think it’s worth pointing out to people that no matter how good you make stock all your good work can be ruined by people installing poor quality add-ons, or just too many. You should test you site before and after installing any add-on and if it affects performance you need to decide is the additional functionality is worth the drop in performance?
  23. A new danger?

    ? makes no difference to any of my sites, must have something to do with the way the server is setup! error 500 is useless as it is used for anything the server does not understand! you need to check your error log to see what is causing the .htaccess to do this by just adding //text as on its own its meaningless. But hey if removing it fixes it for you then all's good.
  24. Have updated add-on to show This addon uses the code by MattWilcox/Adaptive-Images from GitHub It is used as supplied and all credit is with original author. All this add-on does is allow you to install in as a module you can turn on and off. The Author allows free down load from his website so code is not restricted. The code is in the public domain. Also his license is very clear, You are free to: Share — copy and redistribute the material in any medium or format Adapt — remix, transform, and build upon the material for any purpose, even commercially. The licensor cannot revoke these freedoms as long as you follow the license terms. ( these just say keep files as provided if not changed and leave original comments which i have ) Also may be scope to improve on this as the Author himself points out. Project status I am not maintaining this project any longer. This is an old project, and still works as intended, with little need for new features (hence the lack of updates). That said; if you are building a new website I would strongly recommend looking into HTLM’s new ‘picture’ tag, and the srcset and sizes properties now available on regular img tags. These were not available at the time of making AI, have since become a standard, and in many cases these are more appropriate solutions today. If the owner of the code has any issues with its use then I'm happy to have it removed from the App Market.
×