Media Growl designs and develops websites that will help you boost your online presence, without compromising your objectives. But wait, there’s more!
Get a free quote for your website design and development needs! inquire now
  • RSS NEWS

    • Use a PHP variable in your Javascript code May 11, 2010
      What if you’d like to use a PHP variable in your javascript code? You can use this code in your javascript: var VarName = ; In order to use this PHP function, you need to have at PHP version 5.2. What does this function do? This returns the JSON representation of a value. Take note that this [...]
    • “Become a Fan” button has been replaced with “Like” April 21, 2010
      Just recently, the “Become a Fan” button in Facebook pages have been replaced with “Like”. For those who are using Facebook Pages for their online contests, you may want to revise your contest mechanics. Why it was changed? To improve your experience and promote consistency across the site, we’ve changed the language for Pages from “Fan” [...]
    • XML-RPC2 and Drupal’s Services Module April 21, 2010
      Sometimes, there will be a need for you to integrate Drupal content to a non-Drupal content. For instance, the non-Drupal content is in PHP and you want to have the same menu from Drupal to appear on your non-Drupal site. You can do that using the Drupal Services module and using PEAR’s XML-RPC2 Library. A [...]
    • Displaying the total number of times the node has been accessed January 21, 2010
      Seriously, you do not need to manually query SQL statements just to get how many times the node has been accessed in Drupal. First, make sure that the Statistics module is enabled. Then, all you need to do is write this piece of code: So why do we need to enable the Statistics module? We need [...]
    • Theming Drupal’s Pager November 30, 2009
      There are times that you would like to edit how the pagination of Drupal is displayed. To give you more control aside from editing the stylesheet, let’s use the theme_pager() function in our template.php file. In your theme’s template.php Insert the following code: function phptemplate_pager($tags = array(), $limit = 10, $element = 0, $parameters = array(), [...]
    • Using an image link menu in Drupal 6 instead of text November 25, 2009
      Sometimes, we don’t want to limit our creativity by just using text in all of the menu items. Sometimes, we would want to use an image as a link in a menu. For example, you want to have Home as an image link rather than a text link. Here’s a code you can use in your [...]
    • Display your Drupal Search Form November 23, 2009
      The first step you would want to consider in displaying your Drupal Search Form is to use install the search module. A fresh installation of Drupal does not include yet the search form in the installed and enable modules. Then, apply the desired settings that you want for your search form and add necessary permissions. [...]
    • Fixing Fatal error: Call to a member function add_current_page() is osCommerce November 17, 2009
      Recently, I experienced getting this error on osCommerce: Fatal error: Call to a member function add_current_page() on a non-object This happened while I was uploading a file and then I tried accessing the site. So, what I did is to delete the domain cookies so that I won’t get the error.