Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
conor
Hi,
Okay, thanks. Have a good evening.
All the best...
Conor
ceon
Hey Conor.. Just installed your mod on a site that I am finishing up.. Everything installed beautifully and it all works except on my custom product type. I thought I made all the right changes to the right places (used the book product type to get the code added to my custom product type files), but I've got some odd stuff happening.. So apparently I missed something...
Here's what is happening.. When I edit products that use my custom product type, the URIs are correctly generated and I can manually enter the URL for these products.. The problem is that on the front end all the listings still show the dynamic link. Normally after you click the link the first time the auto generated URI will show.
Here's the product listing page I speak of:
http://clientlaserdiscvault(dot)over...ndex&cPath=260
Here's the product in question:
http://clientlaserdiscvault(dot)over...oducts_id=9280
and here is the generated URI for this product:
http://clientlaserdiscvault(dot)over...and-black-lace
Could use your help sir..:smile:
Re: Ceon URI Mapping v4.x
Hi,
Hope you're doing well!
Quote:
Originally Posted by
DivaVocals
Could use your help sir..:smile:
It shall gladly be given to someone such as yourself! ;)
I have seen this before.. it is simply that the module on the catalog side doesn't "know" about the custom product type. You have to add the custom product type into the file includes/extra_datafiles/ceon_uri_mapping_product_pages.php :
PHP Code:
$ceon_uri_mapping_product_pages = array(
FILENAME_DOCUMENT_GENERAL_INFO,
FILENAME_DOCUMENT_PRODUCT_INFO,
FILENAME_PRODUCT_INFO,
FILENAME_PRODUCT_BOOK_INFO,
FILENAME_PRODUCT_FREE_SHIPPING_INFO,
FILENAME_PRODUCT_MUSIC_INFO,
'yourcustomproducttype_info'
);
Ceon URI Mapping will then recognise the product type and process the URIs for it.
Have a nice day!
All the best...
Conor
ceon
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
conor
Hi,
Hope you're doing well!
It shall gladly be given to someone such as yourself! ;)
I have seen this before.. it is simply that the module on the catalog side doesn't "know" about the custom product type. You have to add the custom product type into the file includes/extra_datafiles/ceon_uri_mapping_product_pages.php :
PHP Code:
$ceon_uri_mapping_product_pages = array(
FILENAME_DOCUMENT_GENERAL_INFO,
FILENAME_DOCUMENT_PRODUCT_INFO,
FILENAME_PRODUCT_INFO,
FILENAME_PRODUCT_BOOK_INFO,
FILENAME_PRODUCT_FREE_SHIPPING_INFO,
FILENAME_PRODUCT_MUSIC_INFO,
'yourcustomproducttype_info'
);
Ceon URI Mapping will then recognise the product type and process the URIs for it.
Have a nice day!
All the best...
Conor
ceon
Perhaps I am being daft here Conor.. But I've been through the entire v4.08 package and I do not see this file.. Am I missing something??
Re: Ceon URI Mapping v4.x
Hi,
Quote:
Originally Posted by
DivaVocals
Perhaps I am being daft here Conor.. But I've been through the entire v4.08 package and I do not see this file.. Am I missing something??
This functionality was added in 4.2.0 to make it easy for people to use custom product types.. funny, I was very surprised that you'd have posted about this problem, didn't occur to me that you'd not be on the latest version (4.4.1 :) ).
Upgrading will take just a few minutes, then all you need to do is add to that file and support for your custom product type is instantaneous. :)
Saying all that, I've just realised that, outside of the Revision History, I haven't documented this functionality anywhere except in that file itself. Guess I should a wee section to the configuration docs - more work to do then!
Have a good day! New update of Ceon Manual Card to get sorted here..
All the best...
Conor
ceon
Re: Ceon URI Mapping v4.x
Re: Ceon URI Mapping v4.x
Hi,
I've just realised that the downloads area is very out of date.
I forgot the last version failed to be uploaded as the downloads area has a problem with filesizes at the minute. Until this is sorted please get the latest version directly from the Ceon site.
All the best...
Conor
ceon
Re: Ceon URI Mapping v4.x
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
conor
Hi,
I've just realised that the downloads area is very out of date.
I forgot the last version failed to be uploaded as the downloads area has a problem with filesizes at the minute. Until this is sorted please
get the latest version directly from the Ceon site.
All the best...
Conor
ceon
Was JUST getting ready to tell you this.. :laugh:
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
conor
Hi,
This functionality was added in 4.2.0 to make it easy for people to use custom product types.. funny, I was very surprised that you'd have posted about this problem, didn't occur to me that you'd not be on the latest version (4.4.1 :) ).
Upgrading will take just a few minutes, then all you need to do is add to that file and support for your custom product type is instantaneous. :)
Saying all that, I've just realised that, outside of the Revision History, I haven't documented this functionality anywhere except in that file itself. Guess I should a wee section to the configuration docs - more work to do then!
Have a good day! New update of Ceon Manual Card to get sorted here..
All the best...
Conor
ceon
Quote:
Originally Posted by
conor
Hi,
I've just realised that the downloads area is very out of date.
I forgot the last version failed to be uploaded as the downloads area has a problem with filesizes at the minute. Until this is sorted please
get the latest version directly from the Ceon site.
All the best...
Conor
ceon
Upgrading did the trick.. there were a few additional files from my custom product type that I modified following how other product types had your code applied. I hope that I did the right thing by modifying these files as well.. So far everything seems to be working flawlessly! Thanks for the help as always Conor!!