Webeks.net - freelance programming
freelance programming - php, Joomla, Zend ...
Home :: Articles :: Programming

Programming

Zend Translate Adapter for DB (MySql)

Last Updated on Sunday, 18 September 2011 20:50 Written by Miha Sunday, 18 September 2011 20:09

Zend Framework offers multiple adapters for translations. Among them is not an adapter for database translating. Here is how-to :)

Read more: Zend Translate Adapter for DB (MySql)

   

Multilingual Joomla 1.7

Last Updated on Tuesday, 26 July 2011 20:11 Written by Miha Tuesday, 26 July 2011 19:06

If we wanted a multiple languages supported on our site based on Joomla 1.5 we had to install various extensions (JoomFish for example). But from Joomla 1.6 we have a full native support for multiple languages.

Read more: Multilingual Joomla 1.7

   

Youtube video embding in Joomla 1.6 TinyMce

Last Updated on Monday, 11 July 2011 13:16 Written by Miha Monday, 11 July 2011 13:03

If you set TinyMCE view to extended (under Extensions->Plugins->Editor TinyMCE) you'll see an icon of film strip. It's intended to be able to embed a youtube or any other video / flash.

Unfortunately there are some problems to get this working.

Read more: Youtube video embding in Joomla 1.6 TinyMce

   

JFirePHP for Joomla 1.6

Last Updated on Thursday, 02 June 2011 20:30 Written by Miha Thursday, 02 June 2011 20:03

Short after I wrote an article about using FirePHP for debugging Joomla I got a client that wants to use Joomla 1.6 as CMS platform. JFirePHP is built for Joomla 1.5 so a minor customization was needed.

Read more: JFirePHP for Joomla 1.6

   

SWFobject - Flash loading twice workaround

Last Updated on Tuesday, 31 May 2011 15:07 Written by Miha Tuesday, 31 May 2011 14:47

I was solving an interesting problem for my client today. They wanted to show Flash on a flash-enabled sites but javascript slide-show on platforms that don't support flash. This is a task for swfobject that they managed to get running. However there were a problem with flash loading in Firefox - it loaded twice.

I looked around for a solution but nothing seemed to work. At last after few hours of trial and error I found the solution to this problem.

Read more: SWFobject - Flash loading twice workaround

   

Joomla module title in custom template

Last Updated on Friday, 27 May 2011 11:19 Written by Miha Friday, 27 May 2011 11:00

I've spent last hour finding out why module titles don't show in my custom build template for Joomla 1.6.

Read more: Joomla module title in custom template

   

Is frontpage check in Joomla 1.6

Last Updated on Friday, 27 May 2011 11:20 Written by Miha Sunday, 22 May 2011 17:46

When building a Joomla template it's sometimes useful to know if we are displaying an item on a frontpage or inside pages.

Read more: Is frontpage check in Joomla 1.6

   

How to get user aid in Joomla 1.6

Last Updated on Wednesday, 04 May 2011 19:50 Written by Miha Wednesday, 04 May 2011 19:31

In Joomla 1.5 we got users aid or user access identifier by calling get() method on user object. In Joomla 1.6 advance ACL was introduced and we have to use new function.

Read more: How to get user aid in Joomla 1.6

   

Joomla 1.6 custom menu systems with note field

Last Updated on Wednesday, 04 May 2011 19:30 Written by Miha Thursday, 28 April 2011 20:55

When developing menu systems for Joomla 1.5 I was always missing additional field where admin could input a title, menu item description etc. Joomla 1.6 menu system now offers additional note field which can be used.

Read more: Joomla 1.6 custom menu systems with note field

   

Joomla debugging with FirePHP / Firebug

Last Updated on Wednesday, 04 May 2011 19:24 Written by Miha Friday, 08 April 2011 17:45

I won't go into what Firebug is - if you are a web-developer you know what it is and what its good for. However only a few developers know how utilize it with PHP development.

 

Read more: Joomla debugging with FirePHP / Firebug

   

Remove Mootools in Joomla 1.6

Last Updated on Friday, 04 March 2011 16:56 Written by Miha Friday, 04 March 2011 16:34

Removing Mootools in Joomla 1.6 is still not straightforward, quite the contrary. There is no way to remove all the scripts out of the template unless you want to hack core files. But don't do that! It's bad practise! :)

Read more: Remove Mootools in Joomla 1.6

   

repair QIF format

Written by Miha Friday, 25 February 2011 18:55

I use NLB (Nova Ljubljanska Banka) and I wanted to import data to Quicken.

The problem was, that NLB only supports QIF or CVS export and Quicken only supports limited QIF import.

Read more: repair QIF format

   

How to override methods in dotNet C#

Written by Miha Thursday, 17 February 2011 19:37

Sometimes it is useful to override default methods. One of the most commonly overridden is method ToString().

Read more: How to override methods in dotNet C#

   

CakePHP pre-review

Written by Miha Thursday, 17 February 2011 19:31

Yesterday Gregor (my friend, coworker and director of Osvaja.net d.d.) found out CakePHP and got excited about it.

As I am doing software analysis and further project management for Bookingpoint.net I have to make a decision whether use it in our project or not. And decision has to be made till tomorrow - two days to review this tool and decide if it's going to shorten development time or just bring a headache to programmers.

Read more: CakePHP pre-review

   

XFBML fb:serverFbml not rendering solution

Last Updated on Thursday, 17 February 2011 18:16 Written by Miha Thursday, 17 February 2011 18:11

If you want to use FBML within iFrame, you should use XFBML fb:serverFbml tag.

However the examples provided in documentation don't work. And I spent quite some time to figure it out.

Read more: XFBML fb:serverFbml not rendering solution

   

Page 1 of 5