Code not appearing
Permalink
Guys,
I have an unusual problem. A document transfer company has asked me to put some code on a page to create a login to their system.
They want this code:
<link rel="stylesheet" type="text/css" href="https://www.docserver1.co.uk/dsxc/client.css" />
<script id="dsxc_script" type="text/javascript" src="https://www.docserver1.co.uk/dsxc/client.js?acc=xx&integrated=true"></script>
in the header just before the closing tag and this code:
<iframe id="dsxc_iframe"></iframe>
in a content div in the body.
I've done this and uploaded the page. When viewing the source there is no sign of any of the code at all and as a result no login box.
I've never seen anything like this before. Has anybody got any ideas? Is this a C5 thing?
Ian
I have an unusual problem. A document transfer company has asked me to put some code on a page to create a login to their system.
They want this code:
<link rel="stylesheet" type="text/css" href="https://www.docserver1.co.uk/dsxc/client.css" />
<script id="dsxc_script" type="text/javascript" src="https://www.docserver1.co.uk/dsxc/client.js?acc=xx&integrated=true"></script>
in the header just before the closing tag and this code:
<iframe id="dsxc_iframe"></iframe>
in a content div in the body.
I've done this and uploaded the page. When viewing the source there is no sign of any of the code at all and as a result no login box.
I've never seen anything like this before. Has anybody got any ideas? Is this a C5 thing?
Ian
Ho hum...clear the cache.... thanks!
As already suggested, after clearing the c5 cache and browser cache...
Your iframe may be filtered out by the content block.
You could try an html block, or have a look at one of the iframe addon blocks - they may provide further capabilities to make this easier for you.
Your iframe may be filtered out by the content block.
You could try an html block, or have a look at one of the iframe addon blocks - they may provide further capabilities to make this easier for you.
Hi guys, I am having a similar problem to Ian.
I am trying to display a calendar booking script on a concrete5 page.
The calendar is installed in the same root directory as the concrete5 website.
The script provides the following instructions:
Put this in web page head tag:
<link type="text/css" rel="stylesheet" href="/booking/css/calendar.css" />
<link type="text/css" rel="stylesheet" href="/booking/ajax.php?controller=calendars&action=css&cid=1" />
<script type="text/javascript" src="/booking/js/custom.js"></script>
<script type="text/javascript" src="/booking/js/front.js"></script>
Put this where you want your calendar to appear on the web page:
<script type="text/javascript" src="/booking/load.php?cid=1&view=1"></script>
I have tried pasting the above code into the HTML block but nothing is displayed. I also tried to clear the cache with no success.
Any help would be greatly appreciated.
Update: I finally got this to work in the HTML Block. I have two websites on the same server and the script only allows access from the from the website with a root install.
I am trying to display a calendar booking script on a concrete5 page.
The calendar is installed in the same root directory as the concrete5 website.
The script provides the following instructions:
Put this in web page head tag:
<link type="text/css" rel="stylesheet" href="/booking/css/calendar.css" />
<link type="text/css" rel="stylesheet" href="/booking/ajax.php?controller=calendars&action=css&cid=1" />
<script type="text/javascript" src="/booking/js/custom.js"></script>
<script type="text/javascript" src="/booking/js/front.js"></script>
Put this where you want your calendar to appear on the web page:
<script type="text/javascript" src="/booking/load.php?cid=1&view=1"></script>
I have tried pasting the above code into the HTML block but nothing is displayed. I also tried to clear the cache with no success.
Any help would be greatly appreciated.
Update: I finally got this to work in the HTML Block. I have two websites on the same server and the script only allows access from the from the website with a root install.
Also, try clearing your browser cache, as well as the site cache through the dashboard.