custom-pages icon indicating copy to clipboard operation
custom-pages copied to clipboard

Add optional comment section

Open BaconTriple opened this issue 2 years ago • 6 comments

Is your feature request related to a problem? Please describe.

No, but considering that HumHub is a social site template you could argue the answer is yes.

Describe the solution you'd like

If I create an additional page, lets say through custom pages but it could apply to any method really, is there currently a way to add a comments area for that page. I may be missing something but it seems like this is key functionality and so i feel like i might be overlooking something. An example would be that I post a webcomic at www.website.com/p/webcomic and I want there to be a specific comments section there, or perhaps i have a blog page and i want comments to be allowed. Is this planned functionality or functionality I am overlooking?

Describe alternatives you've considered

I cant think of anything I could try

BaconTriple avatar Jun 05 '22 18:06 BaconTriple

You should be able to do this with the PHP option in the custom pages module.

ArchBlood avatar Jun 05 '22 21:06 ArchBlood

I understand it should be possible via the php option but it would make sense to have it as something you can put into a container so you can build out your custom pages and have comment sections defined through the custom pages template setup rather than have to write a php page and link it to that

BaconTriple avatar Jun 29 '22 21:06 BaconTriple

Not sure it's currently possible via PHP Custom Pages.

The best way would be to add an regular checkbox to enable this section.

luke- avatar Jun 30 '22 09:06 luke-

@luke- could you clarify what you mean exactly? It's unclear how comments sections are generated in humhub but I assume the method that spaces use for instance could be employed within custom pages?

Ideally it would be a case of generating a comments section for a page and placing it within a container somewhere within the custom page.

Alternatively adding a custom stream to a page?

BaconTriple avatar Jul 28 '22 22:07 BaconTriple

@BaconTriple If the option is enabled on the particular Custom Page, I would automatically display the comments below the rendered page. Similar to a wiki page.

Should the custom page appear in the stream, the comments would of course also be displayed there.

luke- avatar Jul 29 '22 07:07 luke-

Hey @luke- that would be a really good feature and add a lot of value to customer pages if it were implemented

BaconTriple avatar Jul 29 '22 08:07 BaconTriple