How to change the text "Submit a request" on Help Center Form? | Community
Skip to main content

How to change the text "Submit a request" on Help Center Form?

  • January 31, 2020
  • 6 replies
  • 0 views

Hello Everyone,

 

Can some one please assist me with with the following.I'm trying to change the text in the help center form from submit a request to submit a query. I have got this to work on the header and at the top of the submit a request page. I can't get the bigger text of submit a request to update to submit a query.

 

I have added the code below that I'm using:

 

<div class="container-divider"></div>

<div class="container">
<nav class="sub-nav">
<ol class="breadcrumbs">
<li title="{{help_center.name}}">{{#link 'help_center'}}{{help_center.name}}{{/link}}</li>
<li title="Submit a Query">Submit a Query</li>
</ol>

{{search submit=false}}
</nav>

<h1>
{{t 'submit_a_request'}}  - I believe I change the text in this box but when I do it just goes blank
{{#if follow_up}}
<span class="follow-up-hint">
{{follow_up}}
</span><div>

{{/if}}
</h1>

<div class="form">
{{request_form}}
</div>
</div>

 

Screenshot below of what did update with the code and what did not update.

 

 

Can anyone please assist me with this and provide the full code required for this.

 

Thank you.

Anton

6 replies

Pulkit12
  • February 1, 2020

Hi Anton Van der meyden

I have updated the code you have provided above replace that in your HC 

<div class="container-divider"></div>

<div class="container">
<nav class="sub-nav">
<ol class="breadcrumbs">
<li title="{{help_center.name}}">{{#link 'help_center'}}{{help_center.name}}{{/link}}</li>
<li title="Submit a Query">Submit a Query</li>
</ol>

{{search submit=false}}
</nav>

<h1>
Submit a Query // I believe I change the text in this box but when I do it just goes blank
{{#if follow_up}}
<span class="follow-up-hint">
{{follow_up}}
</span><div>

{{/if}}
</h1>

<div class="form">
{{request_form}}
</div>
</div>

Let me know if it solves your issue

Thanks 

Pulkit

Team Diziana


  • Author
  • February 3, 2020

Hello Pulkit,

@Pulkit Pandey

 

That code worked.

Thank you very much for your help.

Have a good day.

 

Kind Regards,

Anton

 

 


Pulkit12
  • February 4, 2020

Hi Anton Van der meyden

Glad to hear that you got it working. Enjoy :)

Thanks 

Pulkit 


  • Author
  • February 4, 2020

Hello Pulkit,

@Pulkit Pandey

Thanks again for your help.

Can you please assist me with this. I have successfully added images to the category page on the Help Center. I'm trying to replicate this for the section page but it is not working. Is there something I'm missing?

 

Here is the code I'm using on the home_page.hbs.

 

<section class="section hero">
<div class="hero-inner">
{{search submit=false instant=true class='search search-full' placeholder='Search Help Center...'}}
</div>
</section>

<div class="container">
<section class="section knowledge-base">
<section class="categories blocks">
<ul class="blocks-list">
{{#each categories}}
{{#if ../has_multiple_categories}}
<li class="blocks-item">
<a href='{{url}}' class="blocks-item-link">

<!--Images for categories Home Page -->
{{#is id 360003061053}}<img class="" src="{{asset 'GettingStarted.png'}}" />{{/is}}
{{#is id 360003061073}}<img class="" src="{{asset 'FAQ.png'}}" />{{/is}}
{{#is id 360003050114}}<img class="" src="{{asset 'Marketplace.png'}}" />{{/is}}
<!--End images for categories -->

<h4 class="blocks-item-title">{{name}}</h4>
<p class="blocks-item-description">{{excerpt description}}</p>
</a>
</li>
{{else}}
{{#each sections}}
<li class="blocks-item">
<a href='{{url}}' class="blocks-item-link">

<!--Images for categories Section Page -->
{{#is id 360007136134}}<img class="" src="{{asset 'AccountLogo.png'}}" />{{/is}}  - Added this code to add image to the section page
<!--End images for Sections -->

<h4 class="blocks-item-title">
{{name}}

</h4>
<p class="blocks-item-description">{{excerpt description}}</p>
</a>
</li>
{{/each}}
{{/if}}
{{/each}}
</ul>
{{pagination}}
</section>

{{#if promoted_articles}}
<section class="articles">
<h3>{{t 'promoted_articles'}}</h3>
<ul class="article-list promoted-articles">
{{#each promoted_articles}}
<li class="promoted-articles-item">
<a href="{{url}}">
{{title}}

{{#if internal}}
<span class="icon-lock" title="{{t 'internal'}}"></span>
{{/if}}
</a>
</li>
{{/each}}
</ul>
</section>
{{/if}}
</section>

{{#if help_center.community_enabled}}
<section class="section community">
<h2>{{t 'community'}}</h2>
{{#link 'community' class='community-link'}}
{{t 'join_conversation'}}
{{/link}}

<div class="community-image"></div>
</section>
{{/if}}

<section class="section activity">
{{#if settings.show_recent_activity}}
{{recent_activity}}
{{/if}}
</section>
</div>


  • Author
  • February 4, 2020

Hello Pulkit,

 

@Pulkit Pandey

I have got this to work.

Thanks anyway

Kind Regards,

Anton.

 


Pulkit12
  • February 4, 2020

Hi Anton Van der meyden

Glad to hear that you got it working. Enjoy :)

Thanks 

Pulkit