url images problem

Forum
Last Post
Threads / Messages

Jocla

Member
Member
Joined
Mar 2, 2013
Messages
9
Points
0
Mysidian Dollar
0
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:
 
Last edited:
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.
 
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[B]/home/cpanelusername/public_html/[/B]

in image's url
 
Last edited:
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:
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,132
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top