Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   url images problem (http://www.mysidiaadoptables.com/forum/showthread.php?t=4159)

Jocla 06-08-2013 02:15 AM

url images problem {$root}
 
Hi, i installed script and have a problem with element style. Header images no display

so, i checked the url and:

Code:

http://domain.com/home/cpanelusername/public_html/adoptables/templates/elements/inc/images/center.png
¿what is wrong?

i think the url should be

Code:

http://domain.com/adoptables/templates/elements/inc/images/center.png
when i installed script completed the form as follows:

define('DOMAIN', 'mydomain.com'); //Your domain name (No http, www or . )
define('SCRIPTPATH', '/adoptables'); //The folder you installed this script in


in template.tpl i find this:

Code:

<img src="{$root}templates/elements/inc/images/center.png">

pd. sorry my english is bad :cfrown:
pd2: the same happens with left and right images :littlecfrown:

Hall of Famer 06-10-2013 06:46 PM

umm the issue here is that the css for header image in element style uses relative path, which is tricky to get it right with the new script. I do not recommend using element style at this point though, but I can still have Tequila help with this problem if necessary.

Jocla 06-11-2013 03:24 PM

so this is just a problem of style/theme?

i thought it was worse :bucktard:

but i don't know why {$root} make a loop

Code:

http://domain.com/home/cpanelusername/public_html/
in image's url

Alaric 06-12-2013 12:32 AM

Quote:

Originally Posted by Jocla (Post 27155)
Hi, i installed script and have a problem with element style. Header images no display

so, i checked the url and:

Code:

http://domain.com/home/cpanelusername/public_html/adoptables/templates/elements/inc/images/center.png
¿what is wrong?

i think the url should be

Code:

http://domain.com/adoptables/templates/elements/inc/images/center.png
when i installed script completed the form as follows:

define('DOMAIN', 'mydomain.com'); //Your domain name (No http, www or . )
define('SCRIPTPATH', '/adoptables'); //The folder you installed this script in


in template.tpl i find this:

Code:

<img src="{$root}templates/elements/inc/images/center.png">

pd. sorry my english is bad :cfrown:
pd2: the same happens with left and right images :littlecfrown:

Have the same question.... :pleased:


All times are GMT -5. The time now is 04:57 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.