Umesh Patil

Insert a block into a node or template in Drupal 7

To print the block you can use below code,

$addblock = module_invoke('addthis','block_view','addthis_block');
print render($addblock['content']);

addthis = "module_name" = This is module name can be found in block configuration URL or the name of the module's folder

block_view = Type of view

addthis_block = "block_delta" = This can also be found in the block configuration URL

*Configuration URL = Open blocks page in Drupal 7 which is "admin/structure/blocks", and click on "configure".

WAMP says Forbidden You don't have permission to access /phpmyadmin/ on this server Windows 7 or 8

First of all locate "phpmyadmin.conf" file under "C:\wamp\alias\". My WAMP installation is in C drive.

Then edit that file with any editor you have. I am using Notepad++.

You will find 

<Directory "c:/wamp/apps/phpmyadmin3.5.1/">

    Options Indexes FollowSymLinks MultiViews

    AllowOverride all

        Order Deny,Allow

Deny from all

Allow from