Open pbatroff opened 4 years ago
Alternatively a page hook could be used in the civiproxy extension on civi side to change the links.
I created an issue with the mosaico extension here, ideally this should be fixed in there.
I have difficulties with replacing social media icons from the versafix template. The instance is CiviCRM 5.30.1 on Wordpress and Mosaico 2.5.1597918155
I see that the templates have an absolute url.
Social Icons in the versafix template use relative paths, thus the replacement on the proxy to view the mailing doesn't work. Example URL:
/sites/default/files/civicrm/persist/mosaico_tpl/versafix-1.1/img/icons/fb-colors-96.png
This then wont be replaced in the proxy
civiproxy_mend_URLs
, then having an invalid URL. An additional regex fix should fix the problem for the$target_file
replacement.