主页上能否创建两个新的主题按钮?

i want to have two Create a new Topic buttons on my community page.
is it possible ?

I want to have one button for creating a community post.
Other button to create a Idea.

Please confim.

HI @Srujan_Madderla, welcome to the Discourse Meta forum!

Discourse does not provide a way of doing this, but possibly the functionality could be added through a theme component or plugin. If you are new to Discourse, theme components allow you to add client side code to your site’s theme. Plugins can run server side code. It is generally easier to develop and install theme components than it is to install plugins.

I’m curious about the button to create an “Idea.” What is an Idea in your use case? Would it be a topic in a private category, a message sent to a group, or something else?

3 个赞

Need more context.

A theme-component as @simon has said would be needed.

Welcome Link Banner might work.

If community and idea are categories this url link can work

https://meta.discourse.org/new-topic?category=feature

swap “meta.discourse.org” with your domain name
swap “feature” with category slug name.

The above url will start a new topic in feature.

Start Topic in Feature

2 个赞

Hello :wave:

Actually there is an elegant solution which makes dropdown from the new topic button. Convert the New Topic button to a have a sub menu - #7 by awesomerobot

It looks like the theme component version of this is here available: GitHub - discourse/discourse-new-topic-dropdown: Turns the New Topic button into a dropdown with a custom option added

5 个赞

Thank you for the response.

2 个赞

Very nice find!

1 个赞