Meet us at Drupa 24. Dusseldorf/Germany. May. 28 - Jun 7.
Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
benadams  
#1 Posted : Saturday, August 17, 2019 3:56:07 AM(UTC)
benadams

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.

Andrey Semenov  
#2 Posted : Tuesday, August 20, 2019 12:21:41 AM(UTC)
Andrey Semenov

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

benadams  
#3 Posted : Thursday, August 22, 2019 7:32:25 AM(UTC)
benadams

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.

Andrey Semenov  
#4 Posted : Sunday, August 25, 2019 10:43:14 PM(UTC)
Andrey Semenov

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

thanks 1 user thanked Andrey Semenov for this useful post.
benadams on 8/29/2019(UTC)
benadams  
#5 Posted : Thursday, August 29, 2019 9:54:43 AM(UTC)
benadams

Rank: Advanced Member

Groups: Member
Joined: 3/20/2018(UTC)
Posts: 61

Thanks: 4 times
Thanks Andrew,

it works fine.

Great

Users browsing this topic
Guest
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.