# Placeholder text in content blocks updated by attribute?

**URL:** <https://forums.concretecms.org/t/placeholder-text-in-content-blocks-updated-by-attribute/8452>\
**Category:** Developing with Concrete\
**Created:** [November 26, 2024, 12:16pm UTC](https://forums.concretecms.org/t/placeholder-text-in-content-blocks-updated-by-attribute/8452 "2024-11-26T12:16:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![katalysis](https://forums.concretecms.org/user_avatar/forums.concretecms.org/katalysis/32/5562_2.png) [@katalysis](https://forums.concretecms.org/u/katalysis)\
**Post date:** [November 26, 2024, 12:16pm UTC](https://forums.concretecms.org/t/placeholder-text-in-content-blocks-updated-by-attribute/8452/1 "2024-11-26T12:16:53Z")

</div>

I’ve got a requirement to create multiple pages from a csv file. Each page will be populated by the content of a Page Type with defaults including multiple Content blocks.

We’ll be able to make something that uploads a csv file, creates the pages and attributes for each column it’s the last bit I’m missing.

Is anyone aware of an AddOn that will allow placeholder text in Content blocks populated by attribute values?

---

<div class="post-metadata">

**Author:** ![TMDesigns](https://forums.concretecms.org/user_avatar/forums.concretecms.org/tmdesigns/32/4261_2.png) [@TMDesigns](https://forums.concretecms.org/u/TMDesigns)\
**Post date:** [November 26, 2024, 12:53pm UTC](https://forums.concretecms.org/t/placeholder-text-in-content-blocks-updated-by-attribute/8452/2 "2024-11-26T12:53:05Z")

</div>

You can just make a block that pulls the page attribute in. Blocks can pull data from page attributes just make sure you do a check first to see if the data exists.

---

<div class="post-metadata">

**Author:** ![katalysis](https://forums.concretecms.org/user_avatar/forums.concretecms.org/katalysis/32/5562_2.png) [@katalysis](https://forums.concretecms.org/u/katalysis)\
**Post date:** [November 26, 2024, 1:07pm UTC](https://forums.concretecms.org/t/placeholder-text-in-content-blocks-updated-by-attribute/8452/3 "2024-11-26T13:07:48Z")

</div>

The text blocks are going to need to be editable by the client afterwards so I’m thinking maybe I’ll do a find and replace as part of the import routine or even in the Content block view file.

---

<div class="post-metadata">

**Author:** ![TMDesigns](https://forums.concretecms.org/user_avatar/forums.concretecms.org/tmdesigns/32/4261_2.png) [@TMDesigns](https://forums.concretecms.org/u/TMDesigns)\
**Post date:** [November 26, 2024, 1:42pm UTC](https://forums.concretecms.org/t/placeholder-text-in-content-blocks-updated-by-attribute/8452/4 "2024-11-26T13:42:50Z")

</div>

@mesuva might be able to help code something

---

<div class="post-metadata">

**Author:** ![JohntheFish](https://forums.concretecms.org/user_avatar/forums.concretecms.org/johnthefish/32/3767_2.png) [@JohntheFish](https://forums.concretecms.org/u/JohntheFish)\
**Post date:** [November 26, 2024, 3:40pm UTC](https://forums.concretecms.org/t/placeholder-text-in-content-blocks-updated-by-attribute/8452/5 "2024-11-26T15:40:54Z")

</div>

There used to be an addon that did something like this.

If its a one off, maybe a route is to convert the csv to concrete xml and import.
