Rank: Advanced Member
Groups: Member
Joined: 3/20/2018(UTC) Posts: 61
Thanks: 4 times
|
Hi Andrew, i have a probleme I my canvas. I have created a gallery with custom texts in a psd file that I load with layouts method in my canvas. The problem is that I want to add more than one layout in my canvas, actually when I try, the new layout replace the previous one. Can you help me please.
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 7/4/2017(UTC) Posts: 43
Was thanked: 12 time(s) in 12 post(s)
|
Hi Ben,
It is not required to use layout functionality to insert artistic (curved) text from PSD file.
Are you using Asset Manager or old Image Gallery? Could you share your product configuration (including gallery configuration)?
Regarding, Andrew
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/20/2018(UTC) Posts: 61
Thanks: 4 times
|
HI Andrew, here is the code of my button to insert artistic text layouts
"buttons": [{ "type": "GalleryDialog", "translationKey": "Toolbox.LAYOUTS", "translationKeyTitle": "Toolbox.TITLE_LAYOUTS", "iconClass": "cc-icon-layout", //"iconClass": "cc-icon-add-layouts", // Set the Layout action to merge layouts. "action": "Layout", "preserveUserChanges":false, // Set the default tab shown when the Gallery opens. "defaultTabName": "Layouts", // Refer to the Gallery's tab. "tabs": [ "Text_Layouts" ] },
I just want have possibility to add group of text dynamically . for exemple: on a business card here is a group of three field containing "the name, the jobs and the jobs translation". in this way I want to be able to insert this predefined group created in a psd file into my canvas without delete existing one.
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 7/4/2017(UTC) Posts: 43
Was thanked: 12 time(s) in 12 post(s)
|
Correct configuration for inserting text from PSD should look like: Code:{
"translationKey": "Toolbox.ARTISTIC_TEXT",
"translationKeyTitle": "Toolbox.TITLE_ARTISTIC_TEXT",
"iconClass": "cc_icon_art_text",
"action": "Image",
"tabs": [
"Artistic text"
]
}
Where "Artistic text" is predefined tab with your PSD templates. Regards, Andrew
|
1 user thanked Andrey Semenov for this useful post.
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/20/2018(UTC) Posts: 61
Thanks: 4 times
|
Thanks Andrew, it works fine. Great
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.