Phpjavascript - phpjavascript.com - PHPJavascript
General Information:
Latest News:
Drupal Commerce MIGS payment gateway 11 Jul 2013 | 01:15 pm
I came across the Commerce MIGS Merchant module but for some reason it did not work for me. Then I found about “Commerce MIGS Hosted” module which worked like a charm. Click here to go to source of th...
Drupal 7 taxonomy_select_nodes wrong total nodes 4 Jul 2013 | 02:06 pm
I wanted to use function taxonomy_select_nodes to generate total no of nodes for a taxonomy term. But the result was wrong. So I wrote a custom function instead. Hope it saves someones time. function ...
Drupal 7 taxonomy_get_tree() to generate menu form taxonomy 4 Jul 2013 | 02:04 pm
I have a created a custom module to create my own menu form taxonomy. Basically the function that allows it is mentioned below: function menu_custom_generate() { $terms = taxonomy_get_tree(5, 0, 2); ...
Drupal 7 add javascript or jquery for custom module 3 Jul 2013 | 09:07 pm
Simple procedure turned complicated. I did in the following way Assuming the name of your custom module is menu_customGo to menu_custom.module /** * Implements of hook_init(). */ function menu_custo...
Drupal Feeds Error Character 2 Jul 2013 | 10:13 am
I was using feed and commerce feeds in Drupal 7. But i was not able to import products, as i was getting error with characters (latin and otherwise). Simple solution is to save the .csv file in notepa...
Drupal Commerce PHP Memory Limit and DPO 4 Jun 2013 | 11:48 am
Just create a php.ini and add the below lines memory_limit = 128M extension=pdo.so extension=pdo_sqlite.so extension=sqlite.so extension=pdo_mysql.so I had my installation in a folder so i created the...
Jquery mouseenter not working (Drupal) 2 May 2013 | 01:43 pm
The jquery mouseenter and mouseleave methods were not working for me. Then after an hour of googling I found out that if I used bind() it works. $(document).ready(function() { $(‘.menu li’).bind(‘mou...
Drupal Jquery Taxonomy Dropdown Menu 2 May 2013 | 01:29 pm
I wanted to have a single level menu where the second and third level are shown of the taxonomy menu. Like barnesandnoble.com. I had taxonomy_menu module to create a menu from my taxonomy. Then I had ...
Firebug Lite Not working Internet Explorer 7 ie7 13 Mar 2013 | 12:01 pm
Use the debug version by clicking on the ‘debug bookmarklet’ on page https://getfirebug.com/firebuglite Then click on F12 and use internet explorer’s developer tools normally and you will notice that ...
Drupal Jcarousel Views Javascript Hide Show 11 Mar 2013 | 08:31 am
I had three jcarousel view blocks on my home page . On page load I wanted to hide two and only show one. Then by clicking on navigational links I wanted to show the other two while hiding the first on...