Edit Webpages
|
|
||
NOTE: This is Technical Information intended for users with HTML programming experience.
You can edit webpages in the program Web Page editor, or you can use Microsoft FrontPage or another HTML editor that you prefer.
Control Tags in the templates add data entry and display fields and other controls (i.e. buttons, links, etc.) so that users can control the data required for the registration process. When adding controls to a template, the control needs to be surrounded with braces and percent signs. This will place the control in that position on the page you are editing. e.g. {%Control%} {%txtEventName%} txt = text from the database {%lblFirstName%} lbl = a caption {%editFirstName%} edit = edit box where information can be entered or selected You can also add some properties to each of the controls to change the size, position, and look of the control. To add a property to a control, you just need to add after the control name the property name followed by an equal sign and then the value. Separate each property with a space. i.e. {%Control Property1=Value1 Property2=Value2%} Some common properties that you may want to set are as follows.
Some pages also contain special controls that can only be used on specific pages. One important control is on the main template page, Template.html. As you learned above in Template Setup: Main Template File (Template.html) and Individual Page Template Files, the main Template page contains the PageContent control, which shows Attendee Online where the requested page should be placed on the page. If the template page does not contain a PageContent control, then none of the requested pages would be displayed. |
You can edit the Registration Contact page in the EventPro Planner Web Page Editor, or you can edit the RegContactPage.html in another HTML Editor. Attendee Online will select the a template to use based on a hierarchy - see Which Templates are Used. Regardless of which template you edit, you must complete two steps in order to have the fields you want appear on the web pages.
|
You can change the RegItemControl found on the RegDetailPage, RegSubmitPage, RegAcceptDeclinePage, RegEditDetailPage, RegEditSubmitPage, RegGuestDetailPage, and the RegGuestSubmitPage, in order to hide the quantity, charge and total columns in the registration detail table.
To hide the quantity, charge and total columns, you just need to add a parameter to the RegItemControl tag. The parameters are hidequantity, hidecharge, and hidetotal. For example, if you want to hide all three columns you would use: {%RegItemControl hidequantity hidecharge hidetotal%} You can also change the headings of the five columns in the registration detail table (RegItemControl). To change the heading of a registration detail column, you will need to add a parameter to the tag to say what the heading should be. The parameter would be a name and value pair, separated with an equal sign. The names of the parameters are title1, title2, title3, title4, and title5 for each of the five titles. The value must be entered in quotation marks. For example, to change the header of the first column to say Items, you would use: use {%RegItemControl title1="Items"%} You can use both of these parameters together, as in the following example: {%RegItemControl title1="Registration Items" hidecharge hidetotal%} |
The Attendee Types field is an example of a field you may want to add to the Registration Contact page. You can set the Default Attendee Type in the Online Event [Edit] window, but if you want online registrants to be able to select the Attendee Type, you need to add the field to the webpage.
|