Gives me the following error :
Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php:34) in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php:34) in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 176
version: 3.5.5
Set SSU Multi Language Status=true
/includes/classes/ssu/plugins/languages/es.php
PHP Code:
<?php
// note: we can later move part of this function into sub-functions, which we can store in the base class.
class SSULanguageRu extends SSULanguage{
static $registry;
static function parseName($name){
$cyrillic = array("ñ", "á", "é", "í", "ó", "ú");
$translit = array("n", "a", "e", "i", "o", "u");
$name = str_replace($cyrillic, $translit, $name);
$name = strtolower($name);
// we replace any non alpha numeric characters by the name delimiter
$name = self::removeNonAlphaNumeric($name, SSUConfig::registry('delimiters', 'name'));
// Remove short words first
$name = self::removeShortWords($name, SSUConfig::registry('configs', 'minimum_word_length'), SSUConfig::registry('delimiters', 'name'));
// trim the sentence
$name = self::trimLongName($name);
// remove excess SSUConfig::registry('delimiters', 'name')
$name = self::removeDelimiter($name);
// remove identifiers
$name = self::removeIdentifiers($name);
// remove trailing _
$name = trim($name, SSUConfig::registry('delimiters', 'name'));
}
}
includes/classes/ssu/local.config.php
PHP Code:
<?php $ssuLocalConfig = array(
'plugins' => array('parsers' => array('manufacturers')),
'identifiers' => array('mf' => 'manufacturers'),
'languages' => array( 'es' => 'default'));
?>
Thanks

Originally Posted by
yellow1912
Bookmarks