Jump to content

johanndc

Members
  • Posts

    18
  • Joined

  • Last visited

Profile Information

  • Location
    FRANCE
  • Activity
    Freelancer

johanndc's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello guys, I have a simple question for you: How to display size attributes like on that page? Not as radio button or drop-down list but as simple squares with size at the center. Thanks in advance!
  2. Hi guys, I have to display different icons on different pages of my website and I had no problem to do that until today. Here is the problematic code : <img {if $page_name eq 'module-ph_simpleblog-list' or $page_name eq 'module-ph_simpleblog-single'}src="/img/icone-panier-light.png"{elseif $cms->id eq '7' or $cms->id eq '8' or $cms->id eq '9' or $cms->id eq '10' or $cms->id eq '11' or $cms->id eq '13' or $cms->id eq '14' or $cms->id eq '15' or $cms->id eq '16' or $cms->id eq '17' or $cms->id eq '18' or $cms->id eq '19'}src="/img/icone-panier-black.png"{else}src="/img/icone-panier.png" width="31" height="20" alt=""/>{/if} When I go to my frontoffice, all the CMS pages I indicated are displaying the icone-panier.png in place of icone-panier-black.png that I wanted to show. Did I make a mistake somewhere? However I used that kind of condition in the header and it worked. Please. Thanks!
  3. Hi guys, Here is my issue : I want to change only the color of the submenu titles but it always affects the main menu title because it looks like submenu has no class or ID assigned to its UL. I tried to look for a solution into superfish-modified.js or blocktopmenu.php but found nothing. My english is pretty poor so I think one picture is worth a thousand words... please check the attachment below. Thanks!
  4. Hi, the plugin is DZS jQuery Mini Events Calendar and I'm using the first skin you can see on that demo page. I added it into a CMS page by dropping the JS file into /themes/mytheme/js/dzscalendar.js The part of code who contains the names of days and months looks like this : ;var b=0,m=0,P,Q,k=[],v,x,T,S="auto",G="January February March April May June July August September October November December".split(" "),w="SUNDAY MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY".split(" ");
  5. I have to UP that topic because my issue is urgent. Thanks
  6. Hello, I just installed a nice Jquery calendar plugin but now I need to translate in french a few words of it. The plugin doesn't have any TPL file so I tried to include some smarty translation code into the JS but it doesn't work at all. I wonder how to translate it... maybe with a condition ? Waiting for your help... Thanks
  7. Thanks Vekia, I almost done. The input field is now appearing but I have 2 issues : - Your solution is working only when I hook the original Prestashop Newsletter Block into my footer. When I unhook the module from the footer, the mail adress isn't registered into the newsletter list. What can I do about that? - When I push the OK button, the page is refreshing and I don't want that. I only want the confirmation message. Thanks again!
  8. Hi and sorry if my english isn't perfect. I'm using the HTML Box module and I need to display the registration input field from the Prestashop Newsletter Block into it. Here is a picture of a part of my HTML box module : I need to display the newsletter registration's input field into the red part. Here is the code : <div class="homeboxes"> <div id="boxes-first"> <div class="eshop-box"> <div class="homebox-title rougetitle"><a href="../12-eshop">e-shop de l'atelier</a></div> <div class="zigzag"></div> <a href="../12-eshop"><img class="zigimg" src="../img/goshop.jpg" alt="" height="200" width="558" /></a></div> <div class="blog-box"> <div class="homebox-title rougetitle"><a href="#">Le Blog du mâle</a></div> <div class="zigzag"></div> <a class="bwWrapper" href="#"><img class="zigimg" src="../img/goblog.jpg" alt="" height="200" width="558" /></a></div> </div> <div id="box-special"> <div class="homebox-title rougetitle"><a href="#">Lumière sur...</a></div> <div class="zigzag"></div> <div class="vip-box"><img class="zigimg" src="../img/tomdemess.jpg" alt="" height="300" width="1140" /></div> </div> <div id="boxes-second"> <div class="product-box black">produit</div> <div class="newsletter-box rouge"> !!! I NEED THE NEWSLETTER HERE !!! </div> <div class="faq-box black"> <h2 class="titlebox">faq</h2> </div> <div class="social-box rayures"> <ul class="social-icons"> <li><a href="https://twitter.com/"> <img src="../img/twitter-button.png" onmouseover="this.src='/img/twitter-button-hover.png';" onmouseout="this.src='/img/twitter-button.png';" height="75" width="75" /> </a></li> <li><a href="https://plus.google.com/;"> <img src="../img/googleplus-button.png" onmouseover="this.src='/img/googleplus-button-hover.png';" onmouseout="this.src='/img/googleplus-button.png';" height="75" width="75" /> </a></li> <li><a href="https://www.facebook.com/"> <img src="../img/facebook-button.png" onmouseover="this.src='/img/facebook-button-hover.png';" onmouseout="this.src='/img/facebook-button.png';" height="75" width="75" /> </a></li> <li><a href="https://www.linkedin.com/"> <img src="../img/linkedin-button.png" onmouseover="this.src='/img/linkedin-button-hover.png';" onmouseout="this.src='/img/linkedin-button.png';" height="75" width="75" /> </a></li> <li><a href="http://www.youtube.com/"> <img src="../img/youtube-button.png" onmouseover="this.src='/img/youtube-button-hover.png';" onmouseout="this.src='/img/youtube-button.png';" height="75" width="75" /> </a></li> <li><a href="http://www.pinterest.com"> <img src="../img/pinterest-button.png" onmouseover="this.src='/img/pinterest-button-hover.png';" onmouseout="this.src='/img/pinterest-button.png';" height="75" width="75" /> </a></li> <li><a href="http://www.viadeo.com"> <img src="../img/viadeo-button.png" onmouseover="this.src='/img/viadeo-button-hover.png';" onmouseout="this.src='/img/viadeo-button.png';" height="75" width="75" /> </a></li> <li><a href="http://www.instagram.com"> <img src="../img/instagram-button.png" onmouseover="this.src='/img/instagram-button-hover.png';" onmouseout="this.src='/img/instagram-button.png';" height="75" width="75" /> </a></li> </ul> </div> </div> </div> Someone has a solution for me? Thanks...
  9. Je viens d'essayer cette méthode mais seule l'image "adm-logo-red" est prise en compte sur toutes les pages... <div class="header-logo"> <img class="logo" src="/img/logo-adm-red.png" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} {if $body_classes == "cms7" || "cms9" }src="/img/logo-adm-black.png"{/if}/> </div>
  10. Below is the custom code I entered in blocktopmenu.tpl but the red logo appears on every page. Looks like it's ignoring the {if} command... <div class="header-logo"> <img class="logo" src="/img/logo-adm-red.png" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} {if $body_classes == "cms7" || "cms9" }src="/img/logo-adm-black.png"{/if}/> </div>
  11. Salut Loulou et merci de ton aide. Ci-dessous le code du logo trouvé dans blocktopmenu.tpl. Peux-tu me dire ou et de quelle manière je dois intégrer le PHP s'il te plait ? Merci encore ! <div class="header-logo"> <img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if}/> </div>
  12. Vekia you're right but I already tweaked header.tpl in order to add classes to CMS and as you can see below, the class is appearing near the body : Despite that, the code kindly given by PSFever doesn't work or maybe I made a mistake somewhere. Below is the logo code that I found in blocktopmenu.tpl (not on header.tpl). What do you think about it? Where do I have to paste the php code please? <div class="header-logo"> <img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if}/> </div>
×
×
  • Create New...