I had hoped to offload/not gain more imagined responsibility....I'd prefer if PRs went to the jsweb repository unless that gathers dust.
Printable View
I had hoped to offload/not gain more imagined responsibility....I'd prefer if PRs went to the jsweb repository unless that gathers dust.
You're right; updated.
https://github.com/JSWebSteve/Ceon-URI-Mapping-V5.1.0 is the new Github repo. Thanks to both of you for your hard work.
No, I'm not affiliated with Ceon in any way. I'm a long time developer for, and now owner of JSWeb. We had a long history of working with Conor many years ago.
The github repo is simply the last working version that is being used on client websites with it being updated as and when issues were identified.
I sent several support requests to Ceon.net when they released version 5.0, but never got any response, so started to fix issues myself. It appears there are several different developers applying fixes to v5.x, namely myself, @swguy, and @torvista.
I'm not sure if the current repo contains all those edits after the last PR's were made.
OK many thanks. I had a few messages back and forth with Connor, when he was about to go into hospital. It seems we've resolved the issue I raised by a core Zen Cart change (the handling of 'id' as an int for ezpages) so UriMappingHandler didn't need to be changed, but I'll try to bear this in mind if anything else comes up in future. I've also had to fork two other small repos in my move to PHP 8 as the original owners became unresponsive, c'est la vie.
I have noticed that with 1.5.7, the category URL rewrite fields (checkbox for auto create and new URL) don't seem to appear when editing a category. The file
admin/includes/javascript/ceon_uri_mapping_javascript.php
doesn't seem to be pulled in the way it is for products. Creating the file admin/includes/javascript/categories_CEONUriMapping.php won't work because then add the product edit fields will appear. So I hardcoded inclusion of includes/javascript/ceon_uri_mapping_javascript.php in admin/categories.php.
Any thoughts @strelitzia ?
I have
ceon_uri_mapping_javascript.php
with the code.
then
categories_CEONUriMapping.php
product_CEONUriMapping.php
which both contain
which is working for me.PHP Code:
<?php
include ("ceon_uri_mapping_javascript.php");
I could have *sworn* I tried that and got unwanted fields, but you're right - that works like a charm.
... but it's not in @strelitzia's copy of the code.