8
Hi there.
Little addendum.
When setting metatags in both: Module preferences -> Common HTML headers and HTML header for each article, they appear twice (this may be treat as a spam by indexing machines).
But different metatags for all pages and no one page without meta... it's a dream of all SEO engineers.
So, there is a simple trick to avoid doubling meta.
tinydx/include/display.inc.php line 159
Change:
$xoopsTpl->assign( 'xoops_module_header' , $xoopsModuleConfig['tc_common_htmlheader'] . "n" . $html_header . "n" . $xoopsTpl->get_template_vars( "xoops_module_header" ) ) ;
to:
$xoopsTpl->assign( 'xoops_module_header' , ($html_header?"":$xoopsModuleConfig['tc_common_htmlheader']) . "n" . $html_header . "n" . $xoopsTpl->get_template_vars( "xoops_module_header" ) ) ;
From now, all pages that have their own meta definitions will display them, and also these without, not lose metas, because tinyd modules main meta definitions.
Unfortunately You have to made this change on all tinyd instances installed, but best way is simple copy one changed file to all /tinydx/include folders (I assume that all have the same content).
Best regards,
wodnick
ps. I know... my english, heh ;)