Search the Wiki

Viewing 1 to 10 of 226 items

CS Cart – Show category image

If you can want to display the category image that is uploaded in the back end, you can update the following code in your template files: {include file=“common/image.tpl” show_detailed_link=false images=$category_data.main_pair no_ids=true image_id=“category_image”} Hope it is helpful for you 🙂

0

Magento – Send newsletter to the subscribers

If you have a list of recipients to be sent, you should divide the list into small parts. You can configure through the Magento Admin Area -> Newsletter -> Newsletter Templates-> Action -> Queue Newsletter. Notice that you can select which store view subscribers are going to receive the newsletter and in the Queue Date Start field define  Full Article…

0

Disable clicking on any elements by using CSS and Jquery

There is a tip in CSS that you can use to disable click on any elements. Here is how to use it with jQuery: CSS: .dis{pointer-events:none} Jquery: $(“#container”).addClass(“dis”); //disables $(“#container”).removeClass(“dis”); //enables Hope it is useful for you 🙂

0

Cloudflare – Enable maintenance mode with a static page

About a month ago Cloudflare announced the general availability of Cloudflare Workers, a new feature to complement the existing Cloudflare product offering which allows the execution of JavaScript at the edge of Cloudflare’s CDN prior to the request hitting your own web infrastructure. Cloudflare Workers runs JavaScript in the Google V8 engine developed for Chrome that can  Full Article…

0

HTACCESS – Redirecting a web directory to another directory

Redirecting within the same domain Using htaccess in your root level of your web server, how you redirect one page to another is: RewriteRule ^url-string-to-redirect$ http://www.yourdomain.com/your-new-url-string [R=301,L] Or Redirect 301 /path/to-old-url    http://www.cyourdomain.com/path/to-new-url To redirect the contents of a whole directory to another use the below: RewriteRule ^subdirectory/(.*)$ /anotherdirectory/$1 [R=301,NC,L] To redirect the contents of  Full Article…

0

WordPress – How to install and setup multiple sites

A WordPress Multisite network allows you to run and manage multiple WordPress sites or blogs from a single WordPress installation. It enables you to create new sites instantly and manage them using the same username and password. You can even allow other users to signup and create their own blogs on your domain. The WordPress multisite network  Full Article…

0

Magento 2 – How to fix Exception SessionHandler

The Issue You may face the following exception during the Magento 2 installation: 12345 exception ‘Exception’ with message ‘Warning: SessionHandler::read(): open(..) failed: No such file or directory (2) ../magento2/lib/internal/Magento/Framework/Session/SaveHandler.php on line 74’ in ../magento2/lib/internal/Magento/Framework/App/ErrorHandler.php:67 The error occurs only in older code versions. To be more exact, you won’t see this exception working with versions from September 29,  Full Article…

0

MySQL – Remove all triggers by using the SQL queries

Sometimes you want to remove all existing triggers in your database so that you can create the new one. You can execute the following SQL query to generate all necessary SQL queries to remove the triggers in your database. SELECT Concat(‘DROP TRIGGER ‘, Trigger_Name, ‘;’) FROM information_schema.TRIGGERS WHERE TRIGGER_SCHEMA = ‘your_database_name’; After that, you can  Full Article…

0