Thursday, 16 November 2017 16:13

If you use Yoast for WP and press button 'Remove Yoast SEO Comments' - you can show this errors:

Fatal error: Uncaught Error: Call to undefined method RYSC::head_product_name() 
in /home/youraccount/sitename.com/www/wp-content/plugins/remove-yoast-seo-comments/remove-yoast-seo-comments.php(110) : eval()'d code:17 
Stack trace: #0 /home/youraccount/sitename.com/www/wp-content/plugins/remove-yoast-seo-comments/remove-yoast-seo-comments.php(110): eval() 
#1 /home/youraccount/sitename.com/www/wp-includes/class-wp-hook.php(286): RYSC->rewrite('') 
#2 /home/youraccount/sitename.com/www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) 
#3 /home/youraccount/sitename.com/www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) 
#4 /home/youraccount/sitename.com/www/wp-includes/general-template.php(2614): do_action('wp_head') 
#5 /home/youraccount/sitename.com/www/wp-content/themes/Newspaper/header.php(11): wp_head() 
#6 /home/youraccount/sitename.com/www/wp-includes/template.php(688): require_once('/home/youraccount/...') 
#7 /home/youraccount/sitename.com/www/wp-includes/template.php(647): load_template in /home/youraccount/sitename.com/www/wp-content/plugins/remove-yoast-seo-comments/remove-yoast-seo-comments.php(110) : eval()'d code on line 17

To fix it - Go to FTP -> open www/wp-content/plugins/ -> find folder remove-yoast-seo-comments and remove it or delete or rename (-remove-yoast-seo-comments)

Work done!

Thursday, 16 November 2017 15:36

If you update your hosting to v7.1 & more - you can look same notification 'Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJw_sigpro has a deprecated constructor in .../www/plugins/content/jw_sigpro/jw_sigpro.php on line 19'

This code fix this problem you need Open plugins/content/jw_sigpro/jw_sigpro.php find this code in line 28:

function plgContentJw_sigpro(&$subject, $params)
	{
		parent::__construct($subject, $params);

		// Define the DS constant under Joomla! 3.0
		if (!defined('DS'))
		{
			define('DS', DIRECTORY_SEPARATOR);
		}
	}

 And replase it to this code:

public function __construct(&$subject, $params) {
	parent::__construct($subject, $params);

	// Define the DS constant under Joomla! 3.8.2+
	if (!defined('DS')){
		define('DS', DIRECTORY_SEPARATOR);
	}
}

Awesome - it work done! :-)

If you see same problem with jw_sig.php  - just download free new plugin from GitHub and install it: https://github.com/joomlaworks/simple-image-gallery

Tuesday, 14 November 2017 13:56

Fusking Apple) Apple must Die!

screen shot 2017 09 12 at 21.22.18 feb12

Thursday, 09 November 2017 11:52

How to fix OS X application can't be verified | OS X El Capitan | macOS Sierra | Yosemite Corrupted or Damaged during Downloading in Easy Steps.

"This copy of the install OS X Yosemite (any OS X) application can't be verified. It may have been corrupted or tampered with during downloading" 

Try change system date using Terminal and it will work. Run this command in Terminal (go to Utilities -> Terminal):

Date 0320015315

Date 0320015315 (month_date_time_year) String of numbers = month 03, date 20, time 0153, and year 15, combined. 

Sunday, 29 October 2017 18:30

Microdata makes it possible to search engines to understand important details about your site's content. Microdata provides Google and Bing with extra information about your content such as names, descriptions, dates and ratings. And, because search engines can understand your data more clearly, they often reward you with a higher ranking.

In Joomla, microdata support was quietly added in Joomla 3.3 which was released in April 2014. The best to way to provide microdata is by using your template.

Some templates provide microdata support, but many do not. If your template was released before April 2014, it probably doesn't support microdata and will need to be updated.

I'm going to show you how to test your template and then add microdata if needed.

Sunday, 29 October 2017 17:32

Many of us are very familiar with micro-markup and know firsthand what schema.org is. But I would like to note that not many people use this format to mark the navigation menu of the site. Here is an example of marking menu items in the schema.org format:

<ul itemscope itemtype="http://www.schema.org/SiteNavigationElement">
	<li itemprop="name">
		<a itemprop="url" href="#">Link</a>
	</li>
	<li itemprop="name">
		<a itemprop="url" href="#">Link</a>
	</li>
	<li itemprop="name">
		<a itemprop="url" href="#">Link</a>
	</li>
</ul> 

 

Tuesday, 24 October 2017 20:04
function compresscss ( $data, $url ) {
        global $current_css_url;
        $current_css_url = $url;
        /* remove comments */
        $data = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $data);
        /* remove tabs, spaces, new lines, etc. */
        $data = str_replace(array("\r\n", "\r", "\n", "\t", '  ', '    ', '    '), ' ', $data);
        /* remove unnecessary spaces */
        $data = preg_replace('/[ ]+([{};,:])/', '\1', $data);
        $data = preg_replace('/([{};,:])[ ]+/', '\1', $data);
        /* remove empty class */
        $data = preg_replace('/(\}([^\}]*\{\})+)/', '}', $data);
        /* remove PHP code */
        $data = preg_replace('/<\?(.*?)\?>/mix', '', $data);
        /* replace url*/
        $data = preg_replace_callback('/url\(([^\)]*)\)/', 'replaceurl', $data);
        return $data;
}

 

