Wordpress - mgalalm.wordpress.com - mgalalm

Latest News:

using your browser as notepad 17 Jul 2013 | 03:39 am

To use your browser as a text editor open a new tab/ window and type the following code into the browser’s URL bar: data:text/html, <html contenteditable> Hit Enter, and start typing away directly i...

What is APT ? 13 Jul 2013 | 04:29 am

APT, short for Advanced Package Tool, is a package management system. APT allows you to quickly and easily install, update, and remove software from the command line. Aside from its simplicity, one of...

Dynamic view title 24 May 2013 | 08:21 pm

To make the view display its title based on the argument passed to it, go to your view then expand the advanced pane and click on any of the CONTEXTUAL FILTERS you have. Scroll down through the contex...

Doing a redirect using varnish instead of Apache 3 May 2013 | 10:19 pm

You can achieve redirection of url using varnish in place of apache, for example suppose you want to redirect all www to non www pages Open up your default.vcl file and in the vcl_recv sub routine  ad...

Debugging varnish 2 May 2013 | 01:09 am

In case you have a problem with varnish, you can use the following command for debugging sudo varnishd -d -a 0.0.0.0:80 -f /etc/varnish/default.vcl it should output something like Platform: Linux,3.2....

Installing varnish in CentOS 1 May 2013 | 10:52 pm

Installing varnish You can have a working varnish in your machine in 3 easy steps: 1. Add the varnish-cache.org repository to your CentOS box by typing the following command: # sudo rpm –nosignature -...

Search block doesn’t shown for anonymos 29 Apr 2013 | 12:30 pm

I had a problem that the search block was not shown for anonymous users, this simply fixed by checking the Use search permission for the anonymous user . Keep in mind that if you have a region that ha...

HTML elements relationship 23 Apr 2013 | 10:00 am

Survey Who is the toughest, smartest, and most steely? You get to be the judge by taking this survey Next month’s survey: Sir [...]

Drupla 6: Sharing variables between preprocess hooks 21 Apr 2013 | 12:01 am

I had written a code into the mytheme_preprocess_page to manipulate specific variables to be used in the page.tpl.php the code was working nicely at this time. Recently I encountered a situation that ...

Fatal error on simpletest: Unsupported operand types in form.inc 16 Apr 2013 | 08:19 am

I encountered this error in a pressflow version running on php5.3 while running a simpltest, the problem solved and the error disappeared after I applied this patch  to the simpletest  core module whi...

Recently parsed news:

Recent searches: