Jump to content

Foster

Members
  • Posts

    86
  • Joined

  • Last visited

    Never
  • Days Won

    19

Everything posted by Foster

  1. Hello, if you want to know the library version and look if there is an update, yes it can be. I have not installed this app but it just display the information for moment. It will be cool if it's possible to make an action like update around that. A library can have bugs, secutiy problem ....
  2. A service worker is a script that your browser runs in the background, separate from a web page, opening the door to features that don't need a web page or user interaction. Today, they already include features like push notifications and background sync. In the future, service workers might support other things like periodic sync or geofencing. The core feature discussed in this tutorial is the ability to intercept and handle network requests, including programmatically managing a cache of responses. The reason this is such an exciting API is that it allows you to support offline experiences, giving developers complete control over the experience. more info there : https://developers.google.com/web/fundamentals/primers/service-workers
  3. Maybe via a service worker, you can do that. but it's not included inside the solution.
  4. You can but before to go in production, check if everything works fine.
  5. Composer is a tool allowing you to install a library quickly or to update all the library easily in one time. For example, PhpMailer is installed via composer and you can update a new version via the command below Composer require ... allow to install a library Composer update allow you to update on or all libray.
  6. There is a tutorial to set your email, see Best pratices / tip / trips and training
  7. ClicShopping has lot of features to starton GDRP, but not enough. For example, you can install tartesauxcitrons if you install google analytics for example, the script allow you to add some control for your customers.
  8. @annedesalpes, You must see a welcome message invite you to install the first modules inside your dashboard. the best than you can do is to look the log to see if an error appear. As @Patrick said : report, we will see if we can help you.
  9. Hello @Rainer, I created a tutorial about that : https://www.clicshopping.org/forum/topic/473-create-a-cron-to-save-your-db-on-the-server/ It will help you to resolve your problem. +
  10. Hello, This tutorial allow you to create a cron to save your db in daily. if you want to change the delay, you can use this site to help you : https://crontab-generator.org/ Inside your server create a files : saveCronTabDb.sh with execute right (chmod 755) #!/bin/bash DB_USER='MyUserName' DB_PASS='MyPassword' DB_HOST='localhost' DB_NAME='MyTable' mysql -u${DB_USER} -p${DB_PASS} -h${DB_HOST} $DB_NAME < "/var/www/xxx/xxx/web8/web/myDbdirectory/myDbfilesToSave.sql" Now you can create your crontab with this command: In this case all the 21hr everyday * */21 * * * /var/www/xxx/xxx/web1/private/saveCronTabDb.sh > /var/www/xxx/xxx/web1/private/cron.log To test your cron : sh saveCronTabDb.sh To see your cron sudo crontab -l Ah do not forget to protect your directory with an htaccess # Disable directory browsing Options -Indexes <Files .htaccess> Order allow,deny Deny from all </Files>
  11. Yes you can do that. Alternative : Copy and rename the file, if there an update, you will not affected by your modification.
  12. It can lot of reason for that. I think it's important to be at the same level than your customer and what they want and what they must buy on your website. You can propose nice product but if the customer does not trust in your website, there is no way. Do not forget, yesterday is not today. Some people have internet, has been some problem with some e-commerce website, service ... In clear, your site must inspire the trust and you must build your reputation
  13. Look for example Gearbest, for example, the header is small, simple and the carousel is inside the body. I think it's the best approach. It's my opinion.
  14. Hello Mara, Not sur there is a marketplace apps, it must be developed. It will not difficult to do that but after depends what the features you want. Maybe a developer will propose something like that. It can a good apps for the eco system.
  15. A little example allow you to configure your htaccess to increase the speed and security Options -Indexes Options +FollowSymlinks #### Your config to change ############### #AllowOverride All AcceptPathInfo on ################################## # Security ################################## <IfModule mod_headers.c> # prevent mime based attacks Header set X-Content-Type-Options "nosniff" # XSS Protection Header set X-XSS-Protection "1; mode=block" #content policy #Header set Content-Security-Policy "script-src 'self' https://www.mydomain.org" #X Frame Header always set X-FRAME-OPTIONS "DENY" </IfModule> #Header always append X-Frame-Options SAMEORIGIN #CORS # Always set these headers. #Header always set Access-Control-Allow-Origin "*" #Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT" #Header always set Access-Control-Max-Age "1000" #Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token" #### Your config to change URL rewriting ############### #Uncomment and adapt <IfModule mod_rewrite.c> RewriteEngine On ## URL Canonicalization #to change in function your website RewriteBase /shop/ RewriteCond %{HTTP_HOST} !^mydomain.org$ [NC] RewriteRule ^(.*)$ https://www.mydomain.org/$1 [L,R=301] #to change in function your website RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d #to change in function your website RewriteRule . /shop/index.php [L] #Caching schema <IfModule mod_headers.c> Header unset ETag </IfModule> #Caching schema ## EXPIRES CACHING ## ## https://gtmetrix.com/leverage-browser-caching.html ## <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 font/woff2 "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> #apache 2.4 <IfModule mod_version.c> <IfModule mod_filter.c> <IfVersion >= 2.4> FilterDeclare COMPRESS FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/html'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/css'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/plain'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/x-component'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/javascript'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/json'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/xhtml+xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/rss+xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/atom+xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/vnd.ms-fontobject'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'image/svg+xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'image/x-icon'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/x-font-ttf'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'font/opentype'" FilterChain COMPRESS FilterProtocol COMPRESS DEFLATE change=yes;byteranges=no </IfVersion> </IfModule> </IfModule>
  16. @Ronaldo You problem has been mentioned in other topic. Look. Your hoster has decided to block this function for security reason. In this case, you must set you email in smtp and not with sendmail.
  17. @Janett You will find more information here : https://getcomposer.org/doc/00-intro.md Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. The main advantage, it's install you all the dependencies and allow you to call easily the classes inside our script. Looking the composer external directory : guzzlehttp ==> api connect phpmailer ==> send email xml-rpc ==> webservice fpdf ==> invoice are installed by default. thank you for this release @ClicShopping
  18. Downloaded and installed via the administration, No configuration to make except to select the template. Seems to work fine. I look a little, it'a a new directory with some files. there is some override behind that ! In all case, if there is an update about ClicShopping like the latest pre-release, the work on the design is not touch. In my sens it's a very good point.
  19. First you must know ClicShopping is made like this 1 module = 1 css In this case all the products listing has their own css, you must modify the css and update the files in consequences; I recommend you to create a new module (it's easy, it's just a replace) with this own css.
  20. The code below create a circle. it use the bootstrap function This is a pure html but after you must translate in function the ClicShopping Code. .btn-circle.btn-xl { width: 70px; height: 70px; padding: 10px 16px; border-radius: 35px; font-size: 12px; text-align: center; } and <button type="button" class="btn btn-danger btn-circle btn-xl">30 %</button>
  21. Nice to see the work and the evolution. Php e-strict is important and allow the solution to be more secure. I will take time to make more test during the week in function my time.
  22. Hello, A new noteappear on google. It explain about wha'st happen with robot.txt. https://webmasters.googleblog.com/2019/07/a-note-on-unsupported-rules-in-robotstxt.html
  23. Than you @Maxime about you all video, it was a nice idea to make that. I appreciate.
  24. There is no import data .sql, where do you find this file. I think you make a mistake.
  25. You must be carefull at this : Excessive volume of emails (exceeding host's per-minute, per-hour, per-day caps). You need to find out from your host what the limits are (important for newsletter). Newsletters and other "not necessary" communications (mass mailings) have to be explicitly "opt in", to avoid legal problems and accusations of spamming. Respect the regulation and if the customer has opt in the newsletter. If your host (or other systems, such as Yahoo or Gmail) are flagging the content of any of your emails as spam, you will need to adjust the wording and contents to pass the spam tests.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use