Enlaces de encabezado personalizados (iconos)

:discourse2: Resumen Enlaces de encabezado personalizados (iconos) te permitirá agregar fácilmente iconos con enlaces al encabezado de Discourse.
:eyeglasses: Vista previa Vista previa en el Creador de Temas de Discourse
:hammer_and_wrench: Enlace al repositorio https://github.com/discourse/discourse-icon-header-links
:open_book: ¿Nuevo en los temas de Discourse? Guía para principiantes sobre el uso de temas de Discourse

Instalar este componente de tema

Características

Capturas de pantalla

Escritorio

Móvil

Configuración

Este componente incluye una configuración de tema que te permite agregar tantos enlaces como desees, determinar sus iconos y decidir en qué dispositivos se mostrarán.

Nombre Descripción
enlaces del encabezado Lista de enlaces con las siguientes propiedades: título, icono, URL, vista y destino
agregar espacio en blanco Si está marcado, esto agregará algo de espacio en blanco entre los iconos predeterminados del encabezado de Discourse y los iconos personalizados agregados mediante este componente
Iconos SVG Incluir clases de iconos de FontAwesome 6 para cada icono utilizado en la lista.

Notas:

Si el icono que deseas usar no aparece, agrégalo a la configuración svg_icons en el componente. Si agregas nuevos iconos, deben tener los prefijos de FontAwesome 6 como fab, far y fas.

Créditos

Esto se basa en el excelente tutorial de @techAPJ aquí: (Superseded) Add new link on header beside search icon, y en el tema de encabezado de marca de @vinothkannans, que fue una gran referencia para la estructura de este componente.


:discourse2: ¿Alojado por nosotros? Los componentes de tema están disponibles para usar en nuestros planes Estándar, Empresarial y de Empresa.

93 Me gusta
How are theme setting fields created?
Discourse Mingle
Header Submenus
Can I add a icon and link back to my homesite at the top bar
Login Required activated - after successfull login it transfers you to nonexisting page
Introducing Font Awesome 5 and SVG icons
Add custom buttons at the top of the site
How to use my own SVG icons in Custom Header Links theme component?
Adding a custom Link/Icon to the discourse header
Show "new topic" when not logged in
Help changing Help Guide Permalink
Customize the header with links, icons, or menus
Updated Custom Header Icon: Post Data via URL
Nextcloud support
(deprecated) Plugin outlet locations theme component
User custom field toggle for sidebar (SFW Mode)
Custom Homepage for Groups
Disclaimer section on the "about" page
Generic URL for private messages?
Add button in header for logged in users
Use decorateWidget to add text link to header
Visiting /admin/upgrade may lead to a server error
How to add a directory of people/businesses to my theme?
How to make Navbar SVG icons white?
How to make Navbar SVG icons white?
Add a link to user profile in the navigation
Adding icons rather than text
Clickable Social Icon Links on Profile
Create hyperlink from home logo
Upcoming Header Changes - Preparing Themes and Plugins
Left side hamburger menu on mobile
Air Theme
How to Integrate a Custom Plugin in discourse UI
How to Disable ALL User-to-User DMs/Chat without breaking Other Features?
Custom Header Links
Disable personal message between members
How to add a link icon to the header
How to remove iconified header links from mobile?
Header icons color on mouse hovering issue
Link on Top header to Go to Home page of main site
Missing custom header link icon after update
Upcoming Header Changes - Preparing Themes and Plugins
How to add a "button" which composes a pre-filled topic
[PAID] Moving the Anonymous icon onto the header
Category for Threads with zero replies?
Plugin: add a menu icon (next to search)
Discourse Mingle
Introducing Font Awesome 5 and SVG icons
Introducing Font Awesome 5 and SVG icons
Adding a link into the mobile header
How to create a dynamic header link?
How can I add a button to the header?
Looking for a freelancer to implement a custom Discourse theme (based on an existing mockup)
Problem with beta6: Header Link Theme Component no longer working
Discourse messaging guide for new users
Insert Link to External Website
My 2nd Discourse forum, 2 years after the first one
Custom Buttons with own functions
Link to external site remains in forum context somehow
Is it possible to add an icon to create New Topic in the navbar?
Is it possible to add an icon to create New Topic in the navbar?
Custom Admin Toolbox
2021: The Year in Review
External Links Icon
How to use my own SVG icons in Custom Header Links theme component?
Customizing your site with existing theme components