PEAK XOOPS - Re: Meta tags and description in pico in englishin japanese

Re: Meta tags and description in pico

List posts in the topic

none Re: Meta tags and description in pico

msg# 1.5
depth:
1
Previous post - Next post | Parent - No child | Posted on 2008/2/11 16:25 | Last modified
nitinshah12  伍長   Posts: 48
ok, i have tried everything i could, edited the code, cleared templates_c in xoops root path manually, used the clear templates and cache function in xoopscare module, set check templates modification to on, still both the site wide meta data as well as the pico module meta data are visible. However when i remove the
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
from the theme, then only the pico module meta data is visible, but then meta data is only visible in pico module and there is no meta data in rest of the site and other modules.

I m using the zetagenesis theme the code for meta data is under the xometas.tpl
The changed code in this file is
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}></title>
<meta name="robots" content="<{$xoops_meta_robots}>" />

----------------->changed code<------------------------------
<{$xoops_module_header}>

<{if strstr($xoops_module_header,"keywords")}>
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<{/if}>
<{if strstr($xoops_module_header,"description")}>
<meta name="description" content="<{$xoops_meta_description}>" />
<{/if}>
-------------------------------------------------------------
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<{if $url}>
	<meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" />
<{/if}>

<{if $isMsie}>
	<noscript>
	<meta http-equiv="refresh" content="0; url=<{xoAppUrl . xoops_theme_select=default}>" />
	</noscript>
<{/if}>

<link rel="alternate" type="application/rss+xml" title="<{$smarty.const.THEME_RSS}>" href="<{xoAppUrl backend.php}>" />

<link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" />
<link rel="icon" type="image/png" href="<{xoImgUrl icons/icon.png}>" />


<link rel="stylesheet" type="text/css" media="screen" href="<{xoAppUrl xoops.css}>" />
<link rel="stylesheet" type="text/css" media="all" href="<{xoImgUrl css/layout-soup.css}>" />
<link rel="stylesheet" type="text/css" media="all" title="Color" href="<{xoImgUrl css/style.css}>" />

The code before modification was
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}></title>
<meta name="robots" content="<{$xoops_meta_robots}>" />

-------------------------------------------------------------
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
-------------------------------------------------------------

<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<{if $url}>
	<meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" />
<{/if}>

<{if $isMsie}>
	<noscript>
	<meta http-equiv="refresh" content="0; url=<{xoAppUrl . xoops_theme_select=default}>" />
	</noscript>
<{/if}>

<link rel="alternate" type="application/rss+xml" title="<{$smarty.const.THEME_RSS}>" href="<{xoAppUrl backend.php}>" />

<link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" />
<link rel="icon" type="image/png" href="<{xoImgUrl icons/icon.png}>" />


<link rel="stylesheet" type="text/css" media="screen" href="<{xoAppUrl xoops.css}>" />
<link rel="stylesheet" type="text/css" media="all" href="<{xoImgUrl css/layout-soup.css}>" />
<link rel="stylesheet" type="text/css" media="all" title="Color" href="<{xoImgUrl css/style.css}>" />

-------------------------------------------------------------
<{$xoops_module_header}>
-------------------------------------------------------------

Is there something that i m doing wrong.
Votes:14 Average:2.14

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!