Final SVG Fix.
Added
Fixed
- Page Search Result Node Icon: Added support for displaying custom Page node icons (FontAwesome, raster images, and inline SVGs) or the configured default page icon in XenForo search results (
search_result_page), replacing the default question-mark avatar.- Default Icon for Pages Option: Added option
cv6DefaultIconPage(default:fa-file-alt) in AdminCP Options groupcv6NodeIconswith icon autocomplete and validation.- Page Entity Extension: Extended
XF\Entity\PagewithgetIcon()andgetNodeImage()helper methods.
- Category Collapse CSS Scope: Scoped the category collapse CSS in
nodeicon.lessstrictly to.collapsible-nodes .block-headerto prevent style leakage (height: 30px, rotated collapse icon) into other category blocks and accordion triggers across the suite (such as FAQ pages).- Page Node Default Icon Resolution: Fixed
Node::getNodeIcon()forPagenodes to resolve tocv6DefaultIconPageinstead of falling back to discussion forum icons.- Add-on Icon Path: Updated add-on icon filename in
addon.jsontoicon-nodeicons.png.- SVG Auto-ViewBox Generation: Automatically create and set a
viewBoxfrom intrinsicwidthandheightattributes insvg.jsbefore stripping dimensions. This prevents SVGs lacking an explicitviewBoxfrom being visually clipped or cut off when scaled down by CSS.
Fixed
- Inline SVG Dimension Explosion: Stripped intrinsic
widthandheightattributes insvg.jsbefore injection to ensure SVGs scale responsively within their node container bounds.- Node Icon Sizing & CSS Robustness: Added explicit
max-width: @xf-cv6DisplayIconSize;,max-height: @xf-cv6DisplayIconSize;, and auto dimensions to.node-icon,.cv6-node--img,svg.cv6-node--img.replaced-svg,img.cv6-node--img, anddiv.p-titleinnodeicon.less.- LESS Compilation Failures: Replaced deprecated
.m-transition(...)mixins with standard CSStransition: ...and includedcv6_fa.lessinnodeicon.lessto ensure flawless stylesheet compilation across all third-party themes.- Collapse Icon Style Property: Changed default value of
cv6CollapseIconto@fa-var-chevron-circle-downto ensure full FontAwesome 5 compatibility out of the box without requiring external icon provider styles.
Release 1.5.8 (ID 1050870)
- Dependency Alignment: Updated minimum required version of cv6/Core to 1.6.0+.
- Icon Provider Neutralization: Neutralized all Node Settings icon labels and hint phrases to support all active icon providers from cv6/Core (FontAwesome, Google Material, Game Icons, etc.).
- Default Forum Type Icons: Fixed Node::getNodeIcon() to query $this->Data->getTypeHandler(), ensuring configured default icons for Question, Article, and Suggestion forums resolve properly from options.
- Forum Heading Icon Display: Removed restriction in forum_view template modification so that when cv6DisplayIconHeading is enabled, heading icons are also displayed for forums using default type icons.
Release 1.5.7 (ID 1050770)
- Template-Modifikationen Bereinigung: Verwaiste schließende Klammern (}}) in den Bedingungen der Template-Modifikationen für category_view, forum_list und forum_view entfernt.
- XenForo 2.3 Skript-Tag Standardisierung: Attribut-Syntax bei der SVG-Injection-Modifikation (PAGE_CONTAINER) von veraltetem dev/addOn auf das standardisierte src/addon umgestellt.
Release 1.5.5 (ID 1050570)
- Node Title CSS Layout: Added explicit height and width dimensions for node icon images in page titles (div.p-title img.cv6-node--img) to prevent flex container line breaks.
- Controller Extension: Restored parent::saveTypeData() call in Category admin controller extension to preserve the class extension chain.
- JavaScript Promise Handling: Updated XF.ajax() in markread.js to native ES6 Promises with [.then()[/I] and [.catch()[/I].
- Template Syntax & Cleanup: Fixed template condition syntax error in cv6_nodeicon_macros.html, updated admin JS include syntax to src/min, and removed debug output.
- Entity Architecture: Migrated entity structure column definitions from event listener to getStructure() overrides in entity extensions.
Version 1.5.5 (ID 1050570)
- CSS Title Layout Fix: Added fixed dimensions for node icon images in page titles (
div.p-title img.cv6-node--img) to prevent unintended line breaks inside the flexbox container.- Controller Extension: Restored
parent::saveTypeData()call in theCategoryadmin controller extension.- JavaScript Promise Handling: Updated
XF.ajax()usage inmarkread.jsto native ES6 Promises using.then()and.catch().- Template Fixes & Syntax: Fixed syntax errors in
cv6_nodeicon_macros.html, updated JS include syntax tosrc/min, and removed debug outputs.- Entity Architecture: Migrated database column definitions from event listeners to
getStructure()overrides in entity extensions.
Version 1.5.4 (ID 1050470)
- Core Dependency: Raised minimum requirement for
cv6/Coreto version 1.4.2 (ID 1040270).- Macro Syntax Standardization: Converted all macro calls in template modifications to strict XenForo syntax
<xf:macro id="cv6_nodeicon_macros::..." />.
Version 1.5.3 (ID 1050370)
- Core v1.4.0 Integration: Updated dependency on
cv6/Coreto v1.4.0 (1040070).- FontAwesome Icon Autocomplete: Enabled live autocompletion (
arg-autocomplete="{{ true }}") across all ACP node edit forms (cv6_ni_macros) and style property forms (cv6_collapse_icon).- Options Validation & Autocomplete: Enabled
autocomplete=1and linkedverifyValidIconOptionalvalidation to all default icon options in the ACP.
Version 1.5.2
- Setup: Fixed column checking logic in
upgrade1050070Step1to ensure missing columns are correctly added.- Setup: Updated
dropColumnsinuninstallStep1to use array syntax.- Entity: Cleaned up
NodeIconentity relations and finder methods.
Update Core before you update any other of my addons.
- several mionor bugs
- page icon now displayed on page
- renaming to [DD]
- NEW: Default Icon Settings
Always make a backup before you update!
This Updates are big, please test them upfront in a local copy and then follow the following steps:
- Deactivate yout forum in the Settins.
- Update Core AddOn
- Update any other AddOn
- Check if all runs as expected
- if Yes, turn on Forum again.
If you encouter Issues, please contact me here or in my forum. In my Forum I am daily and may respond faster.
- Works fully with XF2.3
- Requires XF 2.3
- New Settings: Default Icons for several Icons appearing in XF
- Column view for subforums
![]()
![]()
Updated the admin templates to allow users to properly select and update the node icons.
Fixed browser console error related to missing admin.js
1.3.0
- new Name - Node Icons & Tools
- new function: Collapse Categories - collapse icon each style
- new function: Prefix Settings in edit node view is collapsable
- style based and forum based option to allow collapse
- require [cv6] Core AddOn for smoother Integrations of some features
We use essential cookies to make this site work, and optional cookies to enhance your experience.