Author Topic: Install Questions due to Pictures, calendar & maps  (Read 201 times)

dolphin002

  • Newbie
  • *
  • Posts: 3
    • View Profile
Install Questions due to Pictures, calendar & maps
« on: February 22, 2019, 07:31:09 PM »
Hello Frieds of VAM,

i have some questons for further install:

1. How we can insert new pictures into the slider on the Mainpage?

2. When we have new registering pilots, the calendar will always be in
     Spanish language. How can this be changed to english?

3. How can openstreetmaps be installed as a replacement for google maps?

4. How can the wind map from the website www.windy.com be installed.

I looking forward to your great support and helpful tipps! Many Thanks at all :-)

Regards

Jimmy

PS: Yesterday we starting with VAM installation without any tech problems & we use also today simacars for the first pirep. All work fine & have only some TODO for
      cosmetics:-)     

EliteCobraTyler

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Install Questions due to Pictures, calendar & maps
« Reply #1 on: May 19, 2019, 08:03:36 PM »
Were you able to figure out the Spanish part for the calendar?

larsje40

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Install Questions due to Pictures, calendar & maps
« Reply #2 on: October 03, 2019, 10:46:54 AM »
Have you figured out yet how to change the slides? cause i realy would like to know how to do that.

thnx.

Andy K

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Install Questions due to Pictures, calendar & maps
« Reply #3 on: October 05, 2019, 01:36:14 PM »
Have you figured out yet how to change the slides? cause i realy would like to know how to do that.

thnx.

You need to edit the following files:

vam_header.php
vam_index_header.php

In each file, find the following lines:

<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>

then add another line if you want more images changing the value in sequence. For example:

<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-example-generic" data-slide-to="3"></li>
<li data-target="#carousel-example-generic" data-slide-to="4"></li>

and so on...

Next, find the following:

<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<img src="./images/slider/your picture file name.jpg" alt="...">
<div class="carousel-caption">
</div>

Edit "your picture file name.jpg" to the file name of the picture you want to display.
Repeat this process for each image.

Note that you will need to create an entry for each image with the total number of images defined by the first part. So, if you have 8 images, you will need carousel lines "0" to "7" then 8 separate entries as above.

The images for the carousel should be stored in VAM/IMAGES/SLIDER.