|
|
| Topic: How to use insert templates
|

|
![]](/skins/default/forum_images/left-side-table-bg.gif) |
| Author |
|
Support Admin Group

Joined: 11 October 2006
Australia Posts: 89
|
| Posted: 01 October 2008 at 11:19pm | IP Logged
|
|
|
Using scripting languages like ASP, CFM, PHP pages can be made on the fly using templates for common objects like header, menu, footer, etc.
In FrontPage you can also do this using .htm pages.
The practice makes updating a web site very easy because to change update the logo and header info on al pages, you only have to modify the one page.
In ASP the code used for such an insert might look like...
<!--#include file="page_header.asp"-->
In Frontpage .htm it might look like...
<!--webbot bot="Include" U-Include="page_header.htm" TAG="BODY" -->
Adding the Copysafe Web image in the header will protect all pages using that particular header. If all pages within the site are using the same header but you don't want them all copy protected, simply make a second header insert to use on those pages to be protected.
|
Back to Top  |
|
| |
Support Admin Group

Joined: 11 October 2006
Australia Posts: 89
|
| Posted: 01 October 2008 at 11:29pm | IP Logged
|
|
|
For Copysafe Web 4.0 the code for an image insert might look like...
<script src="csrun.js"></script> <script language="JavaScript" type="text/javascript"> <!-- insertCopysafeImageLite("small_logo_0030_0030_C.class"); //--> </script>
This is an example from using the JavaScript template in the program. Another template will create the same code in ASP.
From the ASP template programmers using other scripting languages like PHP should be able to easily make their own PHP templates.
|
Back to Top  |
|
| |
|
![]](/skins/default/forum_images/right-side-table-bg.gif) |
If you wish to post a reply to this topic you must first login If you are not already registered you must first register
![]](/skins/default/forum_images/left-side-table-bg.gif) |
|
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum
| |
![]](/skins/default/forum_images/right-side-table-bg.gif) |
|