yellow1912:
To have category separator, you have to:
- Turn on link alias
- Turn on auto alias
- Clear your ssu cache via extra->ssu manager
Same for the change in language parser, did you clear the cache?
Make sure you choose to clear ALL cache.
yelloow ... plz help me i tried to reinstall ZC and get on here only module manager and SSU 3.6.4 and ZC localization - Czech.
I had set cz.php like this
<?php
// note: we can later move part of this function into sub-functions, which we can store in the base class.
class SSULanguageCz extends SSULanguage{
static function parseName($name){
$cyrillic = array("á", "č", "ď", "é", "ě", "í", "ň", "ó", "ř", "š", "ť", "ú", "ů", "ý", "ž");
$translit = array("a", "c", "d", "e", "e", "i", "n", "o", "r", "s", "t", "u", "u", "y", "z");
$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'));
return urlencode($name);
}
}
?>
and local.config.php like this
<?php $ssuLocalConfig = array(
'plugins' => array('parsers' => array('manufacturers')),
'identifiers' => array('mf' => 'manufacturers'),
'languages' => array( 'cz' => 'cz'))
?>
and now it may look like that
http://www.domain.com/pocitace
now it doesnt make ( - ) instead character conversion but link looks like that :
http://www.thecomp.cz/po%26%23269%3B%EDta%26%23269%3Be
Is there any solution for that ?