Pages: 5 (1135 mots) Publié le: 1 février 2011
|   The Production Cycle |       |
After the ViewsFlash software is installed, here's what you will need to do to produce questionnaires.
Standard uestionnaires with default settings are dynamically composed by ViewsFlash, and are simply referred to by their URL, which is shown in a very visible box at the bottom of the the Publish page.
All you need to do is to use the URL in the Publishpage to direct visitors to the questionnaire:

If you use Invitation lists, emails use this this URL.
Standard questionnaires can easily be embedded in a JSP page.
In Portals, there is no production cycle. See the User Guide for your portal at www.cogix.com under JSR 168 portlet.
An embedded poll is one where the voting form and the results display are embedded inside a containing web page,thus requiring additional setup. If the site is using a content management system, each page containing a place is modified to include the appropriate publishing system tags in the spot reserved for the place. These tags ask ViewsFlash for the HTML fragments to use.
If you don't need to embed polls, skip the rest of this section.
In addition to using a JSP page (the easiest method) or an IFrame,two methods for embedding polls and results into a web site are described here. IFrames are found in the Support section of www.cogix.com.
If the site uses a Content Management System for dynamically constructing web pages, the ViewsFlash Web Services API provides the appropriate HTML fragments as needed. If a site does not use a Content Management System and uses static HTML, ViewsFlash can writefragments or even modify the pages where polls are embedded if necessary. Here are additional considerations.
Feature | Content Management System | Shared Files |
ViewsFlash provides Poll voting form HTML fragments | via an HTTP request | by writing them to shared file system |
Containing pages must have | tag to invoke WPS | <vwf=embed> and <vwf=endembed> tags |
File systemson two servers | completely separate | must be shared |
Display poll or results, depending on prior voting | easy | requires two complete pages |
Results can be live | yes | yes |
Results can be cached | yes | no |
  |   |   |
Settings to use in place Setup | Use "a complete web page" | Use "An HTML fragment" |
See also | Web Services API |   |
  |   |   |
  |   |   |
  |   |   |Producing whole-page polls and surveys
1. The Designer should create a set of Style Templates to give the questionnaires the look and feel of your site. Start by copying the Standard_ template, and embellish it as appropriate, adding headers, banners, etc.. Similarly, use a copy of the Results template as a starting point for your own Response Template. Likewise, start with the MenuArchive orthe ListArchive templates and add to them accordingly.
Once these templates are created, you'll be able to reuse them over and over at many places.
2. The Editor, for each poll or survey, creates a place and chooses the appropriate templates. Settings should specify "whole page." After going through the normal design process, the URL is found in the Publish screen. The Designer uses that URL tolink to the poll page or to publicize the survey by e-mail to bring people to the polling page. The page can also be e-mailed directly to people using HTML-capable e-mail software.
Producing embedded polls by hand
This is by far the easiest way to create embedded polls. The Editor creates a place, using an embedded style template, and publishes a poll. The Designer goes to the Publish page,clicks on the link below the Submit button with the Poll URL, and copies the entire contents of the window that pops up to the proper spot in the page where the poll should appear. If the template included JavaScript for showing the results in a pop-up window, you're done.
Producing embedded polls and surveys with a content management system.
See the Automated Poll Rotation.
Producing embedded...
Lire le document complet

Veuillez vous inscrire pour avoir accès au document.

Vous pouvez également trouver ces documents utiles

  • Droi
  • Droi )))))))
  • Droi
  • Droi
  • Droi
  • Droi
  • Droi constitutinel
  • Les sources du droi

Devenez membre d'Etudier

c'est gratuit !