Hi, I'm Stanko Milošev and I decided to write blog about Answer to the Ultimate Question of Life, the Universe, and Everything I mean, blog about my life and programming. All articles which I will put here are for my purpose, in a first place, to...
So, this is my first post How to check is anything passed to $_GET or $_POST variables? Easily: if (!isset($_GET['download'])) else ?> Taken from here.
If you have problem with links in your custom created module, like instead of http://www.milosev.com it shows you http://www.milosev.com/http://www.milosev.com then try to disable System - SEF plugin.
Problem with dbExpress is that it does not raise an exception if anything is wrong in database (for example, if you try to add primary key which already exist). So, to get an exception, best would be to use OnReconcileError in TClientDataSet......
In this category I will try to write about creating extensions in Joomla! First, I will start with creating components. This example, I took from Professional Joomla!, which I simplified, this is not MVC, as much as I think, but it is good...
Question is how to show limited number of records on one page, like MySQL limit? There is query which you can use like: select * from ( select top 10 emp_id,lname,fname from ( select top 30 emp_id,lname,fname from employee ...
There is no such thing as TStringList So, note to my self, for saving files in PHP (good for geting and analyzing queries) : $fp = fopen('c:data.txt', 'w'); fwrite($fp, $MySQL); fclose($fp); Taken from here.
After reading few books, digging Internet, finally I found way to use mootools Ajax in Joomla! Point is in format=raw. If you have any component, if you add format=raw in link, for example index.php?option=com_ajax&Itemid=60&format=raw you will see...