# Templates like a newsletter. Is it possible?

**URL:** <https://community.weweb.io/t/templates-like-a-newsletter-is-it-possible/9474>\
**Category:** Ask us anything\
**Created:** [July 1, 2024, 3:56pm UTC](https://community.weweb.io/t/templates-like-a-newsletter-is-it-possible/9474 "2024-07-01T15:56:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ugarovesk](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/ugarovesk/32/9737_2.png) [@Ugarovesk](https://community.weweb.io/u/Ugarovesk)\
**Post date:** [July 1, 2024, 3:56pm UTC](https://community.weweb.io/t/templates-like-a-newsletter-is-it-possible/9474/1 "2024-07-01T15:56:09Z")

</div>

Hi,  
I would like to know if it is technically possible to implement this user story in Weweb?  
(As if it were a newsletter)

1. Fill in a data form, including an image;
2. Choose a layout from a set of \*templates available;
3. Edit the elements in the selected layout, like color, font, etc.;
4. Share via email and social networks.  
PS.: \* How to create these Layouts?  
Thanks

---

<div class="post-metadata">

**Author:** ![Davy](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@Davy](https://community.weweb.io/u/Davy)\
**Post date:** [July 2, 2024, 9:44am UTC](https://community.weweb.io/t/templates-like-a-newsletter-is-it-possible/9474/2 "2024-07-02T09:44:53Z")

</div>

I am not sure I understand fully the context of your request, but to create a layout I will create a variable object in weweb, assign each element that could be modify with a code color or whatever options you need, for example.  
{  
“header”: “#000000”,  
“bottom”:“#FFFFFF”  
etc…  
}

Create a page in weweb with the template, and assign the color (or whatever element you want) with the value matching the key.

When your users select a layout or edit a layout, you edit the value of your object matching the key and fetch your template to have updated data and therefore the new design displayed.

Hope that kind of makes sense.

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [July 3, 2024, 10:00am UTC](https://community.weweb.io/t/templates-like-a-newsletter-is-it-possible/9474/3 "2024-07-03T10:00:03Z")

</div>

Hi @Ugarovesk 👋

Yes, it’s possible.

As for, “how to create these layouts”, it’s a little too vague a question 🙂

Can you clarify what you tried and where you’re stuck? Don’t hesitate to share screenshots and screen recordings to helps us get the full context of your setup.

---

<div class="post-metadata">

**Author:** ![Ugarovesk](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/ugarovesk/32/9737_2.png) [@Ugarovesk](https://community.weweb.io/u/Ugarovesk)\
**Post date:** [July 3, 2024, 3:09pm UTC](https://community.weweb.io/t/templates-like-a-newsletter-is-it-possible/9474/4 "2024-07-03T15:09:59Z")

</div>

![draft](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/abbdeadccb7d3b5c7fc72a67755a399c46e28771.jpeg)  
First of all, thanks for answering! I must also add that this will be my first project using Weweb (wish me luck 🙂 Ok … I’ll try to clarify my question!  
The image above shows what I’m trying to do. I want the user to fill out a form, load an image and select a “template” of several. These “templates” I want to create in Weweb. When I refer to the layouts, I mean “graphic positioning of the elements on the page”. That is, in practice the templates are representations of “layouts”! Oops! I already wrote too much 🙂  
Thank you so Much.  
Fernando
