Tip: Make Catalogue entries use ID's instead of Monikers
Posted
#6222
(In Topic #1538)

Site staff

In order to make this change upgrade resistant, place a copy of sources/hooks/systems/content_meta_aware/catalogue_entry.php into sources_custom/hooks/systems/content_meta_aware/catalogue_entry.php then open the custom version of the file for editing and find the following line:-
'support_url_monikers' => true,
Change true to false and save the file. Your catalogue entries will now be using the entry ID's and the rest of your website (which may be using Monikers) will remain unaffected. You could also make the same edit to a custom copy of catalogue_categories.php file if revealing the category ID's is more useful to you than Monikers. In fact, most of the content_meta_aware hooks allow this setting to be changed, though hooks which have Monikers set to false by default should probably be left that way.
1 guest and 0 members have just viewed this.