| Re: XLanguage and WF-links |
| by ghia on 2009/5/21 21:24:22 Indeed. And XLanguage has also the advantage of switching the module language (same effect as with general preferences). |
| Re: XLanguage and WF-links |
| by Catzwolf on 2009/5/21 21:14:46 Quote:
Uses the same principle as the latter and therefore has the same issues. |
| Re: XLanguage and WF-links |
| by Mamba on 2009/5/21 21:05:28 Quote: if we want a full multilingual site with XOOPS, there is not much else. Did you try the The Easiest Multi-Language Hack (EMLH) 1.31 |
| Re: XLanguage and WF-links |
| by ghia on 2009/5/21 20:10:32 It is not a problem of WF-links. And XLanguage makes problems for other modules that shorten content, but as you said that's the nature of XLanguage and for the time being, if we want a full multilingual site with XOOPS, there is not much else. All this thread is for, is to show others that might run in the same troubles my (maybe not so good), but functioning solution to the truncating problem. A better solution would be in PHP, where the xoops_substr test if XLanguage is present/active and then uses the functions of the XLanguage module to clear out the unused languages in the block of content (eg link description) and then the resulting text can be truncated as usual. (All modules like WF-links, News, etc should then have to use this function for truncating) Quote: The file include/functions.php contains the function wfl_substr which should overcome this. I'm not sure if this function works with XOOPS there it was written for ICMS. |
| Re: XLanguage and WF-links |
| by McDonald on 2009/5/21 20:02:25 The file include/functions.php contains the function wfl_substr which should overcome this. I'm not sure if this function works with XOOPS there it was written for ICMS. |