PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview of the Social Network control
  • Creating a Social Network control
  • Characteristics of the Social Network control
  • Process managed by default
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview of the Social Network control
The "Social network" control is a toolbar containing pictograms used to establish the link to the main social networks of the Web:
  • Facebook,
  • Tweeter,
  • Google+,
  • Linkedln,
  • Tumblr,
  • Delicious,
  • Versions 23 and later
    Pinterest
    New in version 23
    Pinterest
    Pinterest
In most cases, this control is inserted into a site or on the side of an article.
This control allows the Web user to perform two types of actions:
  • Share his experience with the community of his social network.
  • Evaluate a page or a site via the "I like" feature of Facebook or the "+1" feature of Google+.
Note: The Social Network control is not available for the Ajax and browser loopers. The Social Network control is available for the standard loopers only.
Creating a Social Network control
To create a Social Network control:
  1. On the "Creation" pane, in the "Usual controls" group, expand "Button" and select the type of social network to use.
  2. Click the position where the control will be created in the page. The control appears in creation mode.
To create a Social Network control:
  1. On the "Creation" pane, in the "Integration" group, expand "Social networks" and select the type of social network to use.
  2. Click the position where the control will be created in the page. The control appears in creation mode.
To display the characteristics of the control:
  1. Select the control corresponding to the social network you want.
  2. Select "Description" from the popup menu of the control.
Characteristics of the Social Network control
The "General" tab of the control description is used to define:
  • The type of link to display. One or more types of buttons can be displayed for each social network:
  • The target of the action on the social network. This target can be:
    • the domain. A click on the Social Network control will create a link to the actual domain of the current site.
    • the site. A click on the Social Network control will create a link to the current site (which means the current address without the name of the page).
    • the current page. A click on the Social Network control will create a link to the current page of the WEBDEV site. If the WEBDEV site is a dynamic site, the link will be performed toward the domain.
    • a custom target. A click on the Social Network control will create a link to a site other than the current site. This site can be specified in the "URL or target account" control.
      See Available targets for each type of link for more details.
  • URL or target account: URL address or account address that must be used for a custom target.
    See Available targets for each type of link for more details.
    Target URL: URL address to use when the target is customized (for a "Tweeter" link for example).
  • Target account: Address of the account to use when the target is customized (for a "Follow" link for example).
    See Available targets for each type of link for more details.
Some options can be configured according to the type of link:
  • Display the number of shares in a tooltip: If this option is checked, the number of shares will be displayed in a tooltip beside the Social Network control.
  • Ask the social network for a display in the current language of the page: If this option is checked, the button characteristics will be displayed in the page language (for example, the caption of "Recommend" button will be automatically translated).
Depending on the type of link, you have the ability to:
  • Use the native button recommended by the social network. In this case, some options can be configured:
    • Display the number of shares in a tooltip: If this option is checked, the number of shares will be displayed in a tooltip beside the Social Network control.
    • Ask the social network for a display in the current language of the page: If this option is checked, the button characteristics will be displayed in the page language (for example, the caption of "Recommend" button will be automatically translated).
  • Use a custom image link. In this case, all you have to do is select the image to use.
    Caution: You must comply with the use conditions of social networks, especially the restrictions regarding the images in the links that direct to their services. Use the official images supplied by the sites.
Process managed by default
WEBDEV manages the following process by default:
ProcessRuntime condition
Initialization (Server code)Run when opening the page
Related Examples:
Photo_Gallery Complete examples (WEBDEV): Photo_Gallery
[ + ] This example is a site of photo gallery and it includes 2 main sections:
- the "visitor" section, developed in AWP mode therefore referenceable.
- the management section, developed in standard WEBDEV mode therefore secured.  
 
Among the available features, you will find:
- an organization of your photos by album
- different modes for presentation the photos: slide show mode, scroll mode, detailed mode
- a link to the social networks
- the ability for the visitors to comment your publications
- a contact form
- for the site management, you have the ability to upload your photos, to describe them, to turn them around, to encrust a watermark..
Minimum required version
  • Version 18
Comments
Click [Add] to post a comment