I have installed "Tagadelic" module.Then I created one custom module to display tag clouds in a page.
Now I need to add/modify meta description for this page only.
So what is the process for it?
2 Answers
You can also install the context module and the metatag context module to set meta tags by URL.
Just specify the URL, and enter the meta tags you wish to display.
A programmatical solution could be to use something like this. you could put it in a preprocess hook in your template.php
$path_alias = drupal_get_path_alias();
if ($path_alias == 'thepathofmypage') {
$meta_head_blog = array(
'#type' => 'markup',
'#markup' => '<meta name="title" content="My metatag title"><meta name="description" content="My metatag desc">',
);
drupal_add_html_head($meta_head_blog, 'metaHeadBlog');