{"id":329395,"date":"2022-04-14T13:07:12","date_gmt":"2022-04-14T13:07:12","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=329395"},"modified":"2022-04-14T13:07:18","modified_gmt":"2022-04-14T13:07:18","slug":"adding-page-wise-module-documentation-in-prestashop-1-7","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/","title":{"rendered":"Adding page-wise module documentation in PrestaShop 1.7"},"content":{"rendered":"\n<p>In this blog, we are going to learn how to add back-office page documentation in modules like Prestashop native page documentation.<\/p>\n\n\n\n<p>In Prestashop native pages, there is a Help block on the header which shows page-related documentation. For this purpose, Prestashop uses its own server <a href=\"http:\/\/help.prestashop.com\" target=\"_blank\" rel=\"noreferrer noopener\">help.prestashop.com<\/a>, but we cannot get our page&#8217;s documentation from this server so we&#8217;ll use our own server to get documentation response.<\/p>\n\n\n\n<p>Suppose, we have the server <a href=\"http:\/\/store.webkul.com\">https:\/\/store.webkul.com<\/a> which will return documentation response as per the requested page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1- Server side code to handle the request<\/h2>\n\n\n\n<p>We are handling requests from another server <a href=\"https:\/\/store.webkul.com\"><a href=\"http:\/\/store.webkul.com\">https:\/\/store.webkul.com<\/a><\/a>. This server also has Prestashop and a module named <strong>wkdocdataprovider<\/strong> to handle requests. You can create this module with another name.<\/p>\n\n\n\n<p>Let&#8217;s write a script to handle the request :<\/p>\n\n\n\n<p>Create a javascript file named mod_help.js like the below code<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">$(() =&gt; {\n    $(&#039;.btn-help&#039;).addClass(&#039;wk-btn-help&#039;);\n    $(&#039;.wk-btn-help&#039;).removeClass(&#039;btn-help&#039;)\n    let storage = false;\n    if (typeof (getStorageAvailable) !== &#039;undefined&#039;) {\n        storage = getStorageAvailable();\n    }\n    window.initHelp = function () {\n        $(&#039;#main&#039;).addClass(&#039;helpOpen&#039;);\n        if ($(&#039;#help-container&#039;).length === 0) {\n            $(&#039;#main&#039;).after(&#039;&lt;div id=&quot;help-container&quot;&gt;&lt;\/div&gt;&#039;);\n        }\n        pushContent(help_class_name);\n    };\n    $(&#039;.toolbarBox a.wk-btn-help&#039;).on(&#039;click&#039;, (e) =&gt; {\n        e.preventDefault();\n        if (!$(&#039;#main&#039;).hasClass(&#039;helpOpen&#039;) &amp;&amp; document.body.clientWidth &gt; 1200) {\n            if (storage) storage.setItem(&#039;helpOpen&#039;, true);\n            window.initHelp();\n        } else {\n            $(&#039;#main&#039;).removeClass(&#039;helpOpen&#039;);\n            $(&#039;#help-container&#039;).html(&#039;&#039;);\n            if (storage) storage.setItem(&#039;helpOpen&#039;, false);\n        }\n    });\n    if (storage &amp;&amp; storage.getItem(&#039;helpOpen&#039;) === &#039;true&#039;) {\n        $(&#039;a.wk-btn-help&#039;).trigger(&#039;click&#039;);\n    }\n    function getHelpDoc(pageController) {\n        $.ajax({\n            url: &#039;https:\/\/store.webkul.com\/module\/wkdocdataprovider\/apidoc&#039;,\n            type: &quot;post&quot;,\n            async: true,\n            dataType: &quot;json&quot;,\n            data: {\n                ajax: true,\n                page: `${pageController}`,\n                mod_name: wk_mod_name\n            },\n\n            success(data) {\n                if (window.isCleanHtml(data)) {\n                    $(&#039;#help-container&#039;).html(data.page_content);\n                }\n            },\n        });\n    }\n    function pushContent(target) {\n        $(&#039;#help-container&#039;).removeClass(&#039;openHelpNav&#039;);\n        $(&#039;#help-container&#039;).html(&#039;&#039;);\n        getHelpDoc(target);\n    }\n});<\/pre>\n\n\n\n<p>Create a front controller apidoc.php like the below code<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">class WkDocDataProviderApiDocModuleFrontController extends ModuleFrontController\n{\n    public function init()\n    {\n        header(&#039;Access-Control-Allow-Origin: *&#039;);\n        parent::init();\n        $this-&gt;display_header = false;\n        $this-&gt;display_footer = false;\n    }\n\n    public function initContent()\n    {\n        $page = Tools::getValue(&#039;page&#039;);\n        $moduleName = Tools::getValue(&#039;mod_name&#039;);\n        if ($moduleName == &#039;wkrma&#039;) {\n            switch ($page) {\n                case &quot;AdminRmaDefaultSetting&quot;:\n                    $pageData = &#039;&lt;div class=&quot;page-wrap&quot;&gt;\n                            &lt;header class=&quot;main-header bar bar-nav&quot;&gt;&lt;\/header&gt;\n                            &lt;div class=&quot;content&quot;&gt;\n                                &lt;section class=&quot;article&quot;&gt;\n                                    &lt;h1 id=&quot;help_userguide-AdminRmaDefaultSetting&quot;&gt;RMA Module User Guide&lt;\/h1&gt;\n                                    &lt;p&gt;Lorem ipsum, or lipsum as it is sometimes known, is dummy text used in laying out print, graphic or web designs. The passage is attributed to an unknown&lt;\/p&gt;\n                                &lt;\/section&gt;\n                            &lt;\/div&gt;\n                        &lt;\/div&gt;&#039;;\n                    break;\n                case &quot;AdminRmaStatus&quot;:\n                    $pageData = &#039;&lt;div class=&quot;page-wrap&quot;&gt;\n                        &lt;header class=&quot;main-header bar bar-nav&quot;&gt;&lt;\/header&gt;\n                        &lt;div class=&quot;content&quot;&gt;\n                            &lt;section class=&quot;article&quot;&gt;\n                                &lt;h1 id=&quot;help_userguide-AdminRmaDefaultSetting&quot;&gt;RMA Module User Guide&lt;\/h1&gt;\n                                &lt;p&gt;Lorem ipsum, or lipsum as it is sometimes known, is dummy text used in laying out print, graphic or web designs. The passage is attributed to an unknown&lt;\/p&gt;\n                            &lt;\/section&gt;\n                        &lt;\/div&gt;\n                    &lt;\/div&gt;&#039;;\n                    break;\n                default:\n                    $pageData = &#039;&lt;a href=&quot;https:\/\/webkul.com\/blog\/prestashop-rma\/&quot;&gt;&#039;;\n                }\n            die(Tools::jsonEncode(array(&#039;page_content&#039; =&gt; $pageData)));\n        }\n    }\n}<\/pre>\n\n\n\n<p>The above two files will handle requests. You can also use API for data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2- Add documentation block in module: <\/h2>\n\n\n\n<p>In the first point, we have shown you the script of another server, which will handle requests and return responses.<\/p>\n\n\n\n<p>Suppose, we have a module RMA and we want to show documentation help block on <strong>AdminRmaDefaultSettingController<\/strong> page. The controller name may be different in your case, it&#8217;s just an example.<\/p>\n\n\n\n<p>Add the below code in <strong>AdminRmaDefaultSettingController<\/strong>.php. The initPageHeaderToolbar function will add documentation if javascript is disabled.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\"> public function initPageHeaderToolbar()\n {\n    parent::initPageHeaderToolbar();\n    $this-&gt;context-&gt;smarty-&gt;assign(&#039;help_link&#039;, &#039;https:\/\/store.webkul.com\/en\/module\/wkdocdataprovider\/apidoc?page=&#039;.Tools::getValue(&#039;controller&#039;) . &#039;&amp;mod_name=&#039; . $this-&gt;module-&gt;name);\n }<\/pre>\n\n\n\n<p>Add assets files in setMedia() function that is created on another server (shown to you in the first step)<\/p>\n\n\n\n<p> <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">public function setMedia($isNewTheme = false)\n{\n   parent::setMedia($isNewTheme);\n   Media::addJsDef(array(&#039;wk_mod_name&#039; =&gt; $this-&gt;module-&gt;name));\n        $this-&gt;addJS(&#039;https:\/\/store.webkul.com\/modules\/wkdocdataprovider\/views\/js\/mod_help.js&#039;);\n        $this-&gt;addCSS(&#039;https:\/\/help.prestashop.com\/css\/help.css&#039;);\n}<\/pre>\n\n\n\n<p>Unset Prestashop help.js script to avoid multiple responses.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">   public function addJS($js_uri, $check_path = true)\n   {\n       if ($js_uri == __PS_BASE_URI__ . $this-&gt;admin_webpath . &#039;\/themes\/&#039; . $this-&gt;bo_theme . &#039;\/js\/help.js&#039;) {\n            return true;\n        }\n        parent::addJS($js_uri, $check_path);\n  }<\/pre>\n\n\n\n<p>Now, when we click on the help block, it will show module documentation related to the page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1084\" height=\"628\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png\" alt=\"documentation\" class=\"wp-image-329460\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png 1084w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation-300x174.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation-250x145.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation-768x445.png 768w\" sizes=\"(max-width: 1084px) 100vw, 1084px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>That\u2019s all about this blog.<\/p>\n\n\n\n<p>If any issue or doubt please feel free to mention it in the comment section.<\/p>\n\n\n\n<p>We would be happy to help.<\/p>\n\n\n\n<p>Also, you can explore our&nbsp;<a href=\"https:\/\/webkul.com\/prestashop-development\/\">PrestaShop Development Services<\/a>&nbsp;&amp; a large range of quality&nbsp;<a href=\"https:\/\/store.webkul.com\/PrestaShop-Extensions.html\">PrestaShop Modules<\/a>.<\/p>\n\n\n\n<p>For any doubt contact us at&nbsp;<a href=\"mailto:support@webkul.com\">support@webkul.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we are going to learn how to add back-office page documentation in modules like Prestashop native page documentation. In Prestashop native pages, there is a Help block on the header which shows page-related documentation. For this purpose, Prestashop uses its own server help.prestashop.com, but we cannot get our page&#8217;s documentation from this <a href=\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":388,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209,1],"tags":[12610,12611,2065],"class_list":["post-329395","post","type-post","status-publish","format-standard","hentry","category-prestashop","category-uncategorized","tag-add-documentation-in-prestashop","tag-page-wise-documentation","tag-prestashop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Adding page-wise module documentation in PrestaShop 1.7 - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding page-wise module documentation in PrestaShop 1.7 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, we are going to learn how to add back-office page documentation in modules like Prestashop native page documentation. In Prestashop native pages, there is a Help block on the header which shows page-related documentation. For this purpose, Prestashop uses its own server help.prestashop.com, but we cannot get our page&#8217;s documentation from this [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-14T13:07:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-14T13:07:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png\" \/>\n<meta name=\"author\" content=\"Amit Kumar Tiwari\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Amit Kumar Tiwari\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/\"},\"author\":{\"name\":\"Amit Kumar Tiwari\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/d9ce9e306c32df23a286ed9b5eb81257\"},\"headline\":\"Adding page-wise module documentation in PrestaShop 1.7\",\"datePublished\":\"2022-04-14T13:07:12+00:00\",\"dateModified\":\"2022-04-14T13:07:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/\"},\"wordCount\":351,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png\",\"keywords\":[\"Add documentation in PrestaShop\",\"Page wise documentation\",\"prestashop\"],\"articleSection\":[\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/\",\"url\":\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/\",\"name\":\"Adding page-wise module documentation in PrestaShop 1.7 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png\",\"datePublished\":\"2022-04-14T13:07:12+00:00\",\"dateModified\":\"2022-04-14T13:07:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png\",\"width\":1084,\"height\":628,\"caption\":\"documentation\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Adding page-wise module documentation in PrestaShop 1.7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/d9ce9e306c32df23a286ed9b5eb81257\",\"name\":\"Amit Kumar Tiwari\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0bfab402e3d85cb3f1ed4fbac60ad1c4532edd47917a00da0f77d94c75b54f7d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0bfab402e3d85cb3f1ed4fbac60ad1c4532edd47917a00da0f77d94c75b54f7d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Amit Kumar Tiwari\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/amitkr-tiwari139\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Adding page-wise module documentation in PrestaShop 1.7 - Webkul Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/","og_locale":"en_US","og_type":"article","og_title":"Adding page-wise module documentation in PrestaShop 1.7 - Webkul Blog","og_description":"In this blog, we are going to learn how to add back-office page documentation in modules like Prestashop native page documentation. In Prestashop native pages, there is a Help block on the header which shows page-related documentation. For this purpose, Prestashop uses its own server help.prestashop.com, but we cannot get our page&#8217;s documentation from this [...]","og_url":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2022-04-14T13:07:12+00:00","article_modified_time":"2022-04-14T13:07:18+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png","type":"","width":"","height":""}],"author":"Amit Kumar Tiwari","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Amit Kumar Tiwari","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/"},"author":{"name":"Amit Kumar Tiwari","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/d9ce9e306c32df23a286ed9b5eb81257"},"headline":"Adding page-wise module documentation in PrestaShop 1.7","datePublished":"2022-04-14T13:07:12+00:00","dateModified":"2022-04-14T13:07:18+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/"},"wordCount":351,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png","keywords":["Add documentation in PrestaShop","Page wise documentation","prestashop"],"articleSection":["prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/","url":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/","name":"Adding page-wise module documentation in PrestaShop 1.7 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png","datePublished":"2022-04-14T13:07:12+00:00","dateModified":"2022-04-14T13:07:18+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/documentation.png","width":1084,"height":628,"caption":"documentation"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/adding-page-wise-module-documentation-in-prestashop-1-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Adding page-wise module documentation in PrestaShop 1.7"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/d9ce9e306c32df23a286ed9b5eb81257","name":"Amit Kumar Tiwari","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0bfab402e3d85cb3f1ed4fbac60ad1c4532edd47917a00da0f77d94c75b54f7d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0bfab402e3d85cb3f1ed4fbac60ad1c4532edd47917a00da0f77d94c75b54f7d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Amit Kumar Tiwari"},"url":"https:\/\/webkul.com\/blog\/author\/amitkr-tiwari139\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/329395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/388"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=329395"}],"version-history":[{"count":7,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/329395\/revisions"}],"predecessor-version":[{"id":329582,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/329395\/revisions\/329582"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=329395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=329395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=329395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}