Posted by elgwiedo on July 15, 2009 at 9:54am
Jump to:
| Project: | ScrollText |
| Version: | 6.x-1.0-alpha1 |
| Component: | Code |
| Category: | feature request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
Although the scrolltext feature works as expected, it lacks language support. This is a must have for this module.
Comments
#1
I have patched mine by replacing the following in scrolltext.module :
$sql = "SELECT n.title, n.nid FROM {node} n WHERE n.status = 1 and n.type IN ($scrolltext_nodetype) "
With:
//gives us access to the language variables
global $language;
$sql = "SELECT n.title, n.nid FROM {node} n WHERE n.status = 1 and n.language = '$language->language' and n.type IN ($scrolltext_nodetype) "
#2
I tried this but when I replace it, scrolltext disappears.
Any suggestions?
Thnx