-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Social icons in view in browser #38
Comments
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. |
Fix for systopia#38
…o that google+.png works
…o that google+.png works
@pbatroff is this currently working? |
Yes, it is both working with the normal packed icons as well as with Icons in custom themes, as long as the theme folder is located somwhere in [civicrm_files]/persist/ |
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.The text was updated successfully, but these errors were encountered: