Monday, January 21, 2019
Simon Tushev

Simon Tushev

Simon is IT professional with interests in web design, electronics, photography and astronomy. He writes about PHP, Yii, Joomla!, Arduino and several other topics.

Mar 25, 2015: This article is back online, updated with the latest changes to Joomla! 3.4

Whatever you are developing - a complex application that consists of several extensions, a component or just a plugin for Joomla, you may encounter a situation when you need to add new editor button with your functionality. I faced this problem recently, and found that there's not so much information on the Web concerning this topic, at least in English. There are some fragments of necessary information, but not the complete step-by-step procedure. So I've decided to write this tutorial.

Wednesday, 25 March 2015 10:56

Correcting T3 framework MegaMenu issues

T3 Framework is one of Joomla! template frameworks. It features responsive design, powerful customization options and MegaMenu system.

It's a good framework, however, no system is free from bugs. In case with T3 you may occasionally encounter a situation where changes you are doing in MegaMenu Editor do not appear on the site. This is caused by corrupted template's JSON settings string.

To fix it, you need to access #__template_styles table of your Joomla! database, either with phpMyAdmin or by manually editing SQL dump.

The approach described here requires some basic knowledge of JSON & SQL. It may not be useful for beginners.

When you want to measure frequency in your Arduino project most likely you'll choose FreqCounter Library. However, despite FreqCounter is very precise, it may be unsuitable in some cases - because it affects PWM outputs of Atmega microcontroller, rendering analogWrite() functions inoperable.

In this article I'm going to show how to cope with it. However, an approach described here is not just a copy-and-paste solution, it will require adaptation to your project and you will have to do some things on your own. So this way, unfortunately, is not for beginners.

Sometimes you need to add custom javascript to Joomla! backend. 

Modifying templates that are shipped with Joomla! core such as isis (or any other template) is not a good idea. Any upcoming update may overwrite your changes.

The best approach is to add a custom module to backend:

Monday, 16 March 2015 10:08

How to suppress Matlab warnings

In many cases Matlab produces different warnings. Some of them are useful, some are REALLY not. Such warning as "Warning: Image is too big to fit on screen; displaying at 50%" is really annoying and disrupts output in command window.

The Web is full of suggestions like providing initial magnification:


but that's not a cure, it only masks symptoms. To turn it (or any other warning) REALLY off just click on the uppermost link in inner matlab files that produced that warning, find warning ID like 'images:initSize:adjustingMag' and copy it into clipboard. Then add the following line to your script:


This will really suppress this Matlab warning and you will not see it any more.

Page 3 of 7


Here I publish articles related to my areas of interest, my brief notes that may save some time to others, as well as some of my works.

This site is a work in progress. I will add more sections in the future, such as

  • More photos to photogallery
  • More Joomla!-related articles
  • ...



New Posts

Using dynamic GeoIP module with nginx (CentOS)

nginx introduced dynamic module support in v. 1.9.11. This brief article provides step-by-step procedure...

13-04-2016 in Linux, BSD, Unix


Visual difference between pseudo and true random data

This is is "random" image generated using PHP rand() function: And this is an image...

20-11-2015 in Blog


Best EEPROM practices

(this article is a work in progress). My own advice will be added later...   Having...

12-10-2015 in Arduino

Scroll to top

We use cookies, just to track visits to our website, we store no personal details Privacy policy