Link Abstractor Not Working - For Description Field

Permalink Browser Info Environment
Hello,

We are using this add-on on our project and running into an issue.

The issue is when we try to add a link to text in the WYSIWYG using the sitemap, The resultant link we get contains cID(index.php?cID=) instead of the slug.

The hope is that we get the slug of the page instead of the cID URL. I think this needs to be implemented by using the LinkAbstractor class of the C5 (https://documentation.concrete5.org/api/8.4.3/Concrete/Core/Editor/LinkAbstractor.html)

There are two functions here which should be able to solve this. TranslateFrom and TranslateTo

TranslateFrom will be used while saving the WYSIWYG editors content into DB and TranslateTo to display it on the frontend.

I am hoping this will be added as a part of the new release of the add-on.

Type: Discussion
Status: New
AnimalFoundation
View Replies:

concrete5 Environment Information

# concrete5 Version
Core Version - 8.3.2
Version Installed - 8.3.2
Database Version - 20180122213656

# concrete5 Packages
Adoption Search Module (0.0.3), Block Designer (3.1.3), Events Module (0.0.8), Happy Tails (0.0.3), Informatics Blog (1.0.1), Informatics Social Media Tags (0.0.1), Scheduling Module (0.1.9), Vivid Simple Accordion (1.0.1)

# concrete5 Overrides
blocks/autonav/templates/breadcrumb.php, blocks/autonav/templates/main_menu/view.php, blocks/autonav/templates/main_menu, blocks/autonav/templates, blocks/autonav/view.php, blocks/autonav, blocks/cta_link/add.php, blocks/cta_link/composer.php, blocks/cta_link/config.json, blocks/cta_link/controller.php, blocks/cta_link/db.xml, blocks/cta_link/edit.php, blocks/cta_link/form.php, blocks/cta_link/icon.png, blocks/cta_link/view.php, blocks/cta_link, blocks/feature_link/add.php, blocks/feature_link/composer.php, blocks/feature_link/config.json, blocks/feature_link/controller.php, blocks/feature_link/db.xml, blocks/feature_link/edit.php, blocks/feature_link/form.php, blocks/feature_link/icon.png, blocks/feature_link/templates/vertical_img.php, blocks/feature_link/templates, blocks/feature_link/view.php, blocks/feature_link, blocks/footer_cta/add.php, blocks/footer_cta/composer.php, blocks/footer_cta/config.json, blocks/footer_cta/controller.php, blocks/footer_cta/db.xml, blocks/footer_cta/edit.php, blocks/footer_cta/form.php, blocks/footer_cta/icon.png, blocks/footer_cta/view.php, blocks/footer_cta, blocks/page_list/controller.php, blocks/page_list/templates/blog_news.php, blocks/page_list/templates/homepage_list.php, blocks/page_list/templates/landing_page_children.php, blocks/page_list/templates/simple_list.php, blocks/page_list/templates, blocks/page_list, blocks/page_title/templates/custom.php, blocks/page_title/templates, blocks/page_title, blocks/social_media_block/add.php, blocks/social_media_block/composer.php, blocks/social_media_block/config.json, blocks/social_media_block/controller.php, blocks/social_media_block/db.xml, blocks/social_media_block/edit.php, blocks/social_media_block/form.php, blocks/social_media_block/icon.png, blocks/social_media_block/view.php, blocks/social_media_block, blocks/tags/controller.php, blocks/tags/templates/custom/view.php, blocks/tags/templates/custom, blocks/tags/templates, blocks/tags, blocks/topic_list/templates/custom/view.php, blocks/topic_list/templates/custom, blocks/topic_list/templates, blocks/topic_list, themes/animalfoundation/css/animation.css, themes/animalfoundation/css/bootstrap.min.css, themes/animalfoundation/css/custom.css, themes/animalfoundation/css/font-awesome.min.css, themes/animalfoundation/css, themes/animalfoundation/default.php, themes/animalfoundation/description.txt, themes/animalfoundation/fonts/fontawesome-webfont.eot, themes/animalfoundation/fonts/fontawesome-webfont.svg, themes/animalfoundation/fonts/fontawesome-webfont.ttf, themes/animalfoundation/fonts/fontawesome-webfont.woff, themes/animalfoundation/fonts/fontawesome-webfont.woff2, themes/animalfoundation/fonts/FontAwesome.otf, themes/animalfoundation/fonts/glyphicons-halflings-regular.eot, themes/animalfoundation/fonts/glyphicons-halflings-regular.svg, themes/animalfoundation/fonts/glyphicons-halflings-regular.ttf, themes/animalfoundation/fonts/glyphicons-halflings-regular.woff, themes/animalfoundation/fonts/glyphicons-halflings-regular.woff2, themes/animalfoundation/fonts, themes/animalfoundation/full.php, themes/animalfoundation/home.php, themes/animalfoundation/img/adopt-placeholder.jpg, themes/animalfoundation/img/bkg-ftr.jpg, themes/animalfoundation/img/bkg-stats.jpg, themes/animalfoundation/img/bkg-wave.png, themes/animalfoundation/img/event-placeholder.jpg, themes/animalfoundation/img/grumpy-cat.jpg, themes/animalfoundation/img/logo-inverse.png, themes/animalfoundation/img/logo.png, themes/animalfoundation/img/paw.png, themes/animalfoundation/img/pet-1.jpg, themes/animalfoundation/img/pet-2.jpg, themes/animalfoundation/img/placeholder.jpg, themes/animalfoundation/img, themes/animalfoundation/inc/footer.php, themes/animalfoundation/inc/header.php, themes/animalfoundation/inc, themes/animalfoundation/js/animal-foundation.js, themes/animalfoundation/js/bootstrap.min.js, themes/animalfoundation/js, themes/animalfoundation/landing_page.php, themes/animalfoundation/page_not_found.php, themes/animalfoundation/page_theme.php, themes/animalfoundation/right_sidebar.php, themes/animalfoundation/secondary.php, themes/animalfoundation/thumbnail.png, themes/animalfoundation/view.php, themes/animalfoundation

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.1.10

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, fileinfo, filter, gd, gettext, hash, iconv, intl, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, Phar, readline, Reflection, session, SimpleXML, soap, SPL, sqlsrv, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 360
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 10000
memory_limit - 3000M
post_max_size - 20M
sql.safe_mode - Off
upload_max_filesize - 25M
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 100000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.