Forum Discussion
AdamN
Khoros Oracle
You can use the http.request context object to get the parameters used on the request:
For example:
${http.request.parameters.name.get("page", 1)}
One other thing you might want to look into is that there's a REST API method for reporting abuse. It's the "moderation/abuse/report" method in the Message class:
/restapi/vc/messages/id/1271/moderation/abuse/report
I hope this helps!
ChiaraS
12 years agoLithium Alumni (Retired)
Hi,
please note that you can also reuse the default component for that (see comment on this idea: http://lithosphere.lithium.com/t5/customer-ideas/Add-Report-Inappropriate-Content-Button-to-Mobile/idi-p/30961).
The way we did it for another customer was:
- create a custom component "report-abuse-mobile":
<#if page.name == "MobileForumTopicPage" || page.name == "MobileBlogArticlePage" || page.name == "MobileIdeaPage"> <@component id="forums.action.report-abuse"/> </#if>
- add the custom component to the footer of the following quilts: SimpleBlogMessage, SimpleForumMessage, SimpleIdeaMessage
You may need to adjust the instructions based on the interaction styles you need to support, and the mobile skin css for the button style...
Related Content
- 5 years ago
- 3 years ago
- 19 days ago
- 19 days ago