Page 160 of 245 FirstFirst ... 60110150158159160161162170210 ... LastLast
Results 1,591 to 1,600 of 2445
  1. #1591
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart

    Awesome!!!
    Quote Originally Posted by mc12345678 View Post
    Fyi, step one: complete. Option is available to update/create product URIs using the settings of this module (ie, capitalize the first word, or use a hyphen, etc.) while exporting the products of the database with options such as, export to file only (or update the database/store) using the following options: create URIs only for products that don't have one currently (new store, new user of this module, or after upload of new products until the reverse process is created), update only products that have existing URIs (good for when a site changes directories or just want to reset the clock), and update all URIs (store directory change, start over, populate blanks and previously written), and all of this in whatever language(s) are present. Tested on ZC 1.5.1 and 1.5.3. This works as if editing each product individually and selecting the autogenerate URI option in the process of saving the product except in bulk.

    Next is categories, EZ-pages then importing.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  2. #1592
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart

    I have seen that 4.4.2 version came out. I have 4.4.1, can someone give me some hints about upgrade steps ?

    Thanks in advance

  3. #1593
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart

    Quote Originally Posted by solo_400 View Post
    I have seen that 4.4.2 version came out. I have 4.4.1, can someone give me some hints about upgrade steps ?

    Thanks in advance
    One way, and if not mistaken for this latest update, is to download the new package, compare it to the old, and then make the changes that were identified.

    Another is to perform the same comparison, then compare the new file(s) with the existing site's files and merge those two. This later method is to identify what other changes are in the affected file(s) and evaluate the impact of them to the plugin being installed.

    There's a number of ways to go about it. As always though, it is suggested that the upgrade be performed on a development site first so that the live site continues to operate and to also make a local backup before making changes.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #1594
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart

    Quote Originally Posted by mc12345678 View Post
    One way, and if not mistaken for this latest update, is to download the new package, compare it to the old, and then make the changes that were identified.

    Another is to perform the same comparison, then compare the new file(s) with the existing site's files and merge those two. This later method is to identify what other changes are in the affected file(s) and evaluate the impact of them to the plugin being installed.

    There's a number of ways to go about it. As always though, it is suggested that the upgrade be performed on a development site first so that the live site continues to operate and to also make a local backup before making changes.
    OR..

    one could download the new package and see if the upgrade hints/steps are covered in the readme.. (IJS)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #1595
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart

    Quote Originally Posted by DivaVocals View Post
    OR..

    one could download the new package and see if the upgrade hints/steps are covered in the readme.. (IJS)
    Hmm, guess I jumped the gun, thinking that may had already been done...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #1596
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart

    Quote Originally Posted by DivaVocals View Post
    OR..

    one could download the new package and see if the upgrade hints/steps are covered in the readme.. (IJS)
    In doc files is specified how to upgrade from older versions to 4.4.1

  7. #1597
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart

    Quote Originally Posted by mc12345678 View Post
    One way, and if not mistaken for this latest update, is to download the new package, compare it to the old, and then make the changes that were identified.
    ........................
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #1598
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart

    Hadn't seen this included either in the forum (searched for 1.5.3, 153, zip upgrade, etc...; however, nothing seemed to result in a post or near a post where such an addition was included) or in the newest available download (4.4.2) which included a code change to prevent an issue associated with the constant SID, but thought others trying to install this plugin on ZC 1.5.3 would want to easily keep the changes that have been made to support ZC 1.5.3 in place.

    Attached is a zip file that contains the modified_core_files directory for 1.5.3 as made from comparing the files in the 1.5.1 version of this module to a vanilla install of ZC 1.5.3. This zip file would be unzipped to the same location as the 4.4.2 version of the module to add the one directory and support installation using the "normal" method. Sorry, I have only gone half way with this "upgrade" to the module in that the instructions have not been rewritten to support a full 1.5.3 install/upgrade. I have used this on a ZC 1.5.3 site; however, the site is not yet using PHP 5.4, so I do not know if there are other changes that may be necessary to support continued use under that version of PHP or higher.
    Attached Files Attached Files
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #1599
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart

    Quote Originally Posted by mc12345678 View Post
    Fyi, step one: complete. Option is available to update/create product URIs using the settings of this module (ie, capitalize the first word, or use a hyphen, etc.) while exporting the products of the database with options such as, export to file only (or update the database/store) using the following options: create URIs only for products that don't have one currently (new store, new user of this module, or after upload of new products until the reverse process is created), update only products that have existing URIs (good for when a site changes directories or just want to reset the clock), and update all URIs (store directory change, start over, populate blanks and previously written), and all of this in whatever language(s) are present. Tested on ZC 1.5.1 and 1.5.3. This works as if editing each product individually and selecting the autogenerate URI option in the process of saving the product except in bulk.

    Next is categories, EZ-pages then importing.
    Categories done. Essentially has the same functionality as with products. Create/recreate URIs for all categories on export (Categories Only with metatags) or all categories that currently have a product associated (Model/Category). Adding EZ-Page capability that wasn't previously included...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #1600
    Join Date
    Aug 2009
    Location
    London
    Posts
    9
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x - Specifying the current URI Mapping for any other Zen Cart

    Hi guys,

    Many of you want to convert all of products/categories to be used by this module.
    This is a very simle code (my site is only english, only GBP etc etc). I did not have enough time to write it properly so you should actually change it if you use more than one language in your shop. But I had only 15 min so the code is as it is.

    PHP Code:
    <?php
        
    global $db;
    /* CATEGORIES */

          
    require_once(DIR_WS_CLASSES 'class.CeonURIMappingAdminCategoryPages.php');
          
         

    /* CATEGORIES */
          

    /* PRODUCTS */
        
    require_once(DIR_WS_CLASSES 'class.CeonURIMappingAdminProductPages.php');
        
    set_time_limit(600);    
            
    /* PRODUCTS */
    $__i 0;
    if(
    false$_cat $db->Execute("TRUNCATE ceon_uri_mappings");


    $ceon_uri_mapping_admin = new CeonURIMappingAdminCategoryPages();
    $__products $db->Execute("SELECT categories_id,parent_id FROM " TABLE_CATEGORIES);
    while (!
    $__products->EOF) {
        
    $__cat $__products -> fields;
        
    $__cat_id $__cat['categories_id'];
        
    $new_uri $ceon_uri_mapping_admin->autogenCategoryOrProductURIMapping($__cat_id'category',NULL,NULL,"en",1);
        
    //echo($new_uri . "</br>");
        
    $_cat $db->Execute("SELECT * FROM ceon_uri_mappings WHERE associated_db_id = '$__cat_id' AND main_page = 'index'");
        if(
    $_cat -> RecordCount() == 0)     
            
    $cat $db -> Execute("INSERT INTO ceon_uri_mappings (uri,language_id,current_uri,main_page,associated_db_id,redirection_type_code) VALUES ('$new_uri','1','1','index','$__cat_id',NULL)"); 
        
    $__products->MoveNext();       
    }    

    $ceon_uri_mapping_admin = new CeonURIMappingAdminProductPages();
    $__products $db->Execute("SELECT products_id, products_type FROM " TABLE_PRODUCTS);
    while (!
    $__products->EOF) {
        
    set_time_limit(600);  
        
    $__prod $__products -> fields;
        
    $__prod_id $__prod['products_id'];
        
        
        
    $_cat $db->Execute("SELECT categories_id FROM products_to_categories WHERE products_id = '$__prod_id'");
        
    $cat $_cat -> fields;
        
        
        
    $new_uri $ceon_uri_mapping_admin->autogenCategoryOrProductURIMapping($cat['categories_id'], 'category',NULL,NULL,"en",1);
        
    $new_uri .= $ceon_uri_mapping_admin->autogenCategoryOrProductURIMapping($__prod_id'product',NULL,NULL,"en",1);

        
    $_cat $db->Execute("SELECT * FROM ceon_uri_mappings WHERE associated_db_id = '$__prod_id' AND main_page = 'product_info'");
        
    //if($__i++ == 10) die();
        
    if($_cat -> RecordCount() == 0
            
    $cat $db -> Execute("INSERT INTO ceon_uri_mappings (uri,language_id,current_uri,main_page,associated_db_id,redirection_type_code) VALUES ('$new_uri','1','1','product_info','$__prod_id',NULL)"); 
        
    //echo($new_uri . "</br>");
        
    $__products->MoveNext();
                
    }




        
    ?>

 

 

Similar Threads

  1. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR