Search the Community
Showing results for tags 'blockpermanentlinks'.
-
Prestashop 1.5.4.1 Hi Two questions, both related; 1. How can I show menu options in blockpermanentlinks-header.tpl in a different language? 2. How can I show menu options in blockcms.tpl in a different language? The reason I ask is because there is no backoffice method to add/edit/delete options from these menus. Thanks.
- 7 replies
-
- blockcms
- blockpermanentlinks
-
(and 2 more)
Tagged with:
-
blockpermanentlinks bookmark fails
mreisbeck posted a topic in Addons, modules and themes developers
Hi PShoppers. There are two issues with blockpermanentlink's bookmark (zu Favoriten) at hesper-verlag.de First miracle: why I can see the link "zu Favoriten" (located upper left in lower header very small font) in Firefox but not in Opera or Chrome? Second miracle: why the link does not work? Oh, my template "Venus" is a handmade workout from the standard template of PS V1.5 and the 1clickupdate to 1.6.08 went succsessful. We are on 1.6.09 now. The bookmark issue appears since 1.5. I made all checks in TPL and CSS and so on. This statement seems to be ok (since I've read other threads here in forum). Maybe some interested experienced surfer will come along my customer's prestashop (http://www.hesper-verlag.de) to have a look? When the mouse is pointing "zu Favoriten" you can see the browser's footer message: This statement doesn't work at all but anyway, you must have a great day. Best regards Martin-
- blockpermanentlinks
- bookmark
-
(and 2 more)
Tagged with:
-
Bonjour, je cherche a personnalisé le block blockpermanentlinks . J'ai commencé à modifier mais j'ai pas abouti à mon but ... /* block top links */ ul#header_links { list-style-type: none; float: right; background:#e6e6e6; padding:8px; -moz-border-radius-bottomleft: 30px; -webkit-border-radius-bottomleft: 30px; border-bottom-left-radius: 30px; width:500px; } #header_links li { float: left; padding: 0 8px; border-left:1px solid #333; line-height:11px; } #header_links li:first-child {border:none;margin-left:15px} #header_links a {text-decoration: none; font-weight:bold} #header_links a:hover {text-decoration:underline} /*block permanent links right and left columns*/ .permanent_links_block li {border-bottom: 1px dotted #eee} .permanent_links_block li a { display: block; padding: 7px 11px 5px 22px; color: #333; background:url(img/arrow_right_2.png) no-repeat 10px 10px; } .header_link_createanaccount a{ /* ce que j'ai modifier */ color:#FFFFFF; float:right; margin-right:10; padding:0px 10px ; -moz-border-radius-bottomright:30px; -webkit-border-radius-bottomright:30px; border-bottom-right-radius:30px; background:none repeat scroll 0 0 #fc610a; /* height:1px;*/ /* width:10px;*/ } /* block footer links */ ul#footer_links{ clear:both; text-align: center; padding-bottom:6px } ul#footer_links li{ display: inline; padding:0 10px }
-
Buenos días, Hemos añadido un enlace en el módulo blockpermanentlinks que es el único de los que hay que no lleva a una página que empieza por el dominio. Entonces he cambiado el: href="{$link->getPageLink('sitemap.php')}" por: href="blog.planetbarcode.com" Pero prestashop, no sé porque, crea el enlace a: www.planetbarcode.com/blog.planetbarcode.com el cual no existe. Puedo hacer que vaya directamente a blog.planetbarcode.com? Gracias.
- 9 replies
-
- blockpermanentlinks
- externo
-
(and 1 more)
Tagged with:
-
Hi there, I've been at this for a while now, but I can't seem to find a proper solution, however I reckon it should be rather simple for some of you guys. The wish: - Create a topmenu with links to outside Prestashop environment, - Have 2 or more languages - Each language has: it's own language links (EN/NL, information/informatie etc.), and also have different link destinations (EN menu goes to co.uk, NL menu goes to NL). Example of desired result: - NL Menu: Home (www.xxx.nl/index.html) Productinformatie (www.xxx.nl/product.html) Ervaringen (www.xxx.nl/revaringen.html) - EN Menu: Home (www.xxx.co.uk/index.html) Product details (www.xxx.co.uk/product-details.html) Reviews (www.xxx.co.uk/reviews.html) The attempts: - Editted "blocktopmenu" to my wishes. I was not able to create different menu's for different languages, so every visitor saw every link (including the wrong ones) - Editted "blockpermanentlinks" to my wishes. I was unable to find a way to create different destination URL's. I can translate the text, just not the URL's. I think there should be a rather quick solution, i'm just not that HTML/CSS/PHP skilled to get this one done. I hope you can give me a hand. Perhaps with the translation command in some way? But how... {l s='Test3' mod='blockpermanentlinks'} Many kudo's to anyone who can help me out! Cheers, D
- 1 reply
-
- blockpermanentlinks
- blocktopmenu
-
(and 2 more)
Tagged with:
-
Hi guys, I've been trying to work this out for HOURS now - and am having no luck I have tried using the override folder, but couldn't get it to work - so for now, im just editing the original files -- once it works, i'll try and move my mods to the override files) In themes\{my-theme}\header.tpl. I added this... {$HOOK_MYTEST} In classes\FrontController.php. I added the following line... self::$smarty->assign(array( 'HOOK_HEADER' => Module::hookExec('header'), 'HOOK_TOP' => Module::hookExec('top'), 'HOOK_MYTEST' => Module::hookExec('mytest'), /// MY NEW LINE!!! 'HOOK_LEFT_COLUMN' => Module::hookExec('leftColumn') )); In modules\blockpermanentlinks\blockpermanentlinks.php. I added $this->registerHook('mytest') into the install function... function install() { return (parent::install() AND $this->registerHook('top') AND $this->registerHook('mytest') AND $this->registerHook('header')); } I also added... function hookmytest($params) { echo 'hello hello hello hello'; return 'hello hello hello hello'; } Then, in my database, in the ps_hook table, i added a new row, with... name: mytest title: mytest desc: just a test position: 1 live_edit 0 I have turned on.. Back Office > Preferences > Performance > Force compile. And i have disabled Cache. I have tried so many guides on the net, and in this forum, but none seem to work. Please help! Thanks for reading.