XF 2.0 Resolve merge using parent, both or custom?

Mr Lucky

Well-known member
Can someone please explain how I should choose what to do iwhen I get those messages? Does it matter?

For example, in page_container I have an edit that changes the lightning link from What's New to New Posts.

FirefoxScreenSnapz004.webp



Thanks
 
I'd resolve using the parent version (that will give you the changes we made in this version) then you should re-add your custom bits, which appears to be the <xf:comment> line and the changed link.

After clicking "Resolve using parent version" the blue area that appears is clickable so you can edit it right there.
 
I'd resolve using the parent version (that will give you the changes we made in this version) then you should re-add your custom bits, which appears to be the <xf:comment> line and the changed link.

After clicking "Resolve using parent version" the blue area that appears is clickable so you can edit it right there.

OK, many thanks.

I'm glad I asked because it isn't very clear to me though because the word "resolve" implies to me that I just click and it resolves the merge, that I wouldn't need to do anything manual.
 
OK, so is this the correct interpretation of what happens:

  1. Resolve using parent would just revert that specific edit you did to the default. (Not revert the entire template if you had other edits)
  2. Resolve using custom version would keep the edit and replace the default code for that bit.
  3. Resolve using both would keep both the default and your edit.
It seems that 2 would be preferable, or is that one a bit risky?

I can't think of any circumstances where 3 would be any use ???
 
Well, no, in this case 1. was better because you don't want to wipe out our new changes.

3. is certainly less likely to be useful. In this case you'd have ended up with two what's new links and likely some broken HTML due to unclosed tags.

2. is useful if you're absolutely certain you don't need the incoming change.
 
Perfect, thanks Chris. Might be useful to mention that in the manual, or maybe I'm just a bit thicker/older than most :)

I think in the past some times I have just clicked on one of them and left it at that. If my edits got wiped or if the new code didn't get written, then I never noticed so it doesn't matter now.
 
Useful information in this thread. Anyway, I prefer template modifications system for that kind of edits. You just need to check modifications after XF upgrade so that they are all still applied.
 
Useful information in this thread. Anyway, I prefer template modifications system for that kind of edits. You just need to check modifications after XF upgrade so that they are all still applied.

If you do TMs, then do you actually get notified if they are "broken" by an update? In this case I would have done a find replace for the bit of code that was updated, and once the actual template itself changes, surely the find and replace no longer works.

Fine though if you get a warning about any changes. I know there is a list of changed templates in the announcement, I mean a warning on your forum ACP after the update.
 
Actually, there is not any warning (good suggestion!) in ACP if template modification doesn't apply.

After the XF upgrade I just manually check template modifications if there are any grey or red number here:

1521213730156.webp

If there is one grey or red, I check the original code if there is a change.
 
It drives me mad when I update the site and theme.

I have no custom template edits on my site. I auto merge but often have 20 templates or so left over that need manually merging. I try merging by resolving using parent works for some then breaks the site for others. Really annoying and I am not sure how to do it.
 
Top Bottom