Tag: "howto"
HOWTO: Find a Physical Path in ASP.Net from URL
In a number of situations, we need to know a Physical Path in a server from URL. For example, we need to upload some photo. Thus, this is a very common task, and is very easy to do in C# Codestring serverPath = Server.Map("~/Photo"); // e.g. it returns… more »
Tags: howto
How to add shortcut in control panel in Joomla
I wish to add a shortcut in the control panel in Joomla.That is the homepage of admin interface in Joomla. So that, the user is easier to access a component. That is so easy! You just need to modify \administrator\modules\mod_quickicon\mod_quickicon.php… more »
Tags: howto
How to pass the value from the controller to a view
I am implementing a MVC component. I wish to pass a value from the controller to the view for displaying. This is very easy. You need to assign the value from the controller. Code$view =… more »
How to reference a javascript file in a Joomla Component
I am writing two Joomla components during these few days. I got a problem, how to reference a javascript file in a Joomla Component. I used to do it in a cowboy way. I hard coded the path in the template! I should keep it inside the component! I found… more »
I got System.BadImageFormatException when I was using SQLite
I had built a new application using System.Data.Sqlite. When I run the application, I got an exception, System.BadImageFormatException.Well, I found I was using 64-bit version, because System.Data.Sqlite will call some unmanaged dlls. So, it still needs… more »
Tags: howto
