- Posts: 3
- Thank you received: 0
Template Background
-
metro
Inactive member - Topic Author
- New Member
Less
More
12 years 5 months ago #20434
by metro
Template Background was created by metro
I managed to install the template fine. But now it seems the background is broken. It works well on the home page, it fades between different images, bu ton any other page it stops and just goes white.
How can I turn off this function so I can just put in a static image of my choice? That will show up on all pages...
g
How can I turn off this function so I can just put in a static image of my choice? That will show up on all pages...
g
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
12 years 5 months ago #20458
by milos
Replied by milos on topic Template Background
Please edit Global configuration and disable SEF URLs or enable SEF with mod_rewrite and rename htaccess.txt to .htaccess. Does background slideshow work then?
Please Log in to join the conversation.
-
metro
Inactive member - Topic Author
- New Member
Less
More
- Posts: 3
- Thank you received: 0
12 years 4 months ago #20510
by metro
Replied by metro on topic Template Background
Hi there,
I made all the above changes and it still doesn't work.... Every time I navigate to a page, other than the home page, the background goes away and it just goes white..
I made all the above changes and it still doesn't work.... Every time I navigate to a page, other than the home page, the background goes away and it just goes white..
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 4 months ago #20524
by ivan.milic
Replied by ivan.milic on topic Template Background
open:
templates\hot_destinations\js\animbg.js
you will see :
var imgArr = new Array( // relative paths of images
'templates/hot_destinations/images/bg1.jpg',
'templates/hot_destinations/images/bg2.jpg',
'templates/hot_destinations/images/bg3.jpg',
'templates/hot_destinations/images/bg4.jpg'
);
convert this urls to absolute
templates\hot_destinations\js\animbg.js
you will see :
var imgArr = new Array( // relative paths of images
'templates/hot_destinations/images/bg1.jpg',
'templates/hot_destinations/images/bg2.jpg',
'templates/hot_destinations/images/bg3.jpg',
'templates/hot_destinations/images/bg4.jpg'
);
convert this urls to absolute
The following user(s) said Thank You: metro
Please Log in to join the conversation.
-
metro
Inactive member - Topic Author
- New Member
Less
More
- Posts: 3
- Thank you received: 0
12 years 4 months ago #20528
by metro
Replied by metro on topic Template Background
Thanks, that worked perfectly!
Please Log in to join the conversation.
-
tauorus
Inactive member - New Member
Less
More
- Posts: 16
- Thank you received: 0
12 years 3 weeks ago #23608
by tauorus
Replied by tauorus on topic Template Background
Hi, I have the same problem, I have changed the URL to the full path for the bgx.jpg images:
var imgArr = new Array( // relative paths of images
'/var/www/mysite/templates/hot_destinations/images/bg1.jpg',
'/var/www/mysite/templates/hot_destinations/images/bg2.jpg',
'/var/www/mysite/templates/hot_destinations/images/bg3.jpg',
'/var/www/mysite/templates/hot_destinations/images/bg4.jpg'
);
but the background still going white, also the header and topmenu background turn to transparent.
I am trying on my laptop on localhost.
Help me please.
var imgArr = new Array( // relative paths of images
'/var/www/mysite/templates/hot_destinations/images/bg1.jpg',
'/var/www/mysite/templates/hot_destinations/images/bg2.jpg',
'/var/www/mysite/templates/hot_destinations/images/bg3.jpg',
'/var/www/mysite/templates/hot_destinations/images/bg4.jpg'
);
but the background still going white, also the header and topmenu background turn to transparent.
I am trying on my laptop on localhost.
Help me please.
Please Log in to join the conversation.
Time to create page: 0.173 seconds