templates/refonte/help.html.twig line 1

Open in your IDE?
  1. {% extends 'refonte/base.html.twig' %}
  2. {% block title %} Help Center - {% endblock %}
  3.   {% block content %}
  4.     {% include 'refonte/pages/parts/search-form.html.twig' %}
  5.     {% set faqs = [
  6.       {
  7.         question:'Why using ReasearchGuide.net?',
  8.         answer:"ResearchGuide is a platform dedicated to scientific researches unifying various data sources in one location using Machine learning techniques. It's intended to make it easier for researchers to access current and updated journals. It features a search engine that enables users to locate journals by keyword, topic, or author as well as a list of journals that are indexed by the platform."
  9.       },
  10.       {
  11.         question:'How can I close the pop up Ad Blocker Detected',
  12.         answer:"Please follow the steps in the pop up to unblock the page then refresh the page. <br>You can also disable the ad blocker extension from your browser settings or simply close the popup via close icon in the top right."
  13.       },
  14.       {
  15.         question:"How to use advanced search",
  16.         answer:'With the help of Advanced Search, you may narrow down your search and find journals by publisher or by subject area. Moreover, you can sort all journals by access type, or list journals in specific quartile.'
  17.       },
  18.       {
  19.         question:"What's next after creating an account?",
  20.         answer:"The exciting things you can do after having an account include following authors to remain current, add your own publications, books, chapters, conferences, and viewing your saved articles. <br><u>Information:</u> The first thing you'll see is a list of authors from which you can select one. If you already have publications under your name in journals, simply find your name and click Save to import them all."
  21.       },
  22.       {
  23.         question:'How to contribute in a journal?',
  24.         answer:'After locating the desired journal, you might want to update some of the data. To modify any of the material, simply select the journal and click on TO CONTRIBUTE, then all the information will be editable. After modifying, just click SEND CONTRIBUTION. <br><b>Your revisions will be handled by the administrators after they get your edits</b>.'
  25.       },
  26.       {
  27.         question: 'Are the resources available on ResearchGuide.net free?',
  28.         answer: 'Indeed, all resources available on ResearchGuide.net are free. We believe access to information should be open and accessible to all.'
  29.       },
  30.       {
  31.         question: 'Does ResearchGuide.net offer personalized research services?',
  32.         answer: 'Absolutely, ResearchGuide.net offers customized research services. To make sure users perform efficient searches and get the most effective results, we do provide hints and methods.'
  33.       },
  34.       {
  35.         question: 'How can I contact the ResearchGuide.net team?',
  36.         answer: 'You can use <a href=/contact-us>the contact form</a> on our website to get in touch with us. We will do our best to respond to all of your inquiries as soon as possible.'
  37.       }
  38.     ]
  39.     %}
  40.     {% block profile_content %}
  41.       <section class="faq-section support-section" style="background: url({{ asset('assets/images/refonte/author-bg.png') }}) no-repeat;">
  42.         <div class="container">
  43.           <p class="faq-page-title support-title">Help & Support</p>
  44.         </div>
  45.         <div class="wrapper center-block faq-container">
  46.           <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
  47.             {% for index,faq in faqs %}
  48.               <div class="panel panel-default mb-2">
  49.                 <div class="panel-heading  faq-item" role="tab" id="heading{{index}}">
  50.                   <h4 class="panel-title mb-0 text-uppercase">
  51.                     <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse{{index}}" aria-expanded="true" aria-controls="collapse{{index}}">{{faq.question}}</a>
  52.                   </h4>
  53.                 </div>
  54.                 <div id="collapse{{index}}" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="heading{{index}}">
  55.                   <div class="panel-body faq-content-default">{{faq.answer|raw}}</div>
  56.                 </div>
  57.               </div>
  58.             {% endfor %}
  59.           </div>
  60.         </div>
  61.       </section>
  62.       <script>
  63.         $('.panel-collapse').on('show.bs.collapse', function () {
  64.           $(this).siblings('.panel-heading').addClass('active');
  65.         });
  66.         $('.panel-collapse').on('hide.bs.collapse', function () {
  67.           $(this).siblings('.panel-heading').removeClass('active');
  68.         });
  69.       </script>
  70.     {% endblock %}
  71. <script>
  72.   document.addEventListener('DOMContentLoaded', function () {
  73.     const links = document.querySelectorAll('.panel-title a');
  74.     links.forEach(link => {
  75.       link.addEventListener('click', function (event) {
  76.         event.preventDefault(); // EmpĂȘche le comportement par dĂ©faut
  77.       });
  78.     });
  79.   });
  80. </script>
  81.   {% endblock %}