How to insert the calendar box (from my calendar) in another page
Insert calendar box using Inline Frame (use this method when adding calendar in template editable area)
- add inline frame widget
- define url for inline frame : http:/mywebsite.com/folder/calendar_page.php?action=showcal (replace this with real url of your calendar)
- set height of inline frame to +- 300 and width to +- 180
Insert calendar box using Insert HTML (use this method, when adding calendar on single page)
- Go to the page where you want to insert the calendar box
- Select Insert HTML
- Paste the following code:
- Open Page Settings panel for this page and go to Scripts/Page Background tab
- Paste the following code:
< link type="text/css" href="../ezg_calendar/XX_cal_textstyles.css" rel="STYLESHEET" title="Calendar">
Where XX is ID of your calendar page.
If page is in root, remove '../'.
You can find the page ID number by clicking on your page in EZG and looking right above the page settings tab (top left side) (in EZG4 it's on the bottom left hand side), where is says something like WEB Calendar [documents/calendar.php] [XX] --> that number is your page ID
!!! Make sure to remove the space between < and script/link
Survey generated embed code
Generate Embed Code area:
2 options available:
- Use this without users identification - it simply creates and iFrame code that can directly be put on some external page (site) and it will show the survey, cleaned from the template survey site use (custom CSS can be added, as well as some extra settings to make it look as preferred). In this case all customers are processed as guests.
- If user identification is used, 2 extra parameter are passed via script, that allow user recognition. Paremeters "markers" are filled in the corresponding fields and after that, when this code is put on the external page (site), these markers must be replaced with unique id and some name (name is not necessarily unique). Parsing can be done via PHP or JS and markers must be replaced with information about current logged user on the external site. This is up to the external site admins/developers how they will replace properly this information.
- When users are processed as guests, their responses are processed (added into the statistics) only when they reach the final page. Also they cannot turn back and edit their answers.
- If option 2 is set up, then users are know to the system and they can re-open the survey and edit what they have filled. System keeps the information they have filled, auto-fill it when they open given page and they edit what they want. Changes are reflecting the statistics. Their responses are processed on every page submit (when they click "next" or "previous" buttons).