{"id":356,"date":"2015-01-16T13:02:44","date_gmt":"2015-01-16T13:02:44","guid":{"rendered":"https:\/\/aheaddata.com\/?p=356"},"modified":"2022-11-03T09:46:05","modified_gmt":"2022-11-03T09:46:05","slug":"llistat-de-categories-a-prestashop-1-6","status":"publish","type":"post","link":"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/","title":{"rendered":"Listado de categor\u00edas en Prestashop 1.6"},"content":{"rendered":"Esta semana hemos tenido la necesidad de crear una p\u00e1gina en\u00a0Prestashop (concretamente para\u00a0<strong>Prestashop 1.6<\/strong>) con un\u00a0<strong>listado de categor\u00edas<\/strong>, para <strong>mostrar todas las categor\u00edas<\/strong> de primer nivel.<\/p>\n<p>Parece\u00a0mentira, pero Prestashop no incluye por defecto una p\u00e1gina con listado de categor\u00edas, as\u00ed que hemos tenido que\u00a0programar un m\u00f3dulo expresamente. El m\u00f3dulo lo hemos programado a partir de dos m\u00f3dulos gratuitos que hemos encontrado\u00a0por internet:<\/p>\n<p><a href=\"https:\/\/nemops.com\/creating-new-pages-in-prestashop\">\u00abCreating new pages in Prestashop\u00bb creado por nemops<\/a><br \/>\n<a href=\"https:\/\/www.prestashop.com\/forums\/topic\/121735-free-module-homepage-categories-module\/\">\u00abHomepage Categories Module\u00bb creado por jhnstcks\u00a0<\/a><\/p>\n<p>Ahora, para devolverle\u00a0el favor a internet, vamos\u00a0a regalaros el m\u00f3dulo en forma de <strong>descarga gratuita<\/strong>:<\/p>\n<p><center><a href=\"https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories.zip\"><img style=\"display: inline;\" src=\"https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/download.png\" alt=\"\" \/>allcategories<\/a><\/center><\/p>\n<div style=\"text-align: center;\">\n<form style=\"line-height: 0px; margin-top: 20px;\" action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\" target=\"_top\"><input name=\"cmd\" type=\"hidden\" value=\"_donations\" \/><br \/>\n<input name=\"business\" type=\"hidden\" value=\"mail@aheaddata.com\" \/><br \/>\n<input name=\"lc\" type=\"hidden\" value=\"US\" \/><br \/>\n<input name=\"item_name\" type=\"hidden\" value=\"Ahead Data\" \/><br \/>\n<input name=\"no_note\" type=\"hidden\" value=\"0\" \/><br \/>\n<input name=\"currency_code\" type=\"hidden\" value=\"EUR\" \/><br \/>\n<input name=\"bn\" type=\"hidden\" value=\"PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest\" \/><br \/>\n<input style=\"margin-top: 0px;\" alt=\"PayPal, la forma m\u00e1s segura y r\u00e1pida de pagar en l\u00ednea.\" name=\"submit\" src=\"https:\/\/www.paypalobjects.com\/es_XC\/i\/btn\/btn_donate_LG.gif\" type=\"image\" \/><br \/>\n<img loading=\"lazy\" src=\"https:\/\/www.paypalobjects.com\/es_XC\/i\/scr\/pixel.gif\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" \/><\/form>\n<\/div>\n<blockquote><p>Ya lo he instalado, \u00bfc\u00f3mo puedo mostrar la lista de categor\u00edas?<\/p><\/blockquote>\n<p>Es\u00a0f\u00e1cil, el enlace ser\u00e1 as\u00ed:\u00a0https:\/\/example.com\/index.php?fc=module&#038;module=allcategories&#038;controller=allcategories<\/p>\n<blockquote><p>De acuerdo, \u00bfy c\u00f3mo puedo crear un enlace amigable?<\/p><\/blockquote>\n<p>Tambi\u00e9n es f\u00e1cil, vas a \u00abPreferencias\u00bb \/ \u00abSEO+URLs\u00bb y creas una entrada seleccionando el m\u00f3dulo y controlador \u00aballcategories\u00bb. En nuestro caso hemos creado la url \u00ab\/coleccion\u00bb, de forma que la lista de categor\u00edas se mostrar\u00e1 en la\u00a0URL https:\/\/example.com\/coleccion :<\/p>\n<p><a href=\"https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-358\" src=\"https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories.png\" alt=\"allcategories\" width=\"673\" height=\"485\" srcset=\"https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories.png 673w, https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories-600x432.png 600w, https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories-300x216.png 300w, https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories-100x72.png 100w, https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories-31x22.png 31w, https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories-38x27.png 38w, https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories-298x215.png 298w\" sizes=\"(max-width: 673px) 100vw, 673px\" \/><\/a><\/p>\n<p>Si alguien tiene problemas, dudas o se le ocurre alguna forma de mejorarlo,\u00a0que\u00a0deje un comentario :D","protected":false},"excerpt":{"rendered":"<p>Esta semana hemos tenido la necesidad de crear una p\u00e1gina en\u00a0Prestashop (concretamente para\u00a0Prestashop 1.6) con un\u00a0listado de categor\u00edas, para mostrar todas las categor\u00edas de primer nivel. Parece\u00a0mentira, pero Prestashop no incluye por defecto una p\u00e1gina con listado de categor\u00edas, as\u00ed &hellip; <a href=\"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/\">Continuar<\/a><\/p>\n","protected":false},"author":333999,"featured_media":358,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[28,67,34,6],"tags":[54,42,53,39,41,45,74,51,40,49,38,48,47,52,50,43,46,37,44,12,59,80,99,97,98,13],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Listado de categor\u00edas en Prestashop 1.6 - Ahead Data Inform\u00e1tica<\/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:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Listado de categor\u00edas en Prestashop 1.6 - Ahead Data Inform\u00e1tica\" \/>\n<meta property=\"og:description\" content=\"Esta semana hemos tenido la necesidad de crear una p\u00e1gina en\u00a0Prestashop (concretamente para\u00a0Prestashop 1.6) con un\u00a0listado de categor\u00edas, para mostrar todas las categor\u00edas de primer nivel. Parece\u00a0mentira, pero Prestashop no incluye por defecto una p\u00e1gina con listado de categor\u00edas, as\u00ed &hellip; Continuar\" \/>\n<meta property=\"og:url\" content=\"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/\" \/>\n<meta property=\"og:site_name\" content=\"Ahead Data Inform\u00e1tica\" \/>\n<meta property=\"article:published_time\" content=\"2015-01-16T13:02:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-03T09:46:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories.png\" \/>\n\t<meta property=\"og:image:width\" content=\"673\" \/>\n\t<meta property=\"og:image:height\" content=\"485\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"web@aheaddata.com\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"web@aheaddata.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/aheaddata.com\/es\/#website\",\"url\":\"https:\/\/aheaddata.com\/es\/\",\"name\":\"Ahead Data Inform\u00e1tica\",\"description\":\"Programaci\u00f3n, dise\u00f1o web y mantenimiento inform\u00e1tico\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/aheaddata.com\/es\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/\",\"url\":\"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/\",\"name\":\"Listado de categor\u00edas en Prestashop 1.6 - Ahead Data Inform\u00e1tica\",\"isPartOf\":{\"@id\":\"https:\/\/aheaddata.com\/es\/#website\"},\"datePublished\":\"2015-01-16T13:02:44+00:00\",\"dateModified\":\"2022-11-03T09:46:05+00:00\",\"author\":{\"@id\":\"https:\/\/aheaddata.com\/#\/schema\/person\/86e344da57003c643d2f1faaff7b54a0\"},\"breadcrumb\":{\"@id\":\"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[[\"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/\"]]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inici\",\"item\":\"https:\/\/aheaddata.com\/es\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Llistat de categories a Prestashop 1.6\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/aheaddata.com\/#\/schema\/person\/86e344da57003c643d2f1faaff7b54a0\",\"name\":\"web@aheaddata.com\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/aheaddata.com\/es\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6c685aadd1ebe248c8c9c5d003c88cf7?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6c685aadd1ebe248c8c9c5d003c88cf7?s=96&d=identicon&r=g\",\"caption\":\"web@aheaddata.com\"},\"url\":\"https:\/\/aheaddata.com\/es\/author\/webaheaddata-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Listado de categor\u00edas en Prestashop 1.6 - Ahead Data Inform\u00e1tica","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:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/","og_locale":"es_ES","og_type":"article","og_title":"Listado de categor\u00edas en Prestashop 1.6 - Ahead Data Inform\u00e1tica","og_description":"Esta semana hemos tenido la necesidad de crear una p\u00e1gina en\u00a0Prestashop (concretamente para\u00a0Prestashop 1.6) con un\u00a0listado de categor\u00edas, para mostrar todas las categor\u00edas de primer nivel. Parece\u00a0mentira, pero Prestashop no incluye por defecto una p\u00e1gina con listado de categor\u00edas, as\u00ed &hellip; Continuar","og_url":"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/","og_site_name":"Ahead Data Inform\u00e1tica","article_published_time":"2015-01-16T13:02:44+00:00","article_modified_time":"2022-11-03T09:46:05+00:00","og_image":[{"width":673,"height":485,"url":"https:\/\/aheaddata.com\/wp-content\/uploads\/2015\/01\/allcategories.png","type":"image\/png"}],"author":"web@aheaddata.com","twitter_card":"summary","twitter_misc":{"Escrito por":"web@aheaddata.com","Tiempo de lectura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/aheaddata.com\/es\/#website","url":"https:\/\/aheaddata.com\/es\/","name":"Ahead Data Inform\u00e1tica","description":"Programaci\u00f3n, dise\u00f1o web y mantenimiento inform\u00e1tico","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/aheaddata.com\/es\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"WebPage","@id":"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/","url":"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/","name":"Listado de categor\u00edas en Prestashop 1.6 - Ahead Data Inform\u00e1tica","isPartOf":{"@id":"https:\/\/aheaddata.com\/es\/#website"},"datePublished":"2015-01-16T13:02:44+00:00","dateModified":"2022-11-03T09:46:05+00:00","author":{"@id":"https:\/\/aheaddata.com\/#\/schema\/person\/86e344da57003c643d2f1faaff7b54a0"},"breadcrumb":{"@id":"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":[["https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/"]]}]},{"@type":"BreadcrumbList","@id":"https:\/\/aheaddata.com\/es\/2015\/01\/llistat-de-categories-a-prestashop-1-6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Inici","item":"https:\/\/aheaddata.com\/es\/"},{"@type":"ListItem","position":2,"name":"Llistat de categories a Prestashop 1.6"}]},{"@type":"Person","@id":"https:\/\/aheaddata.com\/#\/schema\/person\/86e344da57003c643d2f1faaff7b54a0","name":"web@aheaddata.com","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/aheaddata.com\/es\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6c685aadd1ebe248c8c9c5d003c88cf7?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6c685aadd1ebe248c8c9c5d003c88cf7?s=96&d=identicon&r=g","caption":"web@aheaddata.com"},"url":"https:\/\/aheaddata.com\/es\/author\/webaheaddata-com\/"}]}},"_links":{"self":[{"href":"https:\/\/aheaddata.com\/es\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"https:\/\/aheaddata.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aheaddata.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aheaddata.com\/es\/wp-json\/wp\/v2\/users\/333999"}],"replies":[{"embeddable":true,"href":"https:\/\/aheaddata.com\/es\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":8,"href":"https:\/\/aheaddata.com\/es\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":385,"href":"https:\/\/aheaddata.com\/es\/wp-json\/wp\/v2\/posts\/356\/revisions\/385"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aheaddata.com\/es\/wp-json\/wp\/v2\/media\/358"}],"wp:attachment":[{"href":"https:\/\/aheaddata.com\/es\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aheaddata.com\/es\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aheaddata.com\/es\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}