k2 extra field translation not working for default language - Joomla! Forum - community, help and support
hello guys,
i have issue going destroy mind
... not php developer can not find way solve it...
i using k2 (v 2.5.7) cck (with alotof custom templates) , joomfish (2.1.7) deployed on joomla 1.5.26 installation.
i using following code (in templates) in order fetch individual k2 fields name:
and fetch this:
the problem if translate field cuisine (to greek (default) , english) default language translation disappears (see below)
while english 1 works fine!
any ideas causing weird behavior??
please see attached screenshots...
i have issue going destroy mind
i using k2 (v 2.5.7) cck (with alotof custom templates) , joomfish (2.1.7) deployed on joomla 1.5.26 installation.
i using following code (in templates) in order fetch individual k2 fields name:
code: select all
$extrafld = array();
if ( $this->item->extra_fields ) {
foreach ( $this->item->extra_fields $key=>$extrafield ) {
$extrafld[ $extrafield->name ] = $extrafield->value;
}
}and fetch this:
code: select all
echo "<li class=\"dinning-cuisine\"><span>" . jtext::_('cuisine') . "</span><br />" . $extrafld['cuisine'] . "</li>\n";the problem if translate field cuisine (to greek (default) , english) default language translation disappears (see below)
while english 1 works fine!
any ideas causing weird behavior??
please see attached screenshots...
Comments
Post a Comment