Win 8.1: How to enable Libraries in sidebar

advertisement

windows 8.1, window 8.1, win 8.1I’m sure you will notice there is a missing “Libraries” folder from the Window explorer sidebar if you just upgrade to Windows 8.1. Libraries folder are first introduced in Window 7 and if you are used to the Libraries folder, you can also enable this folder in your Window 8.1 sidebar too.

To enable the Libraries folder in Window 8.1 sidebar, follow the steps below:-

Continue reading Win 8.1: How to enable Libraries in sidebar »

Symfony2: How to customize form error class in twig?

advertisement

symfony logoIf you are new to Symfony2, you might come to a point where you want to customize the form error class. By default, all the form errors will be shown using a list which does not have any css class assigned to it.
symfony2 customize form error

To make the error message stand out, i need to add a css class to it and style the form error to be red color. Thanks to twig template, where i can easily extend the template to what i need.

How to customize form error in Symfony 2.6?

Continue reading Symfony2: How to customize form error class in twig? »

Symfony2: How to get Doctrine Entity Manager in Console command

advertisement

symfony logoSymfony2 allow you to create your own console command thru Console Component. Since the bundle i’m writing is only for my own use, i’m trying to write a console command to load all my data to database. But to get the Doctrine entity manager to work in console command you need to do some modification from the tutorial link above. No worry i promise it’s a easy task, just edit one of the namespace will do.

To get Doctrine Manager in Console Command (Symfony2), follow the steps below:-

Continue reading Symfony2: How to get Doctrine Entity Manager in Console command »