OK, it works now.
Here is howto do it:
Firs change the line in
preg_match_all("/$prefix(\w*)\s+AS\s+".$tempTable."[,\s]/i",$this->_sql, $tempArray, PREG_PATTERN_ORDER);
to
preg_match_all("/$prefix(\w*)\s+(AS\s)?+".$tempTable."[,\s]/i",$this->_sql, $tempArray, PREG_PATTERN_ORDER);
in mldatabase.class.php of the Joomfish source
edit: I just realized that the forum does not display slashes correctly. See the bug tracker link provided below for the correct way of performing the fix.
Then unzip the atached file to /administrator/component/com_joomfish/contentelements/
And start translating. Please note that this way of translating is much less efficient performance wise than language files.
mikko
Some links that might be interesting:
Bug tracker for the fix:
forge.joomla.org/sf/tracker/do/viewArtifact/projects.joomfish/tracker.bugs/artf5550?_message=1154980220275
Tracker for the xml files:
forge.joomla.org/sf/tracker/do/viewArtifact/projects.joomfish/tracker.content_element_files/artf5551?_message=1154980640914
Wikipage on extending the fish with xml files:
forge.joomla.org/sf/wiki/do/viewPage/projects.joomfish/wiki/ContentElementConfiguration
Attachment cb_joomfish.zip not found
Post edited by: mikko, at: 2006/08/07 22:58
Post edited by: mikko, at: 2006/08/07 23:30