Preview and Publish broken

Im using Wix Studio, when I look in normal mode my text is fine and as I want it. When I press preview mode the first header and paragraph gets copied over the others. So if I have a 4 column card type layout they all change to be the same heading and copy as the first one.

Same thing happens on publish.

When I go back into edit mode all the correct copy comes back.

Help!

Screenshot please :slight_smile:


This is edit mode


This is preview and publish

It it happens on other sections as well as this one.

Is it because it is repeaters connected to a cms database?

If it’s repeaters you should change the texts via the cms.

You can disconnect the repeaters from a database if you don’t want to deal with that

X

Hello.

There is no database, its just repeater and some text.

it happens on both of my repeaters and a card section where the heading and paragraph changes but the photos stay the same. It’s so odd!

Yes, like @CODE-NINJA says you should either stop using repeaters, or connect the repeater to a CMS dataset.

Play with it a little and use google as your friend.

1 Like

This is my 4th project, I’ve never had this issue with any other repeaters on any other of the projects. I am not using a CMS database or anything other than adding in a text box and typing in it.

I’m trying to get the content that shows in Edit mode to save and publish but it doesn’t save.

The copy is correct in the repeaters until I preview or publish.
This is not the expected behaviour for a repeater.

“A repeater is a list of items that have the same design and layout, but different content in each.” Source

Well, your repeaters are somehow all connected to the same text. Therefore you should check some of our suggested solutions if you want it fixed.

X

Marking my post as OFFENSIVE → won’t give you any chance to grow!
GOOD luck!!!

I know what your saying but this isn’t the behaviour of what a repeater should be doing. I guess my only option is to drop it and just make it into columns.

Maybe someone from Wix will eventually see this and tell me if I’m wrong.

Thanks @kreativthold for trying to help
@CODE-NINJA it’s nothing personal, but maybe don’t try to make me out to be an idiot next time. Maybe this was unintentional (probably was), fresh start?

There was nothing about pointing at you with finger to show that you are an idiot!

Ordinary question → to determine and understand at which level you are.

Fresh start? Yeah, maybe be.

Must have been the wording or the way I read it.

My apologies.

Do you have any suggestions on how to fix my issue? I’ve used repeaters many times before in EditorX and never had this display issue when publishing or previewing. My only other choice I can see is to do a manual version of it using containers. Thoughts?

No problem.

Show me how to rebuild your situation, i will take a look onto it.
I need first to understand fully your setup and your wished endresult.

1 Like

It’s a repeater block with a stack inside which contains a vector icon, text heading and a paragraph. On preview or publish the others don’t keep the text inputted they revert to the same copy as the first repeater box.

The final result is posted in my original message: Preview and Publish broken - #3 by MattH

I’ve done it multiple times in EditorX and had no issues. This is the first of 4 projects I’ve done in Wix Studio instead. To me this is a bug but please let me know if you can replicate this.

Thank you.

I assume it will be this one?

Upper left or bottom right one?

Ok, now i think i got you.
So you mean, the basic behaviour of the repeater.

That means → if i publish this → all text will be the same, like in your example?

That what you mean ?

But curious enough, that it did not happen to your ICONS?

Did the text you putted into your repeater-field also snapped/locked/docked → to the repeater?

But wait → the text must be already be docked to the repeater.
Yes indeed → this behaviour is strange → as long as you did not connect the repeater somehow already.

If it is what you mean.

And → NO ← this would be the normal REPEATER-BEHAVIOUR of a not connected repeater…

You can check result here…
https://russian-dima.wixstudio.io/test-site-repeater

As long as the repeater is not connected and do not gets its items from code or dataset, it should hold the entered data on it’s surface. But as soon as you start to feed the repeater with data → data will change on surface, no matter what you have created on repeaters surface before (will be overwritten).

1 Like

Your example test seems to behave correctly. :frowning:

I do not use databases or have any datasets etc its just text boxes.

I’ll try and delete them and rebuild them again and see if it still happens.

The pics you have linked are correct the top orange one is how my text looks in edit mode and the bottom one is what happens when I publish it or preview it.

Yes, i got you now. And yes, you are right, behaves different, what ever you have done.

Delete and rebuild again, see if you get same result.

But still my question open → you will feed the repeater with data later?
Or how you are using the repeater in your further process?