Skip to main content

Posts

Hacking joomla core (categorize joomla modules under assigned menu)

Most of the time we have to face many difficulties search specific joomla modules that assigned to specific menu item. Currently (joomla 1.5x) joomla provide categorization of modules under fallowing four way According to template According to Position According to Type According to State My new modification will add another categorization for module as According to assigned menu. This is simple add stride forward. Step 01: Go to administrator\components\com_modules\toolbar.modules.html.php and past as fallow Existing one (line 49) echo $lists['assigned']; echo $lists['position']; echo $lists['type']; echo $lists['state']; After modified echo $lists['assigned']; echo $lists['position']; echo $lists['type']; echo $lists['state']; echo $lists['menu']; Step 02: Go to administrator\components\com_modules\toolbar.modules.html.php and add fallowing(After line: 6...

The ASP.NET Event Model with Post Back feature

ASP.NET providing fully organized event divan code model for its users and In this model you can add control to web form and then can decided what event need to trigger. Each event handler is a discrete mechanism which keeps the page tidy and organized. Lets we looks around how ASP.NET code model work When our page run first time it will create page and control object, the initialize code execute, and then page is render to HTML and send it to client side. After reach web page to client side, page get the users feed backs like click submit button then reach to ASP.NET server side back In the side of sever now compare the page with the state which it had before send to the client. After understanding the difference it will trigger some action in the side of server like DB update operation Finally modify the page and render the html code and send it to client side. This same process will continue from step to over and over again according to the client reaction. Actuall...

Simpale AJAX Shout out box for joomla

If we google as "joomla shout out box" we can get multiple results specific to joomla as show form fallowing link. http://extensions.joomla.org/extensions/communication/shoutbox Other than using above extensions we can implement our own shout out box with fallowing features. Adding our recently entered shout out for waiting shout out list. Normally as a normal users, they may entered deferent type of shout outs with out caring. That type of situation we need a human monitoring system to monitor shout outs. Display recently added shout outs in the side of admin through the separate admin panel. In this type of application admin should has a facility to monitor the shout outs and accept or cancel that shout out easily real time. Adding accepted shout outs to shout list for display all users and remove form waiting list. Identify accepted shout out and rejected shout out easily for users. If there is a restriction like one user can add limited number of shout outs, available nu...

How Code-Behind Files are Connected to web Pages in ASP.NET

Normally start of every aspx pages is referenced to the language and specific code behind file to excite the web page’s controls and events if it is not in a code-Inline structure. In traditional ASP.NET it is using Src attribute to point out the source code file or inherit attribute indicate the compile class name. In these both two approaches have several impairments when considering each other. But common problem is, both may add boilerplate code because of every time have to indicate web control with a member variable in these two methods. To overcome this problem ASP.NET provides oversaw keyword called partial, which has a capability to spit a single class into multiple source code files. Essentially, the model is the same as before, but the control declarations are shuffled into a separate file. You, the developer, never need to be distracted by this file; instead you can just access your web-page controls by name. In code behind file: public partial class TestFormCode...

ASP.NET code model

Normally visual studio support in two code models when coding a web page. 1. Inline code 2. Code-behind Inline code This is the common model in use in traditional ASP and when develop a simple web application. Under this model all coding and HTML stuff pack in signal .aspx file. This model become to handy because it keep every thing in place. Code-behind In this model there are two file behind one web page. The .aspx file is included HTML markup and control tags when included all code (C#, C++, J#) in a.cs (if programming language is C# ). In visual studio we have freedom to select one of these two option when we create a webpage. File->New

Seven important facts for success of ASP.NET

1.The ASP.NET Framework is collection of functional parts such as classes, interfaces ,structures and other core programming ingredients. ASP.NET framework organized in to logical, he reticle container called namespace. In .NET framework provide massive functionalities almost all programming aspects. All of this namespace call class library in .NET framework. 2.Normally when execute a code segment after connect with the web server has to interpret the scripting coding and convert it into low-level machine code. Normally this process is notoriously slow. But in ASP.NET providing a functionality to compile the scripting code when requesting the code. Therefore there is no point of requirements to compile scripting code every time when it request. It will save the compilation time. 3.Though you’ll probably opt to use one language over another when you develop an application, that choice won’t determine what you can accomplish with your web applications. That’s because no matter what langu...