Working with data

User 881212 Photo


Registered User
56 posts

Hi, have not used the email designer.
Is it possible to work with placeholders and preview with data?

Many thanks for each reply,

Best regards and keep safe,
Marc
Who needs a nickname, be yourself. Well most of the time...
User 187934 Photo


Senior Advisor
20,181 posts

Hi Marc,
Are you looking to replace the placeholders with variables from a database?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 881212 Photo


Registered User
56 posts

Hi Eric,
Eventually yes.

Marc
Who needs a nickname, be yourself. Well most of the time...
User 187934 Photo


Senior Advisor
20,181 posts

You can't preview with a database within the app but you could after export.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 881212 Photo


Registered User
56 posts

Ok, thx

There is always room for improvement then :)

I am used to working with an other designer.
It had a simple textfield where you could place a json object


JavaScript May 14, 2011 By Sam Deering
Example Customer Form JSON File





This is an example of a Customer Form JSON file which you might see used to store configuration settings to setup your system. It might also be used to contain record information which can be easily shared across components using the simple JSON format.

Also: See more JSON examples.

Customer
{
"firstName": "John",
"lastName": "Smith",
"age": 25,
"address":
{
"streetAddress": "21 2nd Street",
"city": "New York",
"state": "NY",
"postalCode": "10021"
},
"phoneNumber":
[
{
"type": "home",
"number": "212 555-1234"
},
{
"type": "fax",
"number": "646 555-4567"
}
]

Then one can place something like <<customer.name> in the designer.

In the preview this would be filled in with the json data.

Thank anyway.
Best regards and keep safe.
Who needs a nickname, be yourself. Well most of the time...
User 187934 Photo


Senior Advisor
20,181 posts

I send an email to members of my dive club. I made a php script that will replace the place holder text with the php variables code so I don't have to do it manually every time I want to change the design of the email.I design the email with the holder text that typically looks like this [first_name] and replace it with php $_GET. I can give better details if you think you could use the script.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 881212 Photo


Registered User
56 posts

Thank you,
I will look into that.
Just saying that it would be rather nice to design email with placeholders and do a preview with data from a predefined table in the email designer itself.

Best regards and stay safe,
Marc
Who needs a nickname, be yourself. Well most of the time...

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.