Sharing
Sunday, May 06, 2012
Wednesday, May 02, 2012
Sunday, April 01, 2012
Adding meta description and meta keywords in Drupal 7 is different compared with Drupal 6. I used drupal_add_html_head() for
adding meta
description and meta keywords in header. In my theme (template.php
file), I call hook_page_alter() for embeding meta. If you want to add
meta description and meta keywords in your site then go to your site
default theme folder’s template.php file and paste the code (display
below) :
Or you can use module Meta Tags Quickfunction yourtheme_page_alter($page) {
$meta_description = array(
'#type' => 'html_tag',
'#tag' => 'meta',
'#attributes' => array(
'name' => 'description',
'content' => 'some description here'
));
$meta_keywords = array(
'#type' => 'html_tag',
'#tag' => 'meta',
'#attributes' => array(
'name' => 'keywords',
'content' => 'some, keywords'
));
drupal_add_html_head( $meta_description, 'meta_description' );
drupal_add_html_head( $meta_keywords, 'meta_keywords' );
}
http://drupal.org/project/metatags_quick
Thursday, March 29, 2012
Friday, March 23, 2012
Biểu tượng Copyleft
Là một sản phẩm công nghiệp, nhưng chắc chắn phần mềm không giống như một chiếc xe hơi hay máy bay trực thăng. Vì vậy, phần mềm được bảo hộ theo quy định của sở hữu trí tuệ. Thuật ngữ đang dùng là Copyright - tác quyền.
Subscribe to:
Posts (Atom)