Posts under PHP

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 »

Composer: PHP Fatal error: Allowed memory size of … exhausted…

advertisement

phpIf you are using composer in your php project, you might encounter the the same error as mine.

PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 71 bytes) in phar:///sf2projects/myproject/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php on line 47

To solve this PHP fatal error allowed memory size exhausted problem, refer to the solution below:-

Continue reading Composer: PHP Fatal error: Allowed memory size of … exhausted… »

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? »