Tuesday, May 21 in 2013
Module Frontpage Slideshow
LEPTON CMS
Pageviews 16,819
Currently online: 9
Modul: Simple PageHead
Author: Chio Maisriml
Nick: Chio
Contact: chio@websitebaker.at
Version: 0.5.0
State: Stable
License: GNU - General Public License
GUID: 765F1C98-C989-46B7-B695-8AB05E811E73
Platform: 2.7 and 2.8
Last info: 2011-01-04
Rating:
54.0
157 votes
1 2 3 4 5
Download: here
Web Link: here
Description: The snippet fixes one problem: all pages created by a module (e.g. news, bakery, image gallery) have the same title and meta description; something that google doesn't like.


Put this php call in the head section of our template, directly below the html tag:
<head>

<?php simplepagehead(); ?>
<link rel="stylesheet" .....>
</head>

and the snippet will replace following tags (please comment them out)
<title><?php page_title(); ?></title>

<meta http-equiv="Content-Type" content="text/html; charset=<?php if(defined('DEFAULT_CHARSET')) { echo DEFAULT_CHARSET; } else { echo 'utf-8'; }?>" />
<meta name="description" content="<?php page_description(); ?>" />
<meta name="keywords" content="<?php page_keywords(); ?>" />


For further information use the web-link (german only).


Info: Fixed in V 0.5: Long description where shortened on all pages.