i just observed something weired on checking my site with firefox for the meta tags displayed in the pico module. This is a part of the code generated in the head section that relates to meta data
<meta name="keywords" content="meditation exercise,breathing exercise,meditation,belly breathing,3 part breath,meditation by concentration on breathing" />
<meta name="description" content="This is the basic exercise where one meditates by concentrating on breathing" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<script type="text/javascript" src="http://makingdestiny.com/include/xoops.js">
script>
<meta name="robots" content="index,follow" />
<meta name="keywords" content="the power of positive thinking, self-help, power of positive thinking, power of thoughts, stress, anger, fear, jealousy, depression, stress management, anger management, fear management, overcome jealousy, overcome depression, steps to positive thinking, develop positive thinking, meditation, affirmations, relaxation, creative visualization, imaging, thoughts, paying attention to thoughts, power of positive thinking in business, positive thinking in bussiness, vices management, positive thinking articles, self help articles" />
<meta name="description" content="Understand this concept and the ways to develop a positive attitude through affirmation, meditation, visualization etc to solve your business as well as personal problems like stress, anger, fear, depression etc and also understand how believing can help you achieve everything you want." />
<meta name="rating" content="general" />
<meta name="author" content="Nitin Shah" />
<meta name="copyright" content="Copyright © 2007" />
<meta name="generator" content="XOOPS" />
In the above the keywords and description is twice the first one is the one i set in the pico module using the tips of this thread and the second one is the default XOOPS description and keywords as set in the preferences in admin.
How should i correct this issue. please help. I think an if else statement in the theme may solve my problem.
i have zero coding experience by still will try to explain with an example and then if any one can let me know the right code.
<{if xoopsmodule=pico}}><{/if}>
<{else}><meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<{/else}>
I m not sure about the right code its just an example to show that if the module is pico there will be no meta data of theme as i think that the pico header function creates the meta tags by itself without there being any connection to theme code. pls help me with the right code.