If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
FLASH/image files, not working on guestbook///body.php  XML
Forum Index » Support Forum
Author Message
RobWestLoko
Beginner
[Avatar]

Joined: 23/11/2004 08:32:41
Messages: 29
Location: Los Angeles, CA, USA
Offline

I tried searching for the same topics, didn't find anything, might need a class on searching...
---I edited the body.php file under the templates folder, and I added a background image and a flash file (nav bar) - they won't load on the page, does anyone know how to fix this?... any help would be great.

fix the problems in our own soil first.
[Email] aim icon
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

A link to the guestbook would be helpful.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
RobWestLoko
Beginner
[Avatar]

Joined: 23/11/2004 08:32:41
Messages: 29
Location: Los Angeles, CA, USA
Offline

Carbonize wrote:A link to the guestbook would be helpful.

thanks for your help carbonize.... here's the link www.smoothhustle.com/guestbook

fix the problems in our own soil first.
[Email] aim icon
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

The problem is possibly your use of relative paths over absolute paths. According to your code the flssh file, sh_nav2.swf, is located in the img folder of the guestbook. The same problem applies to the lock img where the path is specified as ../../../../Array%5Bbase_url%5D/img/lock.gif. I'd recommend using absolute paths such as http://www.smoothhustle.com/guestbook/img/lock.gif.

../../../../Array%5Bbase_url%5D/img/lock.gif is seriously wrong. I am curious as to where this came from.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
RobWestLoko
Beginner
[Avatar]

Joined: 23/11/2004 08:32:41
Messages: 29
Location: Los Angeles, CA, USA
Offline

Carbonize wrote:The problem is possibly your use of relative paths over absolute paths. According to your code the flssh file, sh_nav2.swf, is located in the img folder of the guestbook. The same problem applies to the lock img where the path is specified as ../../../../Array%5Bbase_url%5D/img/lock.gif. I'd recommend using absolute paths such as http://www.smoothhustle.com/guestbook/img/lock.gif.

../../../../Array%5Bbase_url%5D/img/lock.gif is seriously wrong. I am curious as to where this came from.

I didn't change any of these paths, I will try absolute paths, the problem probably came, from when I switch hosting companies, and I re-installed the guestbook... it worked for the background image, but I'm still having problems with the flash file loading.

fix the problems in our own soil first.
[Email] aim icon
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Well where is the swf file located?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
RobWestLoko
Beginner
[Avatar]

Joined: 23/11/2004 08:32:41
Messages: 29
Location: Los Angeles, CA, USA
Offline

Carbonize wrote:Well where is the swf file located?

THANKS A WHOLE LOT>>> IT WORKED!!!

fix the problems in our own soil first.
[Email] aim icon
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Well the path is pointing to guestbook/img for the swf file.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum