Resource icon

xF2 Add-on SVG Template by Xon 2.7.0

No permission to download
  •  Thread starter
  •  Admin
  • EasyCoding submitted a new resource:

    SVG Template by Xon - SVG Template

    Depending on configuration, this add-on requires webserver URL rewrite support!

    Allows SVG (Scalable Vector Graphics) images to be stored as templates. This creates a new svg.php file in the XF root directory.

    To generate a link to an SVG template;
    Code:
    {{ getSvgUrl('tempate.svg') }}

    Under Board information, if "Use Full Friendly URLs" (useFriendlyUrls) is set the URL generated is:

    Code:
    /data/svg/<style_id>/<langauge_id>/<style_last_modified>/<templateName>.svg
    ...

    Read more about this resource...
     
  •  Thread starter
  •  Admin
  • EasyCoding updated SVG Template by Xon with a new update entry:

    SVG Template by Xon 2.7.0

    • php 8.4+ compatibility fixes
    • Prevent XF2.3 injecting the template name for admins into SVG templates
    • Fix separate &lt;style&gt; chunks in .svg templates would get rendered in reverse order
    • Fix a missing xmlns=http://www.w3.org/2000/svg attribute on the <svg> tag could cause compatibility issues
    • Fix LESS in .svg templates wasn't correctly supported, and CSS in a svg template's <style> tag without XML escaped attributes would error.
    • Add "getSvgAsInlineCss"...

    Read the rest of this update entry...
     
    Last edited:
    Back
    Top