I haven’t found any way to modify the featured link for a topic
How can I achieve that?
I haven’t found any way to modify the featured link for a topic
How can I achieve that?
The only way I can see to modify the featured link is to edit it through the rails console.
You can only delete it, not modify it at this time.
Can you give me a hint for the command?
Find the topic_id that you want to change the featured link for - it’s the first number in the URL in your browser’s address bar. SSH into your server and enter the rails console. Then run:
t = Topic.find(your_topic_id)
t.featured_link = 'http://example.com/new/featured/link'
t.save
Any way to do this via the HTTP API?
I was hoping Discourse API Docs would let me do it, but it doesn’t seem to
This topic was automatically closed after 2375 days. New replies are no longer allowed.