Using Snippets for Critical Behavior

Modified on Fri, 10 Feb, 2023 at 12:07 PM

You can use ready-made snippets in your FreshThemes for some of the things that are critical to your support. For example, instead of tinkering with the layout of the new ticket form, you can simply include the corresponding snippet and have the behavior coming in.



Portal Wide Snippets


 

Placeholder

Return Type

What they mean

snippet new_ticket_form
html
Includes the new ticket form into the page
snippet new_topic_form
html
Includes the new topic form into the page
snippet signup_form
html
Includes the signup form into the page
snippet login_form
html
Includes the login form into the page
snippet forgot_password_form
html
Includes the forgot password form into the page
snippet search_form
html
Includes the search from into the page


Topic detail page snippets


Placeholder

Return Type

What they mean

snippet topic_reply
html
Includes the topic reply form into the page
snippet topic_vote
html
Includes the voting buttons into the page  

Here's the list of placeholders for other categories such as, General Portal InformationManaging User AccessForumsAccess to SolutionsAccessing Attachments, and Understanding Portal Layouts 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article