Custom subscription form

  Previous topic Next topic Print this topic Mail us feedback on this topic!

  Default  
  Web part control ID: Serves as an identifier for the web part. This ID must be unique within the context of each page template. The value of this property may only contain alphanumeric characters and the underscore character ( _ ).  
  Web part title: Title of the web part displayed on the Design tab of CMS Desk and in on-site editing mode. If empty, the value of the Web part control ID property is used for this purpose.  
   

  Visibility  
  Visible: Indicates if the web part should be displayed.  
  Hide on subpages: Indicates if the web part should be hidden on sub-pages. If checked, the web part will not be displayed on documents that inherit the web part from a parent document.  
  Show for document types: Contains a list of document types on which the web part should be displayed. If the currently selected document uses the page template containing this web part, but its type is not specified by this property, the web part will be hidden. The document types in the list must be specified by their code names and separated by semicolons (;). If empty, the web part will be displayed on all document types.  
  Display to roles: Contains a list of roles to which the web part should be displayed. This may be used to implement documents with specific functionality for different types of users. The roles in the list must be specified by their code names and separated by semicolons (;). If empty, the web part will be displayed to all users.  
   

  Design  
  Alternative form: Can be used to select the alternative form that will be displayed by the web part. To manage these alternative forms, go to CMS Site Manager -> System tables -> Newsletter - Subscriber -> Alternative forms. Here you can create a completely custom form or modify the behavior of existing fields.  
   

  Dialog settings  
  Newsletter name: Selects the newsletter to which users will be able to subscribe through the dialog. The (let the user choose) option allows users to select from all newsletters on the current site using checkboxes displayed below the dialog.  
  Display captcha control: Indicates if a CAPTCHA security check should be required before allowing users to subscribe to a newsletter.  
  Captcha text: Sets the text displayed before the verification field where users have to enter the content of the CAPTCHA image.  
  Submit button text: Sets the text caption of the button used to submit the subscription requests.  
  Use image button: Indicates if an image button should be used instead of the standard subscription button.  
  Image button URL: Specifies the URL of the image used for the subscription button (if the Use image button property is enabled).  
  Subscription confirmation message: Can be used to enter a message that will be displayed after successful subscription. If empty, the default message will be used.  
  Subscription error message: Can be used to enter a message that will be displayed if the subscription fails. If empty, the default error message will be used.  
  Message for already subscribed visitors: Can be used to enter a message that will be displayed if subscriber is already subscribed. If empty, the default message will be used.  
  Allow user subscribers: Indicates if authenticated users should be allowed to subscribe to a newsletter without having to fill in any information. In this case, the input fields of the dialog are hidden and the name and the e-mail address is taken directly from the system.  
  Send confirmation e-mail: Indicates if a confirmation e-mail should be sent to users after they successfully subscribe. The format of this e-mail is based on the Subscription confirmation template used by the given newsletter.  
   

  Conversion tracking  
  Track conversion name: Selects the conversion that will be logged when a user successfully subscribes to a newsletter.  
  Conversion value: Sets a number that will be recorded along with the conversion when the tracked action is performed. The values are cumulative, i.e. when a conversion hit is logged, the specified value will be added to the total sum previously recorded for this conversion. If you wish to specify a dynamic value, insert an appropriate macro expression by clicking the arrow icon (Edit value) next to the field.  
   

  Web part container  
  Web part container: Specifies the name of the container (box) to be displayed around the web part. Only containers defined in Site Manager -> Development -> Web part containers can be selected. The selected container can be edited directly by using the Edit button.  
  Container title: Sets a title for the container. This title is displayed only if the {%ContainerTitle%} macro is used in the code of the container.  
  Container CSS class: CSS class used for the container. Applied only if the {%ContainerCSSClass%} macro is used as the value of the Class attribute in the code of the container.  
  Container custom content: Custom content to be used in the container. Applied only if the {%ContainerCustomContent%} macro is used in the code of the container.  
  Hide container on subpages: Indicates if the web part container should be hidden on sub-pages.  
   

  HTML Envelope  
  Content before: HTML content placed before the web part. Can be used to display a header or add some encapsulating code, such as <div> or <table> elements to achieve the required layout.  
  Content after: HTML content placed after the web part. Can be used to display a footer or close the tags contained in the ContentBefore value, such as </div> or </table> elements.  
   

  AJAX  
  Use update panel: Indicates if an AJAX UpdatePanel container should be used for this web part.  
   

  Time zones  
  Time zone: Specifies the type of time zone used for the content of the web part.  
  Custom time zone: May be used to assign a custom time zone specifically for the content of this web part. If selected, the time zone will be used regardless of current user or website time zone settings.  
   

  Performance  
  Disable view state: Indicates if view state should be disabled for this web part.  
  Disable macros: If checked, macros contained in the values of the web part's properties will no longer be resolved.  
  Partial cache minutes: Sets the number of minutes for which the output HTML code of the web part should remain cached. This process is similar to full-page caching, but only for the code of the web part specifically. If left empty or set to 0, partial caching will be not be used for the web part.  
  Partial cache dependencies: Contains a list of cache keys on which the partial cache of the web part depends. When the specified cache items change, the partial cache of the web part is deleted. Each line may contain a single item only. If the 'Use default cache dependencies' box is checked, the default dependencies will be used, which include all possible object changes that could affect the specific web part.  
   

  Output filter  
  Filter output HTML of web part: If checked, the output code of this web part is processed by the output filters  
  Resolve URLs: If checked, the filter removes the "~" character in relative URLs and replace it with the root URL of the website.  
  Fix attributes: If checked, the filter ensures that all HTML tag attributes are in valid XHTML format.  
  Fix Javascript: If checked, the filter ensures that the type and language attributes are included in all <script> tags.  
  Fix lower case: If checked, the filter ensures that all HTML tags and attributes are generated in lower case.  
  Fix self closing tags: If checked, the filter ensures that HTML tags without end tags are properly closed.  
  Fix tags: If checked, the filter replaces tags that are not XHTML valid with appropriate equivalents (<strong> instead of <b>, <em> instead of <i>).  
  Fix HTML5: If checked, the filter replaces attributes that are obsolete in HTML5 with CSS classes named in format <attribute name>_<attribute value>. The affected attributes are: cellpadding, cellspacing, width, height, border, align, valign  
  Convert TABLE tags to DIV tags: If enabled, the TABLE tags in the output are automatically converted to DIV tags with CSS class corresponding to the tag name (table, tr, td, etc.) Blocks of HTML code can be optionally marked with class="_divs" or class="_nodivs" to allow or disable conversion for that particular block of code.  
   

Help URL: http://devnet.kentico.com/docs/webparts/index.html?CustomSubscriptionForm_properties.htm