lucas3d
24th of June 2007 (Sun), 02:42
Pekka and all,
EE2 is multi-language and RSS too, but isn't implemented in 2.02.
So in basecode/SCRIPT_common_items.php change :
print "<a href=\"rss.php\" class=\"ee_css_hyperlink\">"; print ee_translate_A($translated["rss_link"]); print "</a>";
by
print "<a href=\"rss.php?ee_lang={$ee_lang}\" class=\"ee_css_hyperlink\">"; print ee_translate_A($translated["rss_link"]); print "</a>";
And in /templates/pages/YOUR_TEMPLATE/index/default_XHTML_content.php change :
<link rel="alternate" type="application/rss+xml" title="EE gallery RSS" href="/rss.php">
by
<link rel="alternate" type="application/rss+xml" title="EE gallery RSS" href="/rss.php?ee_lang=<?php print $ee_lang; ?>" />
I add that line in photo, list, gear,... so you have the RSS icon in all pages.
Et voila :-)
But it steal don't have a fix for my RSS validation problem ( http://photography-on-the.net/forum/showthread.php?t=338779 )
Any help are welcome...
EE2 is multi-language and RSS too, but isn't implemented in 2.02.
So in basecode/SCRIPT_common_items.php change :
print "<a href=\"rss.php\" class=\"ee_css_hyperlink\">"; print ee_translate_A($translated["rss_link"]); print "</a>";
by
print "<a href=\"rss.php?ee_lang={$ee_lang}\" class=\"ee_css_hyperlink\">"; print ee_translate_A($translated["rss_link"]); print "</a>";
And in /templates/pages/YOUR_TEMPLATE/index/default_XHTML_content.php change :
<link rel="alternate" type="application/rss+xml" title="EE gallery RSS" href="/rss.php">
by
<link rel="alternate" type="application/rss+xml" title="EE gallery RSS" href="/rss.php?ee_lang=<?php print $ee_lang; ?>" />
I add that line in photo, list, gear,... so you have the RSS icon in all pages.
Et voila :-)
But it steal don't have a fix for my RSS validation problem ( http://photography-on-the.net/forum/showthread.php?t=338779 )
Any help are welcome...