Modifying Page.Asp
Last Modified: October 9, 2006
ePublisher Pro
The purpose of this article is to explain how to modify the Page.asp file using project target overrides for changes to an ePublisher Pro project that are not available through the GUI.
Some project modifications cannot be made through the GUI so we have created this article to provide steps for modifying the Page.asp file using project target overrides. When you create a project format override you are only overriding the specific file that you want to modify; you are also ensuring that these modifications are not lost when installing updates to ePublisher Pro.
Instructions for creating project target overrides
For example, if you chose WebWorks Help 5.0 as the format when creating this project you will already have a target that, by default, is named WebWorks Help 5.0.
Figure 1 WebWorks Help 5.0 is the Active Format Target shown below
3) |
Go to View > User Files. |
4) |
Navigate up one level to the same directory where your .wep ePublisher Pro project file is located. |
5) |
Create a new folder named Targets. |
|
The directories ePublisher Pro looks for are case-sensitive. Be sure to type the folder names exactly the way they are typed in the installation directory structure. |
6) |
Open the Targets directory you just created. |
7) |
Create a new folder and assign it the name of the Active Format Target in your project. See Figure 1 |
9) |
Open a new explorer window and navigate to the Formats folder located in the ePublisher Pro installation directory. By default, it is located in |
10) |
Within the Formats directory, open the directory of the format from which you have based the target, chosen in step 1. |
For example, if the target you are creating overrides for is based on the WebWorks Help 5.0 format, you should open the WebWorks Help 5.0 directory in Formats.
12) |
Within the Targets directory that you created in step 5, recreate the directory path that leads to the file you copied in step 11. Then paste the copied file here. |
For this example, since you are overriding the page.asp
file for your new format target based on the WebWorks Help 5.0 format, you would create within your new Targets
directory a new folder called Pages
, and paste the file here.
Page.asp
1) |
In the steps above you will have copied and pasted Page.asp into your project directory and will be making the modifications to this file. |
|
It is not necessary to copy any files into the project |
2) |
After you have made the modifications you want to make to the file in your project directory, save the file and the next time you Generate All in your ePublisher Pro project, this file will replace the default file (thus overriding it), and the changes you made will be incorporated into the output. |
3) |
When you save the ePublisher Pro project as stationery, the project target overrides you have created will be saved in your stationery. |
This stationery can then be used to create future projects, while maintaining these modifications throughout your future projects.