CMS Development

SStrachan
Participant

Email Module export_to_template_context=True

If I create a module with export_to_template_context=True to control other modules, I cannot seem to have any code output on the module used to control others. Is this normal? I'd like to also output using the controller module. Also, why do they get put at the bottom of the module list regardless the order I have placed my code?

0 Upvotes
3 Replies 3
Anton
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

Email Module export_to_template_context=True

Hi @SStrachan

could you please post the whole source code of the template/module(s)?

 

Thanks

 

best, 

Anton

Anton Bujanowski Signature
webdew
Guide | Diamond Partner
Guide | Diamond Partner

Email Module export_to_template_context=True

Hy @SStrachan 

would you mind code OR someting screenshot your code:

Please add ( if else ) condition and add your code which want you show frantend. 

Hope this helps!


If we were able to answer your query, kindly help the community by marking it as a solution.

Thanks and Regards.

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Email Module export_to_template_context=True

@SStrachan 

Would you be able to add some of your code so we can see what you are working with? 

@piersg and @Anton are smart fellows who might be able to help you 😀