How to add a DC on the search placeholder??

3 댓글

  • Ifra Saqlain
    Community Moderator

    Hi Ronit,

    Follow This article :



  • Ronit


    I have already gone through this article before, unfortunately, I don't wanna do like this is there any other way to achieve this


  • Ifra Saqlain
    Community Moderator

    Okay, so try this type to add DC in searchbar:

    Copy this and paste at your document_head.hbs template but first you will need to expose setting in manifest and then map the identifier of that setting in search placeholder like given code.

    <script src=""></script>

    $( ".search-full #query" ).attr('placeholder',"{{dc settings.search_placeholder}}");

    search_placeholder  this is the identifier of exposed searchbar placeholder setting in manifest


    After exposing the search-placeholder setting, keep dc in textbox in setting panel as in screenshot:


    When you create DC you can keep English as default language. You should try this, hopefully it will resolve your query.



댓글을 남기려면 로그인하세요.

Zendesk 제공