Results 1 to 10 of 5054

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    now not error, but I do not translate the characters

    http://www.mainada.es/demo_bebe/es/el-ba-o-c-9


    Thanks


    Quote Originally Posted by yellow1912 View Post
    @danilovig

    On link.php line 34 you can try this:
    if(empty($languages_code) || !array_key_exists($languages_code, SSUConfig::registry('languages')))

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    Some ftp clients have problem with uploading utf8 content if the settings are not set correctly. Make sure your parse file is uploaded correctly

    And also, your class name should be SSULanguageEs
    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

  3. #3
    Join Date
    Nov 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Is there a way that does not leave "/es" is because I use a single language, and to translate these characters

    http://www.mainada.es/demo_bebe/es/el-ba-o-c-9


    Quote Originally Posted by danilovig View Post
    now not error, but I do not translate the characters

    http://www.mainada.es/demo_bebe/es/el-ba-o-c-9


    Thanks

  4. #4
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    Then you dont have to set multiple languages = on
    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

  5. #5
    Join Date
    Nov 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    but then I don't translate these characters? (ñ -> n) ..

    Quote Originally Posted by yellow1912 View Post
    Then you dont have to set multiple languages = on

  6. #6
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    You can still translate, why not?
    Found another mistake you have btw:

    'es' => 'es'

    (not default)
    Quote Originally Posted by danilovig View Post
    but then I don't translate these characters? (ñ -> n) ..
    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

  7. #7
    Join Date
    Nov 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    i can't find the mistake...


    Now ,I put this
    http://www.mainada.es/demo_bebe/categories_name-c-15

    PHP Code:
    <?php
          
    // note: we can later move part of this function into sub-functions, which we can store in the base class.
        
    class SSULanguageEs 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($nameSSUConfig::registry('delimiters''name'));
                
                
    // Remove short words first
                
    $name self::removeShortWords($nameSSUConfig::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($nameSSUConfig::registry('delimiters''name'));
            }
        }
    PHP Code:
    <?php $ssuLocalConfig = array(
    'plugins'        =>    array('parsers'    =>    array('manufacturers')),
        
    'identifiers'    =>    array('mf'    =>    'manufacturers'),
        
    'languages'        =>    array(    'es'    =>    'es'))
    ?>
    Thanks

    Quote Originally Posted by yellow1912 View Post
    You can still translate, why not?
    Found another mistake you have btw:

    'es' => 'es'

    (not default)

  8. #8
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    There are 2 possible causes:
    1. The name could not be queried for some reason.
    2. The parser did not work correctly.

    If you want, pm me the ftp info for the test site you are working on, I can have a look
    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

 

 

Similar Threads

  1. v151 Simple SEO URLs for ZC 1.5.x [Support Thread]
    By cvhainb in forum All Other Contributions/Addons
    Replies: 46
    Last Post: 8 Jun 2022, 09:42 AM
  2. Simple SEO URL, Ultimate SEO URLs, Ceon URI Mapping SEO
    By pizza392 in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 21 Jan 2015, 10:49 AM
  3. How do I tell what version my Simple SEO URL addon mod, and others, are?
    By kevinmc3 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 May 2010, 01:32 AM
  4. Can't create new thread in Simple SEO URL forum
    By gseiber in forum General Questions
    Replies: 1
    Last Post: 3 Apr 2010, 01:56 PM
  5. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg