How To Use Contao Search Engine

Don’t get me wrong, I think that Contao is a great system, it’s just some of its functions are kinda counterintuitive and search engine is one of them. Furthermore it’s not easy to find clear information as to how it works in later versions of the CMS (in this case I used Contao 2.10.1).

So you have a Contao website that needs search and you know Contao has built-in search engine, you just have to “turn it on”. You check out the official docs and see that there is only one module called Search engine that “Adds a search form to a page”.

Sounds simple, you create the module, put it into your layout or article, go to your website and voila, it works. One problem though, search results are shown right near your search box, which is in most cases not what you want. What you probably want, is a search box on all your pages and a search results page that shows, well, search results – that’s what Google, or say WordPress do.

Obviously Search engine module doesn’t just add a search form to a page, it also shows results, so what we need to do is manually divide the “form showing” and “results showing” parts. Here is how it’s done: Continue reading

Anonymous hacking spree


Anonymous were busy lately, they cracked CIA website, US Alabama state servers and some Mexican websites. Small review of their recent activity on pcworld.com.

Someone (not Anonymous for a change) has also compromised U.N. server, here’s the bad part:

U.N. was not using basic web security and … a simple SQL injection attack (SQLIA) was what enabled the hacker to gain access to the U.N.’s database.

Totally not cool! Why would anyone want to hack U.N. is a mystery, perhaps they just saw the security hole and just couldn’t help it…

Hello world!

Here is the first post, somehow I just couldn’t delete it. Why did you scroll all the way down here anyway? Ok, I’m sure you have your reasons, but that’s it, there is nothing below this post.