Skip to main content

Posts

Themeing

A "theme" is a collection of files that define the presentation layer or "look and feel" of a Drupal site. With a theme you can: * Define one or more page layouts. * Specify the display of images and other graphical elements * Specify the display of fixed or variable text * Specify the attributes of fonts and graphics * Override (change) the output from modules A theme can be configured to dynamically respond to changes in the content, content types, user input, user role etc. A theme can also be used to override (modify or replace) the text and variables that are generated by modules. For example, a theme can be used to replace the default label on the Search button or to hide and display certain fields that are part of a particular content type. You can also override the default CSS classes that might appear in your content. Often a theme is used simply to define the look and feel of an entire site, but it can also be used to cust

HTML Templates

HTML::Template is a new solution to an old problem - Perl CGI development. In order to explain what makes HTML::Template new I'll briefly describe the history of Perl CGI development. In the beginning, people wrote CGIs by scattering print statements throughout Perl scripts. The HTML that ended up on the user's screen was literally embedded in the Perl script. These scripts were very difficult to maintain. Even a small change, like switching fonts, required a programmer to edit the script. It was almost impossible for a non-programmer to edit the HTML without endangering the script itself! Thus, programmers were required for even the smallest design change. Given the relative shortage of programmers versus HTML designers, this is clearly not desired situation. Many solutions to this problem have appeared, and many share a common trait - they invert the situation by embedding programming inside HTML. Examples of this approach are HTML::Mason, Embperl, ASP and PHP. Used well

How to Install XAMPP on Linux

1.Using Linux's Terminal type the following to obtain XAMPP for Linux: -> wget http://www.apachefriends.org/download.php?xampp-linux-1.7.3a.tar.gz 2.Now extract the .tar.gz by typing the following line -> tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt 3.XAMPP for Linux is now installed! All you have to do now is start the servers by typing this line ->/opt/lampp/lampp start 4.OPTIONAL : This is very recommended! To set up passwords for MySQL, XAMPP config page and the FTP Server type the following line /opt/lampp/lampp security 4.SOME OTHER IMPORTANT CODES : This is a section to let you know what else you can do with the /opt/lampp/lampp parameter. /opt/lampp/lampp start - Start XAMPP /opt/lampp/lampp stop - Stop XAMPP /opt/lampp/lampp restart - Restart XAMPP /opt/lampp/lampp startssl/stopssl - Start/Stop Apache with SSL