Rank: Advanced Member
Groups: Member
Joined: 3/20/2018(UTC) Posts: 61
Thanks: 4 times
|
Hello Stan, Hello everybody. I'm trying to do something but I don't know if this functionality is ok in customers canvas.
I need to add Text bloc like new item in my design the same way we add new text or images.
for example I have a psd design containing two items grouped "NAME" and "SURNAME", want to add this group like new item into my design without replacing another one. The Group item can be added each time I choose it like new elements.
Can you help me please.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 5/26/2020(UTC) Posts: 4
|
Hi Ben,
Could you provide a little bit more detail about what you trying to do? It's better if you add some screenshots and describe all your workflow step by step.
Best regards, Stan
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/20/2018(UTC) Posts: 61
Thanks: 4 times
|
 hI Stan, here is an example from canvas. Have the possibility to add two text from a psd template into my design like new item. Cordially
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 5/26/2020(UTC) Posts: 4
|
Hi Ben, Thanks for providing me this. CC support group objects mode, more info about it your can find here. For adding new kinds of blanks, you can prepare a Photoshop file using the <GR> tag, and just upload the PSD file through the asset manager. You can prepare a couple of files using this approach and add a tab inside the asset manager to get users access to these templates.   If you have any questions feel free to contact me. Best regards, Stan
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/20/2018(UTC) Posts: 61
Thanks: 4 times
|
Stan, Right, I did it ,but when I add another group again, it replaces the previous added tottally. Nb: I use the open layout method.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 5/26/2020(UTC) Posts: 4
|
Ben,
Would you mind providing to us a code snippet that you use to add this group object (where you also use open layout method)?
Best regards, Stan
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/20/2018(UTC) Posts: 61
Thanks: 4 times
|
Hi Stan,
here is my snippet
// add add_text_part $(".add_design_block").click(function () { //If the editor has been successfully loaded. editor.getProduct() .then(function (e) { editor.openGallery({ tabs: ["Layouts"] }, "layout"); }) .catch(function (error) { console.error("Setting up the mockups failed with exception: ", error); }); });
this code open automatically the layout box , then I can choose one to add it, unfortunately when I need to add a new, the previous is replaced. ( the previous can be text only and the previous a shape with picture).
I hope it's will help
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/20/2018(UTC) Posts: 61
Thanks: 4 times
|
Hi stan, I Hope you well, Please give me a feedback as soon as possible.
Thanks again
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 5/26/2020(UTC) Posts: 4
|
Hi Ben,
Thank you for the follow up and sorry for late response.
I have passed this information to our support team. I think they answer to you today or tomorrow.
Best regards, Stan
|
|
|
|
Rank: Member
Groups: Member
Joined: 11/14/2019(UTC) Posts: 29
Was thanked: 1 time(s) in 1 post(s)
|
Hello Ben,
Could you provide a link to the product where you implemented this behavior? And how could we reproduce this behavior on this product?
Regards, Victor
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/20/2018(UTC) Posts: 61
Thanks: 4 times
|
|
|
|
|
Rank: Member
Groups: Member
Joined: 11/14/2019(UTC) Posts: 29
Was thanked: 1 time(s) in 1 post(s)
|
Hello Ben,
Thanks for the data provided, I need some time to check this.
Regards, Victor
|
|
|
|
Rank: Member
Groups: Member
Joined: 11/14/2019(UTC) Posts: 29
Was thanked: 1 time(s) in 1 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/20/2018(UTC) Posts: 61
Thanks: 4 times
|
HI STAN, the problem is the same. New added Layout changes old one. I don't want it. 
|
|
|
|
Rank: Member
Groups: Member
Joined: 11/14/2019(UTC) Posts: 29
Was thanked: 1 time(s) in 1 post(s)
|
Hello Ben,
Could you create a support case for this question, because your files can be discussed
Regards, Victor
|
|
|
|
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.