{"id":232,"date":"2014-06-26T18:25:17","date_gmt":"2014-06-26T23:25:17","guid":{"rendered":"http:\/\/www.sistemasnonex.com\/blog\/?p=232"},"modified":"2014-07-16T10:05:38","modified_gmt":"2014-07-16T15:05:38","slug":"tener-el-mismo-modulo-en-diferentes-lugares-hooks-en-prestashop","status":"publish","type":"post","link":"https:\/\/www.sistemasnonex.com\/blog\/tener-el-mismo-modulo-en-diferentes-lugares-hooks-en-prestashop\/","title":{"rendered":"Tener el mismo modulo en diferentes lugares (hooks) en prestashop."},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>Con prestashop podemos instalar varios y diferentes tipos de modulos, pero en la mayor\u00eda de los casos queremos que el mismo modulo aparezca en <strong>en diferentes lugares.<\/strong><\/p>\n<p>La manera dificil ser\u00eda <strong>duplicando el modulo<\/strong>, lo cual no es muy recomendable ya que puedes da\u00f1ar el c\u00f3digo o perder tus <strong>estilos CSS<\/strong>.<\/p>\n<p><strong>Al final del<\/strong> post podr\u00e1n ver esta manera en caso de que la necesiten, mientras para copiar los modulos basta con:<\/p>\n<p>&nbsp;<\/p>\n<p><!--more--><\/p>\n<p>Dirigirse a modulos\u00a0 y escoger el modulo a modificar.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.sistemasnonex.com\/blog\/tener-el-mismo-modulo-en-diferentes-lugares-hooks-en-prestashop\/copiar-modulo-1\/\" rel=\"attachment wp-att-236\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-236\" src=\"http:\/\/www.sistemasnonex.com\/blog\/..\/downloads\/2014\/06\/copiar-modulo-1.png\" alt=\"copiar-modulo-1\" width=\"900\" height=\"350\" srcset=\"https:\/\/www.sistemasnonex.com\/blog\/..\/downloads\/2014\/06\/copiar-modulo-1.png 900w, https:\/\/www.sistemasnonex.com\/blog\/..\/downloads\/2014\/06\/copiar-modulo-1-300x116.png 300w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Cuando nos aparezca el modulo que buscamos daremos clic en el link de \u00abConfigurar\u00bb, nos enviar\u00e1 a las opciones del modulo, en la parte de arriba nos aparece una opci\u00f3n que dice \u00abManage hooks\u00bb .<\/p>\n<p><a href=\"http:\/\/www.sistemasnonex.com\/blog\/tener-el-mismo-modulo-en-diferentes-lugares-hooks-en-prestashop\/copiar-modulo-2\/\" rel=\"attachment wp-att-238\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-238\" src=\"http:\/\/www.sistemasnonex.com\/blog\/..\/downloads\/2014\/06\/copiar-modulo-2.png\" alt=\"copiar-modulo-2\" width=\"594\" height=\"410\" srcset=\"https:\/\/www.sistemasnonex.com\/blog\/..\/downloads\/2014\/06\/copiar-modulo-2.png 594w, https:\/\/www.sistemasnonex.com\/blog\/..\/downloads\/2014\/06\/copiar-modulo-2-300x207.png 300w\" sizes=\"(max-width: 594px) 100vw, 594px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>En esta ventana de \u00abManage hooks\u00bb daremos clic en Trasladar un modulo. Lo cual al ponerlo en otro lugar autom\u00e1ticamente lo cambia, y en la pantalla anterior de posiciones podemos eliminarlos o cambiarlos.<\/p>\n<p>Para trasladar el modulo basta con indicar el nombre de modulo a trasladar y la otra posici\u00f3n, el modulo ser\u00e1 copiado y aparecer\u00e1 en 2 o mas lugares a la vez.<\/p>\n<p>&nbsp;<\/p>\n<p>En <a title=\"Seguridad Nonex\" href=\"http:\/\/www.seguridad-nonex.com\" target=\"_blank\">www.seguridad-nonex.com<\/a> podr\u00e1n ver que del lado derecho e izquierdo aparece el mismo modulo con el nombre \u00abPUB\u00bb<\/p>\n<p>&nbsp;<\/p>\n<p>Duplicar modulo modificando el c\u00f3digo:<\/p>\n<p><a href=\"http:\/\/3wsolucionesweb.es\/blog\/crear-modulo-en-prestashop\/\" target=\"_blank\">http:\/\/3wsolucionesweb.es\/blog\/crear-modulo-en-prestashop\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Revisa los dem\u00e1s posts en el <a title=\"Nonex Blog\" href=\"http:\/\/www.sistemasnonex.com\/blog\">blog de Nonex<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Con prestashop podemos instalar varios y diferentes tipos de modulos, pero en la mayor\u00eda de los casos queremos que el mismo modulo aparezca en en diferentes lugares. La manera dificil ser\u00eda duplicando el modulo, lo cual no es muy recomendable ya que puedes da\u00f1ar el c\u00f3digo o perder tus estilos CSS. Al final del&#8230; <\/p>\n<div class=\"read-more\"><a href=\"https:\/\/www.sistemasnonex.com\/blog\/tener-el-mismo-modulo-en-diferentes-lugares-hooks-en-prestashop\/\">Leer m\u00e1s<\/a><\/div>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[8,18],"tags":[],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9njjm-3K","post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/posts\/232"}],"collection":[{"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/comments?post=232"}],"version-history":[{"count":6,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":324,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/posts\/232\/revisions\/324"}],"wp:attachment":[{"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/media?parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/categories?post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sistemasnonex.com\/blog\/wp-json\/wp\/v2\/tags?post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->