 |
Tony
Newbie
|
Happy Holidays Everyone OK. Here's the picture. I have design a couple of sites in my time and in my designs made use of 'includes' for page headers / footers and menu bars. This is my first ebook and wanted to apply the same format to my pages. I understand activlink but can we apply this logic to include html files. This is probably not the first time you have been asked this but we have to start some where. The help files are good to get you started but has anyone written a manual. Details of page builds using the talked about features. Thanks for your help. Tony
|
Total Posts: 2 | Joined Dec. 2001 | Posted on: 11:28 am on Dec. 30, 2001 | IP
|
|
EBookCompiler
Sunil Tanna for Answers 2000 Limited
|
Yes, but not using the same syntax as ASP Make the file to be included in a folder outside the source folder, example - in the include folder if you used Activ Quick Project Make an Activ Variable, which is HTML include type, call it say myinclude, and browse the file to be included In whichever files that are doing includes, stick in [={myinclude}] Enable the PreProcessor (double click on the file in the Files tab and check the option or you can enable it for all HTML files) for the files that are doing the includes I like to use this trick myself a lot, as it can save a lot of cutting and pasting.
----- Create E-Books: http://www.ebookcompiler.com/
|
Total Posts: 1051 | Joined Mar. 2001 | Posted on: 1:37 pm on Dec. 30, 2001 | IP
|
|
spyderman
Newbie
|
I am fairly new to Includes. In fact, I recently tested my first SSI on my Web server with much success. My question is this... would this apply to SSI as well? Like I said, I am new to this because all my previous work has involved nothing more than plain ol' HTML, JavaScript, and CSS. Anyway, I've heard about SSI in the past, but never really investigated it until now. Plus, I stumbled upon information regarding this topic just a few days ago, tried a sample configuration on my host's Webserver, and it worked. If I can at least achieve similar results in Activ E-Book, that would cut down even more time for me. (Edited by spyderman at 11:13 am on Jan. 13, 2002) (Edited by spyderman at 11:14 am on Jan. 13, 2002) (Edited by spyderman at 11:15 am on Jan. 13, 2002)
|
Total Posts: 4 | Joined Dec. 2001 | Posted on: 4:00 pm on Dec. 30, 2001 | IP
|
|
EBookCompiler
Sunil Tanna for Answers 2000 Limited
|
The SSI syntax you use on your web site is different - same basic idea - different way of writing it from in ebooks (for examples below change the [ ] and into less-than and greater-than signs, I can't get the less-than and greater-than signs to show in my post) For .shtml files you normally use (if your web host has this feature enabled) [!--#include file="somefile.html" --] For .php files (if your web host has this feature enabled) [? include "somefile.html" ?] For .asp files [!--#INCLUDE FILE="somefile.html" --] In all 3 cases there can be a lot of other variations and features too, but this is the start. There can also be minor differences between different web hosts depending on how they set things up
----- Create E-Books: http://www.ebookcompiler.com/
|
Total Posts: 1051 | Joined Mar. 2001 | Posted on: 11:49 pm on Dec. 30, 2001 | IP
|
|
spyderman
Newbie
|
Thanks for the feedback. I will eventually try using the Pre-Processor soon, when time permits. If I have any further questions, I'll be sure to post them them here.
|
Total Posts: 4 | Joined Dec. 2001 | Posted on: 11:22 am on Jan. 13, 2002 | IP
|
|
Wiplinger
Newbie
|
I am still out of luck with the include thing: I have an Active variable paypal and donatenag These files are html type (with 1. no value, 2. path in relation to the project file, and 3. with a full path). I tried to name the file in the include directory paypal.html and paypal (donatenag.html and donate). Both does not work. ==== I found it, it is not HTML-Fragment, it is Compile time include HTML-Fragment, than it asks for the file location, .... The variable I type as: [={paypal}] or [={paypal.html}] (Edited by Wiplinger at 12:48 am on Sep. 25, 2002)
----- Internet Consultant http://www.elmit.com +886 915 653-452
|
Total Posts: 26 | Joined Sep. 2002 | Posted on: 4:52 pm on Sep. 23, 2002 | IP
|
|
 |
|
|