# Possibilità di modificare o aggiungere un Featured Link (URL) ai Topic dopo la pubblicazione

**URL:** <https://meta.discourse.org/t/ability-to-modify-or-add-a-featured-link-url-to-topics-after-posting/235944>\
**Category:** Feature\
**Tags:** featured-link\
**Created:** [11 Agosto 2022, 11:36pm UTC](https://meta.discourse.org/t/ability-to-modify-or-add-a-featured-link-url-to-topics-after-posting/235944 "2022-08-11T23:36:18Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [11 Agosto 2022, 11:36pm UTC](https://meta.discourse.org/t/ability-to-modify-or-add-a-featured-link-url-to-topics-after-posting/235944/1 "2022-08-11T23:36:19Z")

</div>

La funzionalità Link in primo piano, di lunga data ma poco conosciuta (dagli utenti normali), è molto utile. Sarebbe ancora più utile (e visibile) se ci fosse la possibilità di modificare o aggiungere un link.

### Funzionalità attuale

##### Quando si crea un nuovo argomento:

Quando incolli un [URL](https://en.wikipedia.org/wiki/URL) direttamente nel campo Titolo (come prima azione in quel campo), viene estratto il Titolo del sito e ottieni un simpatico piccolo link alla fine del titolo:

> ![image](https://global.discourse-cdn.com/meta/original/4X/3/b/b/3bb909d15bb781f414543bb96103b1f4f7743a1a.png)

Inoltre, il link viene copiato nel corpo del post in modo che (si spera) venga visualizzato come questo:

> **[URL](https://en.wikipedia.org/wiki/URL)**
>
> A uniform resource locator (URL), colloquially known as an address on the Web, is a reference to a resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifier (URI), although many people use the two terms interchangeably.\[a\] URLs occur most commonly to reference web pages (HTTP/HTTPS) but are also used for file transfer (FTP), email (mailto), database access (JDBC), and many other applications.
> Most web...

##### Eliminazione:

Una volta impostato il link, può essere rimosso da qualcuno con privilegi di modifica:

> ![Screenshot 2022-08-12 11.36.49](https://global.discourse-cdn.com/meta/original/4X/d/9/f/d9f2c3395a26f9c014408ce94b7b21b1fcc19c2c.png)

### Limitazioni

1. Non è possibile modificare o cambiare il link
2. Non è possibile aggiungere un link successivamente

Esiste una soluzione per entrambi questi problemi che comporta l’accesso alla Console Rails:

> [@Set or update a featured topic link via the rails console](https://meta.discourse.org/t/set-or-update-a-featured-topic-link/166923):
>
> You can set or update a featured link on a topic by using the rails console. From your server, enter the rails console from your Discourse folder: ./launcher enter app rails c You can then use the @nathank’s form to generate your command: Topic.where(id: =topic\_id=).update(featured\_link: "=featured\_link=") Copy-paste the generated command inside your rails console and press Enter. It will set or update the featured link accordingly. information_source Example of the raw syntax for …

## Richiesta di funzionalità

Potremmo per favore avere un modo nell’interfaccia utente per modificare questi link in primo piano e aggiungerli in seguito?

---

_[View the full topic](https://meta.discourse.org/t/ability-to-modify-or-add-a-featured-link-url-to-topics-after-posting/235944)._
