[cv6] Custom Fields + XF 2.3 (FA6) – Quick Fix for Yellow CSS Errors about @fa-var-search
----------------------------------------------------
Template Modifications
----------------------------------------------------
Target template: public:cv6_customfields.less
1) Guard mixin
• Execution Order: 10
• Search (regex): #\A#
• Replace:
/* Custom cv6: guard mixin for optional overlay icon */
.-custom-cv6-icon-guard() {
@iconVar: @xf-cv6OverlayIcon;
.-custom-cv6-icon-guard-impl(@iconVar);
}
.-custom-cv6-icon-guard-impl(@v) when (isstring(@v)) and not (@v = ~"") {
.cv6-IconVar(@v);
}
$0
2) Rewrite .cv6-IconVar
• Execution Order: 20
• Search (regex): #\.cv6-IconVar\s*\(\s*([^)]
)\s\)\s*;#
• Replace:
.-custom-cv6-icon-guard($1);
----------------------------------------------------
Style Property
----------------------------------------------------
Appearance → Styles → [cv6] Custom Fields → Zoom Icon
• Clear the value (leave blank)
----------------------------------------------------
Result
----------------------------------------------------
• Yellow CSS error gone
• Related Server Error Log entries gone
• Account Details page loads