Results 1 to 10 of 2445

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Ceon URI Mapping v4.x

    you have to modify a bunch of different files in admin/includes/modules for it to show up in the products and categories pages. I looked at the download from the plugins section and there is a copy of admin/includes/functions/general in there under the modified core files folder. I used the version from torvista's github. I don't believe there were a lot of file changes between 1.5.5a and e. But you can see what was changed in the change log in docs/changed_files-v1-5-5.html in the zen cart install directory.

    Zen Cart and it's community are the best!!

  2. #2
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by lankeeyankee View Post
    you have to modify a bunch of different files in admin/includes/modules for it to show up in the products and categories pages. I looked at the download from the plugins section and there is a copy of admin/includes/functions/general in there under the modified core files folder. I used the version from torvista's github. I don't believe there were a lot of file changes between 1.5.5a and e. But you can see what was changed in the change log in docs/changed_files-v1-5-5.html in the zen cart install directory.
    So not only do I have to guess which files have to be modified in a directory of 20 files, but I have to guess how to modify them? Does that make sense to anyone. If it were that simple wouldnt the author have done that a year ago?

  3. #3
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Ceon URI Mapping v4.x

    They are all drop in sections of code, you don't have to actually modify core code if I remember correctly. So it really shouldn't matter what version it is in the 1.5.5 series. It really isn't that hard to drop in the sections of code, they are very well marked and it doesn't take a coding professional to do it. Don't know why you are complaining, maybe you could update the files to 1.5.5e and send it to plugins to be updated and get your first contribution under your belt?

    Zen Cart and it's community are the best!!

  4. #4
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Ceon URI Mapping v4.x

    So I had this working perfectly on my new updated site. ZC 1.5.5e, PHP 5.6.3. It all was doing as expected, but now for some reason my ezpages with internal links are not converting anymore even though they were to begin with. For instance, an ezpage for contact_us, with an internal link of index.php?main_page=contact_us was converted to /Contact-Us. When I went to that link it loaded the contact us page, just as expected. Now, on the site the link is showing as index.php?main_page=contact_us instead of Contact-Us. If I manually enter Contact-Us in the address bar it loads a page that says Contact Us in the main column but the rest of the main column is blank. I don't understand what's happened, what modification I did since installing this might have caused this issue. I have spent a number of hours reviewing my changes since installing this mod and can't find anything that would be responsible. I have changed to the default template, but that's not it. If I create new new ezpage that is a "regular" ezpage that has some html content and not an internal link, the rewrite works correctly. So it seems to be an issue with the use of internal links in the ezpage.

    Has anyone come across this issue before?

    Zen Cart and it's community are the best!!

  5. #5
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by lankeeyankee View Post
    So I had this working perfectly on my new updated site. ZC 1.5.5e, PHP 5.6.3. It all was doing as expected, but now for some reason my ezpages with internal links are not converting anymore even though they were to begin with. For instance, an ezpage for contact_us, with an internal link of index.php?main_page=contact_us was converted to /Contact-Us. When I went to that link it loaded the contact us page, just as expected. Now, on the site the link is showing as index.php?main_page=contact_us instead of Contact-Us. If I manually enter Contact-Us in the address bar it loads a page that says Contact Us in the main column but the rest of the main column is blank. I don't understand what's happened, what modification I did since installing this might have caused this issue. I have spent a number of hours reviewing my changes since installing this mod and can't find anything that would be responsible. I have changed to the default template, but that's not it. If I create new new ezpage that is a "regular" ezpage that has some html content and not an internal link, the rewrite works correctly. So it seems to be an issue with the use of internal links in the ezpage.

    Has anyone come across this issue before?
    After much more trial and error, I have gotten the internal-linked ezpages to show the correct page when manually entered in the browser address bar and the breadcrumbs are also correct. But the ezpage header and footer links are still pointing to the dynamic URL instead of the rewritten one. What I noticed in the DB was it was entering page for the main page of the internal-linked ezpages. Having page in that column was only working for regular ezpages and they are displaying the rewritten link properly and going to the correct page. When I manually added them to the DB and used contact_us, about_us, etc in the main page it is working if I manually enter the URL in the address bar.

    So now I just need to figure out why the links in the ezpage header and footer are showing the dynamic URL instead of the rewritten one. Any suggestions about where to look would be highly appreciated!
    Last edited by lankeeyankee; 19 Jun 2017 at 06:18 AM.

    Zen Cart and it's community are the best!!

  6. #6
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by lankeeyankee View Post
    After much more trial and error, I have gotten the internal-linked ezpages to show the correct page when manually entered in the browser address bar and the breadcrumbs are also correct. But the ezpage header and footer links are still pointing to the dynamic URL instead of the rewritten one. What I noticed in the DB was it was entering page for the main page of the internal-linked ezpages. Having page in that column was only working for regular ezpages and they are displaying the rewritten link properly and going to the correct page. When I manually added them to the DB and used contact_us, about_us, etc in the main page it is working if I manually enter the URL in the address bar.

    So now I just need to figure out why the links in the ezpage header and footer are showing the dynamic URL instead of the rewritten one. Any suggestions about where to look would be highly appreciated!
    Might I suggest reading the instructions related to internal links? This is a specific issues that as memory serves specifically does not rewrite on display of the uri on hover, but on click should direct and land at the uri that is either rewritten or "normal" as the case may be. Now, what I have done in times past if I remember correctly is to establish a rewritten uri for a given page then as the internal link I have used that rewritten uri to get there. Ie. The hover upon uri matches the final uri with regards to the rewritten state. That is at least how I recall setting it up way back when.

    I know DivaVocals had posted something further about internal links as well not "all" that long ago. (long enough, but not like years..)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    Might I suggest reading the instructions related to internal links? This is a specific issues that as memory serves specifically does not rewrite on display of the uri on hover, but on click should direct and land at the uri that is either rewritten or "normal" as the case may be. Now, what I have done in times past if I remember correctly is to establish a rewritten uri for a given page then as the internal link I have used that rewritten uri to get there. Ie. The hover upon uri matches the final uri with regards to the rewritten state. That is at least how I recall setting it up way back when.

    I know DivaVocals had posted something further about internal links as well not "all" that long ago. (long enough, but not like years..)
    Hmmm, I had read and reread the docs and never saw that part. Thanks for pointing out what it should be doing. It does indeed go to the rewritten URI but not if I use the default auto-generation feature for ezpages. And the hover links are the rewritten URI for all other links ie products, categories and manufacturers.

    If I use the default link generation in ezpages, it assigns the main_page as 'page' in the DB. Page is correct for ezpages that do not use an internal link, and they work correctly and have the hover link display the new URI. But, it has 0 effect on internal links. Even though in the DB it shows up, when I hover it shows dynamic URL and when clicked it takes me to the dynamic URL, too. When I change main_page from 'page' to say 'contact_us' and associated_db_id to NULL then the hover link still shows the dynamic URL but it does take me to the page with the rewritten URI.

    I just tried this on a new vanilla 1.5.5e with only this module installed. I get the same behavior. So something is different because it was working properly when I first installed it. I didn't have to do any messing around in the DB, I just went into each ezpage and saved it just like existing categories and products (there were only a couple test ones) and it worked out of the box. Now, the internally linked ones don't work with auto create.

    Zen Cart and it's community are the best!!

  8. #8
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    Now, what I have done in times past if I remember correctly is to establish a rewritten uri for a given page then as the internal link I have used that rewritten uri to get there. Ie. The hover upon uri matches the final uri with regards to the rewritten state. That is at least how I recall setting it up way back when.
    This didn't work until I manually entered the internal-linked ezpages in the DB, using the main_page of 'contact_us' etc and associated_db_id set to NULL. Then I went back in to ezpages and set the internal link to Contact-Us and now it has the hover link correct and goes to correct page.

    Thanks for the pointer!!

    Zen Cart and it's community are the best!!

  9. #9
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by pixelpadre View Post
    If it were that simple wouldnt the author have done that a year ago?
    Perhaps. But he died several years ago. His family has posted about getting back into updating his modules, but I'm not sure where exactly they're at with that today.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by DrByte View Post
    Perhaps. But he died several years ago. His family has posted about getting back into updating his modules, but I'm not sure where exactly they're at with that today.

    Did not know this. R.I.P.

    These events are happening all around us today. The pioneers are dropping along the great trails of technological exploration that have redefined the lives of everyone on the planet. Some people think the greatest generation that ever lived were kids with guns shooting at kids with guns. I can make a convincing argument that they pale in comparison to today's heroes who have changed our lives much more profoundly than any battlefield victory. Many expert authorities in all sectors of the computing world have already departed and left roads unfinished and unpaved.

    Whoever said there is no sense in re inventing the wheel was wrong...we will be doing it for a very long time. Or at least as long as these pioneers work independently with no documentation for others to pick up where they left off. Judging from what I have seen over the past 20 years in computer programming code, we are in for a rough time as we try to decipher others works. A short read here will explain what I am talking about. http://www.cs.utah.edu/~germain/PPS/...ommenting.html

 

 

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