Zen Follower
- Join Date:
- Apr 2015
- Location:
- United States
- Posts:
- 144
- Plugin Contributions:
- 0
Creating an add-on "product type book" for ZC 1.5
philou:
Hi Frank,
menitu must respond to you, since he wrote the original post.
Let me just point out again, that there is an inclusion mechanism, which allows you to place a file which begins with "collect_info" like "collect_info_ceon_uri.php" and it will be included automatically by "collect_info.php". The same must then be implemented for "preview_info" and "update_product", so you deal with all your extra data in all three files and leave the original files untouched (if possible).Regards,
p.
Hello p.
I created a file "collect_info_seo.php" and put in this file "// BEGIN CEON URI MAPPING 1 of 2 require_once(DIR_WS_CLASSES . 'class.CeonURIMappingAdminProductPages.php'); $ceon_uri_mapping_admin = new CeonURIMappingAdminProductPages(); $ceon_uri_mapping_admin->collectInfoHandler(); // END CEON URI MAPPING 1 of 2
but now I only get this same text at the top of my collect_info.php page instead of ceon uri box near the bottom of the page.
I also created another file "collect_info_metatags.php" and that looks like it is functioning properly.
I have not done anything with the preview nor update yet.
Thanks for your help,
Frank