2013-04-11, 00:33:57
(2013-04-10, 15:56:01)Carlos Wrote: Not sure if it will work (not tested), but you can try...Thank you. However, the Fancy URLs are a must. Never mind, I will have to use I18N without the custom permalinks, I don't wanna loose NM
Edit news_manager/inc/functions.php, find this line:
and replace it by:Code:$url = find_url($NMPAGEURL, $NMPARENTURL);
Code:if (function_exists('find_i18n_url')) {
global $language;
$url = find_i18n_url($NMPAGEURL, $NMPARENTURL, $language);
} else {
$url = find_url($NMPAGEURL, $NMPARENTURL);
}
Note: only valid for News Manager 2.3.x (previous versions didn't support GS's custom permalink structures, the patch would be different)
This MAY work if you don't enable fancy urls in News Manager. I have no idea how the rewriterules should be to make it work for that, sorry.
Just to try if your solution for non-fancy URLs of NM works, I wanted to turn the NM's Pretty URLs off and the settings of Pretty URLs has disappeared for some still unknown reason so I could not turn it off. I have to search the problem.
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
» The little I did for GetSimple