danshea LiteCart Fan From United States Member since Feb 2024 danshea Mar 22 2024 04:07 PM Good Morning, How do we move the carousel so that it is under the slider instead of the bottom of the page? Thanks in Advance, Dan
jackmaessen LiteCart Fan From Netherlands Member since Dec 2022 jackmaessen Mar 22 2024 11:21 PM in the vmod, file: [b]includes/templates/*.catalog/pages/index.inc.php[/b] There you can see all the boxes which are present at the homepage. At the right side, you can see: <?php include vmod::check(FS_DIR_APP . 'includes/boxes/box_latest_products.inc.php'); ?> That means: under this box, the carousel will be visible. Change this line to another line you can see on the left side...
danshea LiteCart Fan From United States Member since Feb 2024 danshea Mar 23 2024 03:42 PM Hi Jack, I don't see the carousel in that file. The carousel is working on tsmparts.net , but it must be the theme we are using.
jackmaessen LiteCart Fan From Netherlands Member since Dec 2022 jackmaessen Mar 24 2024 09:33 AM Show me the code of the file: includes/templates/"your-theme".catalog/pages/index.inc.php
danshea LiteCart Fan From United States Member since Feb 2024 danshea Mar 24 2024 02:30 PM Here ya go Jack. <div id="content"> <?php include vmod::check(FS_DIR_TEMPLATE . 'views/modal.inc.php'); ?> <?php include vmod::check(FS_DIR_TEMPLATE . 'views/sale_banners.inc.php'); ?> <?php include vmod::check(FS_DIR_APP . 'includes/boxes/box_categories.inc.php'); ?> <?php include vmod::check(FS_DIR_TEMPLATE . 'views/banners.inc.php'); ?> <?php include vmod::check(FS_DIR_APP . 'includes/boxes/box_campaign_products.inc.php'); ?> <?php include vmod::check(FS_DIR_APP . 'includes/boxes/box_featured_category.inc.php'); ?> <?php include vmod::check(FS_DIR_APP . 'includes/boxes/box_popular_products.inc.php'); ?> <?php include vmod::check(FS_DIR_APP . 'includes/boxes/box_latest_products.inc.php'); ?> <?php include vmod::check(FS_DIR_TEMPLATE . 'views/about.inc.php'); ?> </div>
jackmaessen LiteCart Fan From Netherlands Member since Dec 2022 jackmaessen Mar 24 2024 04:03 PM Look below image of the vmod (this is my vmod): [img=1000x560]https://develop2301.izzys.nl/images/test/snapvmod.jpg[/img] Above is my code on the left side, you have other code. On the left side is the code which generates the sequence of the boxes for the homepage( slider. categories, popular products, latest products and so on....) Find in your code on the left side the the box under which you want the carousel to appear. Example: if you want to appear the carousel under the slider, then fill in on the right side under Find: <?php include vmod::check(FS_DIR_APP . 'includes/boxes/box_slides.inc.php'); ?> The vmod will place the code under [i]Insert[/i] virtually after the code under [i]Find[/i].
adamchaczka LiteCart Fan From Poland Member since Oct 2023 adamchaczka Nov 18 2024 02:17 PM Jackmaessen You have a great effect on the page. This is f.....g awesome and it doesn't slow down the site much How did you make those falling snowflakes? By the way, does anyone know how to make the banner appear not only on the main page but on all subpages for the selected language?
jackmaessen LiteCart Fan From Netherlands Member since Dec 2022 jackmaessen Nov 18 2024 07:31 PM in file "includes/templates/*.catalog/layouts/default.inc.php" add <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.js"></script> <link rel="stylesheet" href="<?php echo document::href_rlink(FS_DIR_APP . 'ext/christmas/snowflakes.css'); ?>" /> Then in folder ext: create a folder christmas and put snowflakes.css in it (attachment) Which banner do you mean? snowflakes.zip
adamchaczka LiteCart Fan From Poland Member since Oct 2023 adamchaczka Nov 21 2024 08:31 AM Thank You jackmaessen for the tip on making snowflakes :D I mean slider on the main page. I would like to add a separate banner that would be displayed on the blog, product and product category pages. I want to place information about current promotional campaigns on this banner, such as Black Friday obviously, I don't want it on the shopping cart page, purchase confirmation page, etc. I really miss a slider that follows the customer, which can be linked to any page
jackmaessen LiteCart Fan From Netherlands Member since Dec 2022 jackmaessen Nov 25 2024 06:23 PM @adamchaczka I created a new main slider which i think you can use. I created in the vmod this for page "categories".In the vmod, do this for all pages where you want to appear the slider slider2.zip