plutten22 Posted April 8, 2014 Share Posted April 8, 2014 Hello I have purchased the html box pro module and i want to put a marquee text under the search box in my header. How do i do this? please look att attached picture. Thank you. Link to comment Share on other sites More sharing options...
ajnglagla Posted April 8, 2014 Share Posted April 8, 2014 You need to edit that module, and use a html marquee code. But this is very old way. No one is using marquee texts these days.. Link to comment Share on other sites More sharing options...
vekia Posted April 8, 2014 Share Posted April 8, 2014 Hello I have purchased the html box pro module and i want to put a marquee text under the search box in my header. How do i do this? please look att attached picture. Thank you. plutten22, share url to your website - i will provide exact solution for you. any wishes related to font-size and color? You need to edit that module, and use a html marquee code. But this is very old way. No one is using marquee texts these days.. edit module? it's not necessary to edit module! html box pro allows to use any code you want anywhere you want. Link to comment Share on other sites More sharing options...
plutten22 Posted April 8, 2014 Author Share Posted April 8, 2014 Hi Vekia. My website is www.cykelstaden.se font size 16 and color white Thank you Link to comment Share on other sites More sharing options...
vekia Posted April 8, 2014 Share Posted April 8, 2014 ok so open modules > modules and search for html box pro, click on configure button activate "displayTop" hook, and click on add box button. Turn on "simple" text editor, and paste there this code: <marquee scrolldelay="1" scrollamount="2" direction="left" behaviour="scroll"style="font-size:16px; color:#FFF; position: absolute; left:430px; top: 80px; width:295px"> This is my moving text </marquee> effect: Link to comment Share on other sites More sharing options...
plutten22 Posted April 8, 2014 Author Share Posted April 8, 2014 Hi Vekia Im not shure if i understand your explanation. In the htmlboxpro i only have a hook called "top" not "displayTop" and what do you mean with "turn on simple text editor" i can not find this. I attach picture I really appreciate you helping me with this. Thank you Link to comment Share on other sites More sharing options...
vekia Posted April 8, 2014 Share Posted April 8, 2014 hello by dispalyTop i mean Top - sorry for the confusion so add block to this section. by "code" i mean this button Link to comment Share on other sites More sharing options...
plutten22 Posted April 9, 2014 Author Share Posted April 9, 2014 Hi Vekia Ok, then it was as I thought. I have tried it but the code must be wrong. Half My website goes white when I use your code. Please look if there is something wrong with the code. Thank you See attached picture Link to comment Share on other sites More sharing options...
plutten22 Posted April 9, 2014 Author Share Posted April 9, 2014 bump Link to comment Share on other sites More sharing options...
vekia Posted April 9, 2014 Share Posted April 9, 2014 sorry i missed your reply make sure that you use correct code: <marquee scrolldelay="1" scrollamount="2" direction="left" behaviour="scroll"style="font-size:16px; color:#FFF; position: absolute; left:430px; top: 80px; width:295px"> This is my moving text </marquee> your actual code: Link to comment Share on other sites More sharing options...
plutten22 Posted April 10, 2014 Author Share Posted April 10, 2014 Hi Vekia I have done what you said and the post is aktive now but there is no text. I copied your text and pasted it into the module. See attached new picture Thank you Link to comment Share on other sites More sharing options...
plutten22 Posted April 10, 2014 Author Share Posted April 10, 2014 Hi Vekia. It is working now. Thank you. But it dos not show any thing on my start page. It shows on all the other pages. Is there anything we can do about this. Link to comment Share on other sites More sharing options...
plutten22 Posted April 11, 2014 Author Share Posted April 11, 2014 Hi Vekia. I got the marquee text to work but not on the first page. I would like to put som text on a category list page in the middle bottom of the page. Which hook should I activate for this. Thank you Link to comment Share on other sites More sharing options...
vekia Posted April 11, 2014 Share Posted April 11, 2014 it's because of minic slider, it hides some part of shop on homepage. go to modules > positions search for displayTop modules list and move html box pro module to the TOP of the list (it must be first on list) effect: Link to comment Share on other sites More sharing options...
plutten22 Posted April 11, 2014 Author Share Posted April 11, 2014 Ok thank you. Did you have a answer for my second question witch Hook i should activate. Link to comment Share on other sites More sharing options...
vekia Posted April 11, 2014 Share Posted April 11, 2014 can you please write your second question once again, im reading this thread and i cant find it :/ sorry but i probably missed something Link to comment Share on other sites More sharing options...
plutten22 Posted April 11, 2014 Author Share Posted April 11, 2014 Ok. Here I would like to put som text on a category list page in the "middle and bottom" of the page. Which hook should I activate for this. Link to comment Share on other sites More sharing options...
vekia Posted April 11, 2014 Share Posted April 11, 2014 thank you for quick response you mean, that you want to display contents here: + ? Link to comment Share on other sites More sharing options...
plutten22 Posted April 11, 2014 Author Share Posted April 11, 2014 yes Link to comment Share on other sites More sharing options...
vekia Posted April 11, 2014 Share Posted April 11, 2014 ok so it's a bit more complicated by default prestashop hasn't got hooks there, so we have to create own hooks and modify theme template file. so for example, we will use two custom hooks: - productListAbove - {Hook::exec('productListAbove')} - productListBelow - {Hook::exec('productListBelow')} i recorded video: then go to category.tpl file located in your theme directory change: {include file="./product-list.tpl" products=$products} to: {Hook::exec('productListAbove')} {include file="./product-list.tpl" products=$products} {Hook::exec('productListBelow')} Link to comment Share on other sites More sharing options...
plutten22 Posted April 13, 2014 Author Share Posted April 13, 2014 Hi Vekia It works perfect. Thank you for helping me. Link to comment Share on other sites More sharing options...
plutten22 Posted April 13, 2014 Author Share Posted April 13, 2014 Hi Vekia. I need help with one more thing. I want to put text on a manufacturer list page at the bottom. Where do i put the "manufacturer id" so the text only shows on one page. Thank you Link to comment Share on other sites More sharing options...
PascalVG Posted April 13, 2014 Share Posted April 13, 2014 Hi plutten, A tiny addition to Vekia's perfect explanation and code: the marquee tag has an option to tell how many loops you want it to scroll. This may be useful to not bother the customer all the time with the scrolling texts. (Normally you would use this only to get attention for a short while) example: <marquee loop="2"> supported by all major browsers (IE5.5 up) (BTW, standards org W3C doesn't encourage it's use: http://en.wikipedia.org/wiki/Marquee_element and it's non-standard HTML) My $.02, pascal. Link to comment Share on other sites More sharing options...
vekia Posted April 13, 2014 Share Posted April 13, 2014 Hi Vekia. I need help with one more thing. I want to put text on a manufacturer list page at the bottom. Where do i put the "manufacturer id" so the text only shows on one page. Thank you at the moment module hasn't got feature to display blocks only on selected "manufacturers" of course i can add this feature in nearest future (this week) Link to comment Share on other sites More sharing options...
plutten22 Posted April 14, 2014 Author Share Posted April 14, 2014 Hi Vekia Ok. if you can make this it would be very nice. I have already made the hook for manufakturer list page. I only need the tick box to put the id now. Thank you Link to comment Share on other sites More sharing options...
vekia Posted April 14, 2014 Share Posted April 14, 2014 so, due to the fact that you're waiting for new feature i decided to release update today it will be available for 2-3 hours i will let you know here Link to comment Share on other sites More sharing options...
plutten22 Posted April 14, 2014 Author Share Posted April 14, 2014 Ok. Thanks Link to comment Share on other sites More sharing options...
vekia Posted April 14, 2014 Share Posted April 14, 2014 Ok. Thanks new version is ready to download field to define manufacturer is available Link to comment Share on other sites More sharing options...
plutten22 Posted April 14, 2014 Author Share Posted April 14, 2014 Hi Vekia. I have now installed new version of htmlboxpro 2.5.84 The hooks i made dont work now. do i need to make new one.. Thanks Link to comment Share on other sites More sharing options...
vekia Posted April 14, 2014 Share Posted April 14, 2014 no you don't have, these hooks are visible on module configuration page? Link to comment Share on other sites More sharing options...
plutten22 Posted April 14, 2014 Author Share Posted April 14, 2014 Hi Vekia. I can see them but they are not working. Link to comment Share on other sites More sharing options...
plutten22 Posted April 14, 2014 Author Share Posted April 14, 2014 Hi Vekia I made new hooks and then it worked. How can i delite the old hooks. See attached picture. Link to comment Share on other sites More sharing options...
vekia Posted April 14, 2014 Share Posted April 14, 2014 they don't work even if you tick option to enable them? Link to comment Share on other sites More sharing options...
plutten22 Posted April 15, 2014 Author Share Posted April 15, 2014 Hi No. I have tickt option to enable them but they dit not show on my page so i made new ones and now they are working. How do i delite the old ones. Thank you. Link to comment Share on other sites More sharing options...
plutten22 Posted April 16, 2014 Author Share Posted April 16, 2014 bump Link to comment Share on other sites More sharing options...
vekia Posted April 16, 2014 Share Posted April 16, 2014 at the moment there is no feature to remove already defined hooks in this way. it's a bit more complicated, but of course, i will release new version with this feature. Link to comment Share on other sites More sharing options...
Recommended Posts