Hi
When we click on view source of any page from the forum ( pragmamx.otg or any site based on it) we have this:
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" >
And this on the rest of site:
<meta name="keywords" content="pragmaMx, maax, vkpMx, vkp-maxi, vkp-mxxx, PHP, portal, Opensource, MySQL, CMS, Content Managemant System, PHP-Nuke, phpnuke, pragmaMx 0.1.9">
Proposition:
In Forum/smf/theme/XXXXXX/index.template.php (mx_port, babylon, default, classic)
Replace these lines:
[code]function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
[/code]
by these lines :
function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings, $metakeywords;
2 delete this line:
<meta name="robots" content="noindex" />', '<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
3 add this tline:
?>
<meta name="keywords" content="<?php echo htmlentities($GLOBALS['metakeywords']) ?>, <?php echo MX_VERSION ?>, <?php echo "bulletin, board, free, open, source, smf, simple, machines, forum" ?>">
<?php
after:
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?fin11" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />';
Result:
<meta name="keywords" content="pragmaMx, vkpMx, deineSeite, yoursite, pragmaMx 0.1.9, bulletin, board, free, open, source, smf, simple, machines, forum">
now smf is integreted 100%. :smile:
Hi :)
yes, that's correct :thumbup:
Hmm, i think it's a bug in SMF :gruebel:
We should write a modification to implement this feature in the bridge...
PS:
realy hardcoded :mad2:
http://www.simplemachines.org/community/index.php?topic=87444.0
Hallo,
after including the changes in the script, I receive an errror and it is not possible to Edit the text with the build in functionalites....
I have added mit index.template .php. It would be fine, if someone could have a look on it.
Thanks Dirk
Hi :)
ZitatTemplate Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.
You can also try refreshing this page.
Hello,
no the error looks like the appended screen shot and appears only in the edit mode. :gruebel:
cu
Dirk
Hello,
does not have anybody an idea, how I get the problem solved? :gruebel:
Thanks Dirk