I want to create a html block which will call file in ip root.
Could someone please tell me how to call it correctly, just want to know how to put the path to it..
HTML Block, How To Call File In Ip Root
Subject: Re: HTML Block, How To Call File In Ip Root
What type of file are you planning on calling, and does it need to open or be included?
Subject: Re: HTML Block, How To Call File In Ip Root
This code will go new block:
I need path to otvoreni.js
<html>
<head>
<style type="text/css">
body {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:13px;
}
</style>
<script src="templatescommonjsotvoreni.js"></script>
<script>
.......
<head>
<style type="text/css">
body {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:13px;
}
</style>
<script src="templatescommonjsotvoreni.js"></script>
<script>
.......
I need path to otvoreni.js
Subject: Re: HTML Block, How To Call File In Ip Root
This should do it, but I'm unsure if the use "anywhere" VARS also apply to html blocks. ;)
Code: [Download] [Hide] [Select]
<script type="text/javascript" src="{FULL_SITE_PATH}{T_COMMON_TPL_PATH}js/otvoreni.js"></script>
Or this:
<script type="text/javascript" src="templates/common/js/otvoreni.js"></script>
Note the Forward slashes - Not backslashes.
Or this:
<script type="text/javascript" src="templates/common/js/otvoreni.js"></script>
Note the Forward slashes - Not backslashes.
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.0965s (PHP: 17% SQL: 83%)
SQL queries: 11 - Debug Off - GZIP Enabled