Jump to content

apotacyll

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • First Name
    Albert
  • Last Name
    van Veldhuizen

apotacyll's Achievements

Newbie

Newbie (1/14)

0

Reputation

2

Community Answers

  1. I want to speed up my site. i transfer my site to fast comet a fast prestashop hosting company. i tested my site using the google speed test en gtmatrix. it said that i need to add expire headers however i 've put them in my .htaccess file but is still says i need to add them This my htaccess file # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on #Domain: www.bazaaronline.nl RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api$ api/ [L] RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/x-font-woff .woff <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$"> Header add Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/vnd.microsoft.icon "access plus 1 year" ExpiresByType application/font-woff "access plus 1 year" ExpiresByType application/x-font-woff "access plus 1 year" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType font/opentype "access plus 1 year" ExpiresByType font/ttf "access plus 1 year" ExpiresByType font/otf "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType application/x-font-otf "access plus 1 year" </IfModule> <IfModule mod_headers.c> Header unset Etag </IfModule> FileETag none <IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript font/ttf application/x-font-ttf font/otf application/x-font-otf font/opentype </IfModule> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteRule [0-9/]+/[0-9]+\.jpg$ - [F] </IfModule> # end ~ module watermark section # start ~ module watermark section <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteRule [0-9/]+/[0-9]+\.jpg$ - [F] </IfModule> # end ~ module watermark section <ifmodule mod_mime.c> <filesmatch ".html.gz$"> ForceType text/html FileETag None </filesmatch> AddEncoding gzip .gz AddType text/html .gz </ifmodule> <ifmodule mod_deflate.c> SetEnvIfNoCase Request_URI .gz$ no-gzip </ifmodule> <ifmodule mod_headers.c> Header set Vary "Accept-Encoding, Cookie" Header set Cache-Control 'max-age=3600, must-revalidate' </ifmodule> <ifmodule mod_expires.c> ExpiresActive On ExpiresByType text/html A3600 </ifmodule> <ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file .(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </ifModule> i installed a test prestashop in an another directory to see if the it should work and it did. i used different code such as: <ifmodule mod_expires.c> <Filesmatch "\.(jpg|jpeg|png|gif|js|css|swf|ico|woff|mp3)$"> ExpiresActive on ExpiresDefault "access plus 30 days" </Filesmatch> </ifmodule> But it still don't work on my main website what could be the problem?
  2. I want the search button on my site to the right. i got that done but know i want the picture what is above that to move also to the right the search bar and the picture above is one module the css looks like this now /******************************************************************* Blockseachr_mod styles ********************************************************************/ #search_block_top_content { height: 140px; position: relative; } @media (max-width: 767px) { #search_block_top_content { height: auto; } } #search_block_top_content .iqitsearch-inner p { margin: 0px; } @media (max-width: 767px) { #search_block_top_content .iqitsearch-inner { margin-top: 10px; } } @media (min-width: 768px) { #search_block_top_content .iqitsearch-inner { width: 100%; position: absolute; top: 100%; transform: translateY(-50%); } } #search_block_top { width: 172px; margin: 0 auto; position: relative; height: 27px; } #search_block_top.issearchcontent { margin-top: 10px; } @media (max-width: 767px) { #search_block_top { top: 0px; } } @media (min-width: 768px) { .disable_center #search_block_top { margin-left: 0px; margin-right: 0px; } } #search_block_top .search_query { position: absolute; left: 0px; top: 0px; } #search_block_top .search_query:focus { outline: 0; } #search_block_top .button-search { background: none; border: none; position: absolute; right: 4px; top: 3px; } #search_block_top .button-search:focus { outline: 0; } #search_block_top .button-search { font-size: 0px; } #search_block_top .button-search span { display: none; } #search_block_top .button-search:before { content: "\f002"; display: block; font-family: "FontAwesome"; font-size: 14px; color: #666; width: 100%; text-align: center; } #search_block_top .button-search:hover { color: #6f6f6f; } .ac_results { border: 1px solid #CECECE; width: 236px !important; margin-top: 10px; -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); color: 3C3C3C; z-index: 999999; background-color: white; overflow: hidden; z-index: 99999; text-align: left; padding: 0px; } .ac_odd { background: #fff; } .ac_over { background: #f3f3f3; color: #3C3C3C; } .ac_results li { border-bottom: 1px dashed #D8D8D8; cursor: pointer !important; } .ac_results li:last-child { border: none; } .ac_results li img { display: inline; vertical-align: middle; border: 1px solid #D8D8D8; } .ac_results .prname { display: inline-block; vertical-align: middle; ; } .ac_results .prprice { color: #f13340; } #ac_search_more { padding: 5px 0; cursor: pointer !important; } @media only screen and (min-width: 768px) { #search_block_top.issearchcontent{ position: absolute; top: -25px; right: -215px; } } @media only screen and (min-width: 1000px) { #search_block_top.issearchcontent{ top: -25px; right: -304px; } } @media only screen and (min-width: 1320px) { #search_block_top.issearchcontent{ right: -391px; } } i tried to modify the css file to put iqitsearchinnir (which is the picture) to the right using the following code } @media only screen and (min-width: 768px) { #search_block_top_content .iqitsearch-inner{ position: absolute; top: -25px; right: -215px; } } @media only screen and (min-width: 1000px) { #search_block_top_content .iqitsearch-inner{ top: -25px; right: -304px; } } @media only screen and (min-width: 1320px) { #search_block_top_content .iqitsearch-inner{ right: -391px; } } it workes kind of but the picture moves but the search bar goes somewhere i dont want it anybody got any ideas?
  3. Ik zat in den simpele module text toe te voegen en refreshde gewoon met f5 de pagina Ik heb op de site een preloader maar die bleef maar draaien dus heb ik die uitgezet Toen zag ik dat niks meer werkte Of niet niks maar dat de animatie zeg maar niet meer werkt en geen producten laat zien Ik dacht dat het de module was maar die heb ik al uitgeschakeld gehad maar het probleem is er nog steeds
  4. Ik was op mijn site aan het werken en ik refreshde hem sindsdien werkt de animaties etc zo zal ik het maar noemen niet meer Bijv. Als ik met de muis boven de menu hangt komen er geen sub menus te voorschijn Ook laat hij de producten niet meer zien Graag snel hulp het is voor een klant waar haast achter zit
  5. customers > groups >guest/vistitor/customer>change
  6. Yes it is working ! thanks man! you are my hero ! after deleting cache and enabeling smart cache it worked
  7. Thanks for the help but it still doesn't work the file looks likes this now /******************************************************************* Blockseachr_mod styles ********************************************************************/ #search_block_top_content { height: 140px; position: relative; } @media (max-width: 767px) { #search_block_top_content { height: auto; } } #search_block_top_content .iqitsearch-inner p { margin: 0px; } @media (max-width: 767px) { #search_block_top_content .iqitsearch-inner { margin-top: 10px; } } @media (min-width: 768px) { #search_block_top_content .iqitsearch-inner { width: 100%; position: absolute; top: 50%; transform: translateY(-50%); } } #search_block_top { width: 172px; margin: 0 auto; position: relative; height: 27px; } #search_block_top.issearchcontent { margin-top: 10px; } @media (max-width: 767px) { #search_block_top { top: 0px; } } @media (min-width: 768px) { .disable_center #search_block_top { margin-left: 0px; margin-right: 0px; } } #search_block_top .search_query { position: absolute; left: 0px; top: 0px; } #search_block_top .search_query:focus { outline: 0; } #search_block_top .button-search { background: none; border: none; position: absolute; right: 4px; top: 3px; } #search_block_top .button-search:focus { outline: 0; } #search_block_top .button-search { font-size: 0px; } #search_block_top .button-search span { display: none; } #search_block_top .button-search:before { content: "\f002"; display: block; font-family: "FontAwesome"; font-size: 14px; color: #666; width: 100%; text-align: center; } #search_block_top .button-search:hover { color: #6f6f6f; } .ac_results { border: 1px solid #CECECE; width: 236px !important; margin-top: 10px; -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); color: 3C3C3C; z-index: 999999; background-color: white; overflow: hidden; z-index: 99999; text-align: left; padding: 0px; } .ac_odd { background: #fff; } .ac_over { background: #f3f3f3; color: #3C3C3C; } .ac_results li { border-bottom: 1px dashed #D8D8D8; cursor: pointer !important; } .ac_results li:last-child { border: none; } .ac_results li img { display: inline; vertical-align: middle; border: 1px solid #D8D8D8; } .ac_results .prname { display: inline-block; vertical-align: middle; ; } .ac_results .prprice { color: #f13340; } #ac_search_more { padding: 5px 0; cursor: pointer !important; } @media only screen and (min-width: 768px) { #search_block_top.issearchcontent{ position: absolute; top: -28px; right: -215px; } } @media only screen and (min-width: 1000px) { #search_block_top.issearchcontent{ top: -48px; right: -304px; } } @media only screen and (min-width: 1320px) { #search_block_top.issearchcontent{ right: -391px; } }
  8. It is in maintenance mode but if you can give me your ip adress i can add you so you can see the site
  9. hey, i'am running prestashop version 1.6.0.14. i tried to get the searchbar on the right side of my website. however every file i tried to customize doesnt work. it just wont go to the right side. i read that you need to customize two files? a tpl file and a css file. is this true? Does anybody know how i get it to the right side? (see pictures for files and how i want it) thanks,
×
×
  • Create New...