XFileSharing Pro - Template error

Powerfull XFileSharing version

Moderator: admin

Message
Author
stunna
Posts: 44
Joined: Apr 25, 2010 10:19 pm

Template error

#1 Postby stunna » Dec 24, 2010 8:31 pm

Hello Folks,

We need urgent assistance here please.When we access our site via a normal link it shows fine www.domain.com/fdfdsew but when we access the site via the URL with user name in the middle, it shows the site funny.www.domain.com/stunna/fdfse Can anyone help me with this issue please.

I thank you

stunna
Posts: 44
Joined: Apr 25, 2010 10:19 pm

#2 Postby stunna » Dec 25, 2010 12:18 pm

ANY idea about this?

nyan
Posts: 163
Joined: Oct 28, 2010 8:01 pm

#3 Postby nyan » Dec 26, 2010 10:43 am

make sure the paths to images and stylesheets are absolute

bad:

Code: Select all

img src="images/hello.jpg"

this will give http://domain.com/images/hello.jpg on your main page, but http://domain.com/user/images/hello.jpg on the user page

solution:

Code: Select all

img src="/images/hello.jpg"

or

Code: Select all

img src="TMPL_VAR site name/images/hello.jpg"

stunna
Posts: 44
Joined: Apr 25, 2010 10:19 pm

#4 Postby stunna » Dec 29, 2010 3:44 am

nyan wrote:make sure the paths to images and stylesheets are absolute

bad:

Code: Select all

img src="images/hello.jpg"

this will give http://domain.com/images/hello.jpg on your main page, but http://domain.com/user/images/hello.jpg on the user page

solution:

Code: Select all

img src="/images/hello.jpg"

or

Code: Select all

img src="TMPL_VAR site name/images/hello.jpg"


Thank you so very much for your reply.


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests