1. kabir khanna
  2. CMandrill for Joomla
  3. Wednesday, 22 January 2014
  4.  Subscribe via email
Hi,
I just installed CMandrill component on my Joomla3.2 installation which is also using the gantry framework. I then was able to create a global template, using Templates menu in CMandrill component, but when a click the drop down for "Component", I only see, "Global" and "Other". I am not seeing other components in this drop down and therefore not able to create different templates for different components. Please help.

Thanks
kabir...
Responses (5)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Kabir,
Please read the docs.
That is correct. You just need to select Other and then specify the class and function name. To find out what the class and function names are -> just trigger the action that sends a mail and look at the email in mandrill. It should have 2 tags - one with class_ and one with function_ -> the part after the underscore is what you need.

Regards,
DAniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. CMandrill for Joomla
  3. # 1
Accepted Answer Pending Moderation
Hey Kabir,
Please read the docs.
That is correct. You just need to select Other and then specify the class and function name. To find out what the class and function names are -> just trigger the action that sends a mail and look at the email in mandrill. It should have 2 tags - one with class_ and one with function_ -> the part after the underscore is what you need.

Regards,
DAniel


Hey Daniel,

In regards to this, I have Chronoforms v5 generating emails using the J! mailer and successfully getting styled with my global template. The emails it generates only have a function tag and not both a function and class tag. I have a template rule defined in CMandrill for the function name (the tag is function_eval so I just used eval) but it is not applying the proper template. Do emails need both a class and function for the template rules to catch?

Warmest Regards,
Cory
  1. more than a month ago
  2. CMandrill for Joomla
  3. # 2
Accepted Answer Pending Moderation
I solved my problem.

I was able to create a basic PHP class to generate and send my emails and now I get both tags on my messages.
Using both tags the template is correctly applied as it should be.

Thanks again for a great tool!
  1. more than a month ago
  2. CMandrill for Joomla
  3. # 3
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
cool :)
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. CMandrill for Joomla
  3. # 4
Accepted Answer Pending Moderation
Hi I also use chrono 5 - could you share your code? Did you use your own php code rather than use the email action?
  1. more than a month ago
  2. CMandrill for Joomla
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Questions on new installation...
Working on getting this set up... https://eastend2024.joepolecheck.com/rumma...
3 Replies
Posted on Wednesday, 17 April 2024
  • Resolved
  • New
  • Changes to the Submission form
    Can you make changes to the Submission form? There are a few fields I'd like to ...
    0 Replies
    Posted on Thursday, 18 April 2024
  • New
  • Error received? Class "XMLReader" not fo
    Just installed the Pro version of Hotspots, but am getting an error when I try t...
    1 Replies
    Posted on Wednesday, 17 April 2024
  • Resolved
  • New
  • Links aus Veranstaltungsübersicht funktionieren ni
    Nach der Migration von Joomla 3.10 auf Joomla 5.0.3 treten folgende Probleme auf...
    2 Replies
    Posted on Monday, 08 April 2024
    Custom Hotspot Marker fails to load
    I just updated from Joomla 3 to Joomla 4.3.4 and Hotspots 6.0.12. I decided to e...
    0 Replies
    Posted on Tuesday, 09 April 2024