Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding an option for forcing the alternate tag in the BeginLinks in t…
…he XE, as there are issues with displaying components with these taks in 9.1 in the XE when the component only has a section tag surrounding it.
- Loading branch information
a38f4e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need a new field for this? I'm not sure of the actual defect could the extra condition be
if (!string.IsNullOrWhiteSpace(alternateTag)) && global::Sitecore.Context.PageMode.IsExperienceEditor)
a38f4e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hollywoodinvegas That's a very good point. However, that would create the issue where it will assume that you will always want to use the alternate tag in XE if you have provided one, which may not always be the case.