Symfony form generates the select box using foreign key reference automatically by magic function __tostring(). But in some cases, we need to modify select box into radio buttons or checkbox. We are going to see how to change foreign key select box as radio button symfony. Let’s take a symfony jobeet tutorial for help. In this tutorial job […]Read more..
We are going to see, How to install yaml export plugin in MySQL workbench for Symfony project. Symfony generates database and tables from schema.yml file using Doctrain or propel. Creating yml schema by hand is little pain. Mysql workbench is offers a tool to design, develop, administrate MySQL database. MySQL Workbench providing many plugins to add features to the software. SymfonyYamlMyqlWorkbenchPlugin is […]Read more..
After install lamp server in Ubuntu 12.04, I got phpMyAdmin 404 page. I spend few hours to resolve the issue.I would like to share the solution with you. Installing lamp server on Ubuntu 12.04. First install tasksel, if it’s not already installed in your system. sudo apt-get install tasksel Then, by executing below command on your terminal. lamp-server will be […]Read more..
I would like to share, exclude dates from jquery datepicker. Here i have explained exclude recurrent date, period,recurrent period from jquery ui calendar.I have previously posted two other posts related to the excluding dates from datepicker those are jQuery datepicker exclude single date and Exclude recurrent day in jQuery datepicker.So here we are going to see the serious of previous post.Read more..
While i try to install composer.phar in my wamp server using command prompt i received below error in my cmd. Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you. I used composer while install Symfony2.Read more..
I would like to share, How to split string in MySQL query. While we design poor database design, we are forced to construct complex MySQL queries. Luckily MySQL has wonderful string functions. So we are going to use few of those functions to solve the issue.Read more..
Symfony has a plugin called sfGuardDoctrine for user authentication and login system. Using this plugin we are able to create secure pages. While I try to configure sfGuardDoctrine plugin according to instruction, I got the following error Action “login/index” does not exist. I spend a lot of time on it to resolve the issue, Finally I found the […]Read more..
While i am integrating direcpay on virtuemart i got the “Not matching the Collaborator” error. So here we are going to see how to resolve the Collaborator-id mismatching issue. What is Collaborator id Collaborator: It is a mandatory field and merchant should use TOML (case sensitive) for integrating on DirecPay staging (testing) environment and DirecPay […]Read more..
While handling foreign language like Russian in html document, we face some problem, I am sharing here one problem that I faced while saving Russian text in Dreamweaver. It doesn’t allow me to save the file. I got the alert message like below. The document’s current encoding can not correctly save all of the characters […]Read more..
Here, i am going to post simple Magento tweak. That is how to get the product URL by product id. Sometimes we only have the product id, That’s enough to get all the product instance.So using below code we can get the product url by id. $my_product = Mage::getModel('catalog/product')->load($product_id); $my_product_url = $my_product->getProductUrl(); Hope it helps […]Read more..