Where did you find the line
$link = ereg_replace('&', '&', $link); //--> this line does nothing
I dont think ereg_replace is need btw, a simple str_replace is enough. But it's up to you.
Where did you find the line
$link = ereg_replace('&', '&', $link); //--> this line does nothing
I dont think ereg_replace is need btw, a simple str_replace is enough. But it's up to you.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Just ignore me.That line was in html_output.php. I think I had it on my clipboard when I was fumbling around trying to work things out. Adding the line you suggested seems to have done the trick. Back to 100% valid pages :) Many Thanks!
Hello,
im making new shop ... build on ZC 1.3.8a.
Its clear instalation no other modules installed then SSU 3.6.4.
I maked new parser for CZ and tryed to configure local.config.php but still no win ... characters like ěščřžýá is still chaing to ------- instead of escrzya ...
Here is my cz.php
and here is my local.config.phpCode:<?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); } }
Plz can anyone say me where i am making mistake ? I really dont want to rewrite every cat / product in alias.Code:<?php $ssuLocalConfig = array( 'plugins' => array('parsers' => array('manufacturers')), 'identifiers' => array('mf' => 'manufacturers'), 'languages' => array( 'cz' => 'cz')) ?>
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
@aTecko
Name of the class should be
SSULanguageCz
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
I maked this change but still not sucess ...
i had installed v3.5.8 before and i upgraded to 3.6.4 (overwrited files)
Even im missing some "functions" from new version like category separator ... link may look like that www.domain.com/pocitace/notebooky-c65_69
but still looks like that www.domain.com/po-ita-e-notebooky-c65_69
I tried reupload files 2 more times if there wasnt some problem but still no problem solved.
To have category separator, you have to:
1. Turn on link alias
2. Turn on auto alias
3. 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.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Hey all. Having an issue with the install. Using ZC 1.3.8. I'm on a GoDaddy server unfourtunely.
Things I have done.
1. I installed Module Manager.
2. Configured the configure.php. But had a question. When defining the 'DIR_WS_CATALOG' entry, what are you referring to as the "subfolder". The entries for the HTTP_SEVER and the HTTPS_SERVER is correct (no sub folders).
**I didn't change the DIR_WS_CATALOG directory? Not sure there.
3. Installed the files and seems to be loaded on correctly. I can go into the backend and change the URL.
**Should I be using the whole URL that is shown for that product and then adding the whole URL to what I want it to display. htttp://site.com/ajsdklf&laj and change it to http://site.com/widgets/ ?
4. Changed the .htaccess file to what was instructed to change in the install settings. There was no .htaccess file on the GoDaddy server, so I created one.
5. Made sure the cache/SSU folder on the server is set to 777.
6. Make sure both configure.php files have the same directory. They both have /home/content/p/r/e/premium09/html/cache.
7. Did change the RewriteBase /zencart/ in the .htaccess file to RewriteBase /
I do have the ZC site in the top level.
Any insight would be great. Thank you.
Bookmarks