Jump to content

phantom13

Members
  • Posts

    38
  • Joined

  • Last visited

Profile Information

  • Location
    Romania
  • Activity
    Project Owner

Recent Profile Visitors

5,130,449 profile views

phantom13's Achievements

Newbie

Newbie (1/14)

1

Reputation

5

Community Answers

  1. Hi, I want to have the compare feature on each product page. I have been able to do it and it's working. The problem is that if I open two products in separate tabs and add the first in compare...the counter Compare (0) becomes Compare(1). When I go to the second product and click add to Compare the counter Compare(0) becomes Compare(1). I need to register the numbers of products in comparator as a global variable...any suggestion or help on how I can achieve this? Thanks
  2. Hi, Wil upgrading Prestashop 1.6.0.13 to 1.6.0.14 overrite files that I have modified? Is there any way to find out the files/impact upgrading will have? Thanks
  3. Hi, Does anyone know how I can add a date & time picker field inside the default Maintenance page? The files that defines the fields is /controllers/admin/AdminMaintenanceController.php The .css and .js for the date & time picker are external, how do I integrate them with the php controller file? Are there any other files related that needs to be modified? Thanks!
  4. Hi, Files theme2.css to theme9.css are for theme2 to theme9. The default is theme1 for which there is no css file available. If you want to create a new theme you will need to follow these steps: 1. Connect to the database 2. Run query SELECT * FROM `ps_configuration` WHERE name LIKE '%ps_tc_themes%' 3. Value will be something like a:9:{i:0;s:6:"theme1";i:1;s:6:"theme2";i:2;s:6:"theme3";i:3;s:6:"theme4";i:4;s:6:"theme5";i:5;s:6:"theme6";i:6;s:6:"theme7";i:7;s:6:"theme8";i:8;s:6:"theme9";} 4. Replace it with a:10:{i:0;s:6:"theme1";i:1;s:6:"theme2";i:2;s:6:"theme3";i:3;s:6:"theme4";i:4;s:6:"theme5";i:5;s:6:"theme6";i:6;s:6:"theme7";i:7;s:6:"theme8";i:8;s:6:"theme9";i:9;s:7:"theme10";} * Notice changes: - first a:9 becomes a:10 because you now have 10 themes. - at the end there is a new record i:9;s:7:"theme10" (i is the index of your theme, s is the length of the theme's name, and theme10 is the name of the theme) 5. You need to go inside modules/themeconfigurator/css 6. Open liveconfigurator.css 7. Add the folowing code #tool_customization #color-box .theme10 .color1{ border: 13px solid #f1f1f1; } #tool_customization #color-box .theme10 .color2{ background: #317081; } *** theme10 is the name of the theme used earlier *** Also this colors are only the colors displayed in Live Configurator (the little box with colors on it) 8. Create new files theme10.css 9. Use FireBug extension from Firefox or Chrome to identify the element you want to change 10. Insert css changes code into theme10.css In your case footer is composed from upper footer (a png of 1x71 resolution repeated horizontally - stored somewhere in /modules/themeconfigurator/img - and lower footer section who's background color is set by the background in theme10.css) For the upper footer use inside theme10.css @media (min-width: 768px) { .footer-container { background: url(../img/footer-bg.png) repeat-x; } } * where footer-bg.png is your 1x71 png from /modules/themeconfigurator/img that you want to use For the lower footer use something like body { background: #your_color_rgb_code_here; } If that doesn't work you can always override it by using body { background: #your_color_rgb_code_here !important; } Goodluck!
  5. Solved, thanks for the hint. For future references solution is to replace in themes/your_theme/modules/blocknewproducts.tpl {foreach from=$new_products item=newproduct name=myLoop} with {for $i = 0 to 2} {$newproduct = $new_products[$i]} Also don't forget to change {/foreach} with {/for}
  6. Home featured is only in homepage but new arrivals is also in product list. So i just need the new arrivals trick to display more products if homepage, else just 3
  7. Hi, Is there any way to modify the number of displayed products for HomeFeatured and NewArrivals modules to 12 but only on the homepage? In any other place they are displayed I want only 3. Thanks!
  8. Hi, I know that the default Open Sans font is always loaded from google which causes latency and delays in load time. What should I do to be able to load the font locally instead of Google? Thanks!
  9. I've fixed it by changing field name and translations and hiding out the home phone inside the tpl. Also reordered the elements by changing the tpl file.
  10. I have taken a look over global.css but the problem is there is no east way to tell whether an element belongs or not to the default color scheme. It would take days to analyze each element and see where it belongs to. Is there another solution available to get the css of the default color scheme? (running presta 1.6.0.13)
  11. Hi, is there any method to get name, mobile phone and email for logged in users inside a tpl file or inside javascript code? Thanks
  12. Thanks for the short time answer. Will try it soon and come back with a feedback.
  13. Hi, I know, problem is i can't locate the css files for the default color scheme, that beeing the theme on which I want to relly since it has most of the colors already present. (Example: each color scheme has a css files like theme10.css ... but there is no theme1.css - which is the default - and I can't find it) Perhaps it has a different name/location?
  14. Hi everyone, I would like to change my default themes color (add a new color scheme). I have managed so far to insert a new scheme both in the database, and create the neccesary css file for it. However I can't figure out how to change the color of the navigation bar and of the cart. Also, is there any place where I can find the css of the default color scheme? Any solutions or thoughts are more than welcome!
×
×
  • Create New...