Announcement

Collapse
No announcement yet.

System Template Images

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • System Template Images

    I'm trying to add an image to the "Password Change Link" message but HtmlIzer.php seems to be taking any urls like ?endPoint=attachment and changes them to a broken link of the form:
    src="data/upload/..." is this by design? Also the login seems to get triggered when $this->entityManager !=null which seems true all the time?

    Am i missing something here? How do a get an image into the email? Is the only way to have a none ?endpoint based image?
    Thanks

  • #2
    "Also the login seems" = "Also the LOGIC seems"

    Comment


    • #3
      It appears that Htmlizer is doing 2 things:
      1. changing ?entryPoint=attachment&amp to ?entryPoint=attachment&
      2. changing ?entryPoint=attachment&id=xyz to data/upload/xyz

      I ended up creating my own HtmlizerFactory to load my own Htmlizer using binding.php

      Then when htmlizer->render is called I call parent->render and then undo the changes by replacing data/upload/ with ?entryPoint=attachment&amp

      The in subsequent processing by sender.php line 559 looks for ?entryPoint=attachment&amp adn converts these to inline attachments for the email.

      Net result.....image embedded in email

      Comment


      • #4
        Will be fixed. Thanks.

        Comment


        • #5
          but...probably breaks something else

          Comment

          Working...
          X