Sunday, 22 October 2017 21:54

In this article, I would like to share some hacking tips about how to improve User Experience (UX) for eCommerce websites. This is a very interesting topic because by increasing UX, you can generate more sales and also obtain and maintain customers. No need to wait more, we are going to the first tip now.

Use white space in your favor.

With ecommerce websites, white space can be used in order to improve user experience. We call any blank area on your site is white space, and no matter what color it is. Using white space is a good way to highlight images of products and their details. If you present too many products in only one page, it seems that you are trying to force the consumers to buy all those, and sometimes it also makes your layout more clutter.

Sunday, 22 October 2017 21:49

If you are also a retailor, have your ever thought that you will be the formidable opponent of the giant like Amazon and Walmart or at least you desire to compete with them? If our answer is yes, you should build an actually powerful online selling system. So, the core of your marketing strategy should be conversion rate, not just traffic because traffic is just the visible part of the iceberg. There is one thing which is always true that a company selling well will gain high conversion rate. That is the evident truth.

A common mistake of many business owners is putting too much efforts on stimulating traffic amount and almost forgetting conversion rate. If traffic is not converted, what does that high traffic amount mean?  After all, rate of conversion or purchasing seems to be the most proper criteria to evaluate whether how well your business works.

Sunday, 22 October 2017 21:42

Life has been changing and the way we shopping is now totally different from the past. Nowadays, queuing up outside stores or traveling a long distance to buy something you want from your favorite retailers is just in the past, it’s time for you to forget them. While retail industry is still the billions industry, there is another one has appeared and gone along with the development of retail, that is Ecommerce. It can be said that making the sale online is never a difficult task, especially when you have already had Magento store. From the first time, Magento has been considered as one of the best online store development platforms, business owners love it due to the powerful features provided.

Sunday, 22 October 2017 20:41

To continue with the tips to improve Joomla website performance, in the previous part, I had introduced how to use caching and .htaccess Optimization Rules, in this part, I will show you some other tips and hope you find it useful.

Joomla Compression

This is also an effective feature to optimize your website performance. When you enable this feature, the web page will be compressed and of course, the compressed page will take less time to load. Here is the way to enable Joomla Compression:

Sunday, 22 October 2017 20:32

If you want to check the speed of your Joomla website, let’s start with speed test first. It can be said that site speed is one of the most important factors that affect directly a site performance. All your effort put into user-friendly interface, conversion rate optimization, high-quality content, and other things will not make sense if your page takes visitors too much time for loading.

Of course, I do not deny that Joomla is one of the most powerful CMS and the best choice for any business owners who want to have websites easily but it had better improve your site speed continuously. You can increase the speed of your Joomla site by using its inbuilt features and follow the tips I will mention in this article.

Sunday, 22 October 2017 20:28

During 2017, we have heard a lot of opinions that this year has been too gloomy for Joomla. However, we think that this year is so important because it is the stepping stone for the explosion in 2018 when we prepare to welcome Joomla! 4.0 and Joomla! Framework 2.0. In addition to introducing several new features, including a fully rebuilt Media Manager, an enhanced event dispatching system, and new security features such as support for prepared SQL statements, we have also been doing some routine maintenance and paying off some of our project’s technical debt by retiring deprecated code and raising the minimum supported software stack. And, with this released version, we also require PHP 7.

Friday, 20 October 2017 19:19
// Unset unwanted Scripts - by name
$unset_scripts = array(
	'k2',
	'...',
);

foreach($this->_scripts as $name=>$script)
{
	if (!preg_match('#(' . implode('|', $unset_scripts) . '#i', $name))
	{
		continue;
	}

	unset($this->_scripts[$name]);
}

or if you use joomla v3.8.1 you can try this php code:

<?php
	$doc = JFactory::getDocument();
	unset($doc->_scripts[JURI::root(true) . '/media/system/js/mootools-more.js']);
	unset($doc->_scripts[JURI::root(true) . '/media/system/js/mootools-core.js']);
	unset($doc->_scripts[JURI::root(true) . '/media/system/js/core.js']);
	unset($doc->_scripts[JURI::root(true) . '/media/system/js/modal.js']);
	unset($doc->_scripts[JURI::root(true) . '/media/system/js/caption.js']);
	unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery.min.js']);
	unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery-noconflict.js']);
	unset($doc->_scripts[JURI::root(true) . '/media/jui/js/bootstrap.min.js']);
?>

if you wand disable all js & css scripts - use code:

$doc->_scripts     = null;
$doc->_script      = null;
$doc->_styleSheets = null;

 

Sunday, 15 October 2017 20:22

Serious, You gotta get these!

Emmet

Sublime ->  Command + Shift + P -> Install Paskages -> Emmet