Search the Community
Showing results for tags 'tutorial'.
-
tutorial How to install Clicshopping V3
Maxime posted a topic in Best pratices / tip / trips and training
Quick video about the process installation of ClicShopping : -
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>
-
tutorial Training PayPal payment apps
Maxime posted a topic in Best pratices / tip / trips and training
this capsule explains how to set the "PayPal payment apps" module in ClicShopping. -
tutorial Tutorial Post Canada Shipping
Maxime posted a topic in Best pratices / tip / trips and training
This tutorial allows you to see how to install the Apps Shipping Post Canada inside ClicShopping-
- 4
-
- post canada
- shipping
-
(and 1 more)
Tagged with:
-
this capsule explains how to install the "minimalistic header multi template module" module in clicshopping. For more information you can go on the market place :https://www.clicshopping.org/forum/files/file/168-modules-page-header-multi-template-minimalistic/
- 5 replies
-
- 11
-
tutorial Training Checkout step modules
Maxime posted a topic in Best pratices / tip / trips and training
This capsule explains how to install the "Checkout step" module in clicshopping. This demo show you 4 modules available for free : - Step on shopping cart - Step for Shipping - Step for Paiement - Step for confirmation For more information you can go on the market place to download these modules -
this capsule explains how to install the "bootstrap front page caroussel" module in clicshopping.
- 1 reply
-
- 7
-
Hello, This tutorial help you to include a modal boostrap with an external element inside the modal without the header and the footer 1st step : Modal boostrap now we suppose you want to include a modal inside a file. For example in edit.php Add this element : the modal boostrap where you want. (Sites/Admin/Pages/Home/template/edit.php) <script> $( document ).ready(function() { $("#myModal").on("show.bs.modal", function(e) { var link = $(e.relatedTarget); $(this).find(".modal-body").load(link.attr("href")); }); }); </script> <?php //******************************** // call pop up inside Amin/Pages //********************************* ?> <a href="<?php echo $CLICSHOPPING_Manager->link('PopUp'); ?>" data-remote="false" data-toggle="modal" data-target="#myModal" class="btn btn-default">Launch Modal</a> <!-- Default bootstrap modal example --> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel">Modal title</h4> </div> <div class="modal-body"> ... </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div> </div> </div> 2nd step : PoPup Actions In Sites/Admin/Pages/Home/Actions Create a class called PopUp.php namespace ClicShopping\Apps\Communication\PageManager\Sites\Admin\Pages\Home\Actions; use ClicShopping\OM\Registry; use ClicShopping\OM\HTML; class PopUp extends \ClicShopping\OM\PagesActionsAbstract { public function execute() { $this->page->setUseSiteTemplate(false); // ad this function inside the files $this->page->setFile('popup.php'); } } 3 th step : Popup template In Sites/Admin/Pages/Home/templates Create a class called pop_up.php <?php use ClicShopping\OM\HTML; ?> <div class="row"> <div class="col-sm-12"> <div class="panel panel-primary"> <div class="panel-heading">Heading</div> <div class="panel-body"> Put Your stuff in here <?php echo HTML::inputField('example', 'toto'); ?> </div> </div> </div> </div> That's all ! After you can continue your code with save, insert, update ...