Posts under Web

Symfony 1.4 – Customize Admin Generator listing to show data from foreign tables

advertisement

symfony If you are using admin generator in symfony 1.4, i bet you will have the problem to customize admin generator listing to show data from foreign table. It’s common for us to display data from different tables within a listing.

To customize admin generator listing to show foreign tables data, follow the steps below:-

Continue reading Symfony 1.4 – Customize Admin Generator listing to show data from foreign tables »

Bootstrap 3: Responsive image align center

advertisement

bootstrapIf you are using Bootstrap 3, you might come into a problem where you can use .text-center to align text to center but not image. There are many different work around to solve this issue including wrapping the image within a .text-center div or overriding the .img-responsive class. Although there are many different work around to align image to center in Bootstrap 3, i just found a very convenient way to solve this issue.

bootstrap-center-image

To align image to center in Bootstrap 3, you can try the code below:-

Continue reading Bootstrap 3: Responsive image align center »

Prestashop 1.5 – How to enable add to cart button at Home Featured Product?

advertisement

prestashopRecently there is a request to edit a old Prestashop 1.5 site. The request is to add the add to cart button at the home featured product. That particular prestashop site is quite old and did not perform any maintenance and hence all the module is still quite old. To avoid breaking anything in the site, i managed to find out that the add to cart button is being hide using CSS. So to enable the add to cart button is just an easy task at modifying the correct css!

To enable add to cart button at Home Featured Product in Prestashop 1.5, follow the steps below:-

Continue reading Prestashop 1.5 – How to enable add to cart button at Home Featured Product? »