Results 1 to 10 of 2445

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    44
    Plugin Contributions
    0

    Default Re: 404 email, but no sitemap shown..with URI mapping

    Quote Originally Posted by conor View Post
    Hi Paul,



    Please read the FAQs for the answer to this question (basically, check the canonical tag is present in the header and ignore the "issue").

    All the best..

    Conor
    ceon
    Hi Conor,

    Thank you for your answer. I think i was a bit paranoid when moving servers!

    Sorry for the late reply but only just found it although i asked for immediate email update.

    Paul

  2. #2
    Join Date
    May 2012
    Posts
    22
    Plugin Contributions
    0

    Default Re: 404 email, but no sitemap shown..with URI mapping

    Hi,

    I've got this mod installed and running. Works great. I've also created a custom Product Type because the products we're going to be selling have some fairly specific information that we need to list. The mod isn't working for the new Product Type.

    I see that the documentation states that it works for all the standard Zencart product types and the new Book product type. Is there any documentation that points out what files need changing (and what needs changing on those files) to get the mod working for custom product types?

    Happy to have a bash at it myself, but would rather not jump in without even a hint of which files I should / shouldn't be looking at. Is there documentation available on this at all?

    Thanks.

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

    Default Re: 404 email, but no sitemap shown..with URI mapping

    Quote Originally Posted by ailtait View Post
    Hi,

    I've got this mod installed and running. Works great. I've also created a custom Product Type because the products we're going to be selling have some fairly specific information that we need to list. The mod isn't working for the new Product Type.

    I see that the documentation states that it works for all the standard Zencart product types and the new Book product type. Is there any documentation that points out what files need changing (and what needs changing on those files) to get the mod working for custom product types?

    Happy to have a bash at it myself, but would rather not jump in without even a hint of which files I should / shouldn't be looking at. Is there documentation available on this at all?

    Thanks.
    If it were me, I'd start with comparing all the files that comprise your custom product type and comparing them with their default equivalents that are in the Ceon URI package.. Be nice if you shared details of your outcome with the community.. Some of us may find the information useful..
    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.

  4. #4
    Join Date
    Mar 2009
    Posts
    89
    Plugin Contributions
    0

    Default Re: 404 email, but no sitemap shown..with URI mapping

    Hi,

    I've got this mod installed and running. Works great. I've also created a custom Product Type because the products we're going to be selling have some fairly specific information that we need to list. The mod isn't working for the new Product Type.

    I see that the documentation states that it works for all the standard Zencart product types and the new Book product type. Is there any documentation that points out what files need changing (and what needs changing on those files) to get the mod working for custom product types?

    Happy to have a bash at it myself, but would rather not jump in without even a hint of which files I should / shouldn't be looking at. Is there documentation available on this at all?

    Thanks.
    You will need to create appropriate files in a folder named like:
    admin/modules/custom_product

    if you look at the code for this mod you'll see what you need to do. Also it's all very well commented :)

  5. #5
    Join Date
    May 2012
    Posts
    22
    Plugin Contributions
    0

    Default Re: 404 email, but no sitemap shown..with URI mapping

    Hi,

    I've actually done both of the above already, going through the new product type files and updating similarly to the default product type files - and double checking against the music product type files.

    Part of it is working ... I should have mentioned that. If I go in via the admin, add some product info, select the URI auto-generation checkbox and save, it all seems to work i.e. no errors, and when I go back in and look at the product, it has indeed saved a friendly URL.

    When I go directly to that URL in my browser, typing in the friendly URL, the product also loads, so that part works as well.

    It's the bit in the middle that doesn't seem to be working. It doesn't auto update the link on the website. If I click on that product on the front end, it loads the old URL, not the new one. The more I'm thinking about it, the more it seems like I've probably missed something in one of the custom prod type files, but i've been through several times now and they look identical to the standard types.

    I wondered therefor if there was another step I've perhaps missed. Maybe something to do with declaring a new product type in the URI tool itself?

    I notice, for example, that there is a file called "ceon_uri_mapping_filenames.php" which appears to list product types. Should I be adding something in here? and are there other files like this that I should be editing.

    My main check has been to search all the CEON files for "FILENAME_PRODUCT_MUSIC_INFO" which is one of the lines in the above file. The theory being that if I then customise it in all files that are found, then it might work. I'm just not sure if that'd be the case, so hoped someone might have some input.

  6. #6
    Join Date
    May 2012
    Posts
    22
    Plugin Contributions
    0

    Default Re: 404 email, but no sitemap shown..with URI mapping

    Success ... it's now working. I followed through on my idea of searching for instances of FILENAME_PRODUCT_MUSIC_INFO in the CEON files and, on each instance, added an instance for my own Product Type. So, if your product type was Juice, you'd want to be adding in instances of FILENAME_PRODUCT_JUICE_INFO.

    For those interested in creating a new Product Type, I used a mixture of following the instructions on here: http://www.zen-cart.com/wiki/index.php/Product_Types and by looking at the Music Type databases.

    From above, take a note of all the extra files you've had to create (both in admin and front end). Once done, install the CEON URI module as normal. Then, under all your new custom product type files, ensure you copy in the required lines of code in the same place as they've been copied in the default product type files.

    After that, all I did was search the CEON module for instances of "FILENAME_PRODUCT_MUSIC_INFO", which is where the mod looks for instances of the music product type (and all others), and added in my own. In total I found 9 instances. There were actually another 8, but these were under the "modified_core_files" directory and relate to historic versions of ZenCart. I only update the one relevant to me.

    At this point, it all seems to work exactly as expected.

  7. #7
    Join Date
    May 2008
    Posts
    261
    Plugin Contributions
    0

    Default Re: 404 email, but no sitemap shown..with URI mapping

    Dear Conor,
    many thanks for your great mod! really.
    we are using 4.08 on 1.39h with multi-languages. so the problem is that,
    how to set the rewirte rules in .htaccess file for sub-folder installation?

    as we want to use www.aaa.com(installed in root folder) for english, and www.aaa.com/sub-folder/ for french

    appreciated again

  8. #8
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: 404 email, but no sitemap shown..with URI mapping

    Hi,

    Quote Originally Posted by ailtait View Post
    For those interested in creating a new Product Type, I used a mixture of following the instructions on here: http://www.zen-cart.com/wiki/index.php/Product_Types and by looking at the Music Type databases.
    Argh, I wish I'd seen your original post sooner, could've saved you time and effort, but have only just got it as well as this one now.

    Lol I'm glad you've got things working but we've had 4.2.0 ready for release for a few weeks (some private clients have been using it for a few months!) and the first entry in the Revision History is as follows:

    [ADDED] List of product pages is now maintained in a its own data file in the includes/extra_datafiles folder, making it easy to add support for additional product page types.

    Ah well, that's the OS/GPL way, other things get in the way of releases.

    At least when 4.2.0 is officially released you can upgrade knowing that you don't have to go through the above effort again (although thankfully as you've seen, it's not much effort to do what you wanted).

    Good job on the changes but hopefully others will see this message and not have to put in the same effort!

    Hopefully the new version will get released this week, start of next week at very latest.

    All the best...

    Conor
    ceon

  9. #9
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: 404 email, but no sitemap shown..with URI mapping

    Hi Paul,

    Quote Originally Posted by horsetags View Post
    Thank you for your answer. I think i was a bit paranoid when moving servers!
    That's easy to understand. :)

    Quote Originally Posted by horsetags View Post
    Sorry for the late reply but only just found it although i asked for immediate email update.
    No problem, glad you're happy enough now! :)

    All the best..

    Conor
    ceon

 

 

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

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