Table of contents:
SocialXE Comment widget is suitable for promoting page and other pages or boards. It is a widget! so, you can put it on any XE based web-pages.
SocialXE Comment widget
Put SocialXE Comment widget on pages
To lay a SocialXE Comment widget on a page as the homepage of SocialXE Official website, you should have a document, which comments will be posted on.
Create a board that is a dummy board for SocialXE Comment widget. Disallow every authorities. SocialXE Comment widget would ignore every authority settings, and this setting would block undesirable access to the dummy board.
Then, make a document, and remember the document sequence number(document_srl) of the document.
The document sequence number of this document is 116.
Now, add a widget on the 'page modify' page.
- Document serial number, comment would be posted. : the serial number, you have remembered.
- Title of contents, posted on SNS : As it says, write which title do you want as linked text on SNS.
- Link url of contents, posted on SNS : Write the location of the page. The URL should not be a rewritten URL, like http://www.example.com/xe/page. It should be NOT 'rewrite' URL like http://www.example.com/xe/?mid=page, and it should have the 'mid' data. You can enjoy unfolding a bundle of comments to a comment function.
Show a bunch of comments to a comment, as you click 'social service' link
As you modify a page, the widget would be displayed with the dummy design.
Click 'Save' page, you can see the widget added.
As you display SocialXE Comment, one weak point would be seen. When someone click the link on a notification message, he or her may go to the document of the dummy board. Not to do this, there is a forwarding addon.
On SocialXE mid Forwarder addon, insert original document number and target mid. As you activate the addon, 'someone' would not see the dummy document, and go to the target page.
SocialXE Comment widget on board or other modules
SocialXE Comment widget can be applied at any modules of XE easily, because it's a widget. This manual can not show you every ways to apply, but it will show you 'How to catch the fish'.
To apply a widget, you should know which skin file ought to be modified, and variable names of a document, the module using. For example, the board module use view_document.html file to display a content, and the variable $oDocument to control a document.
If you found the skin files and variable names, put the widget code below on proper site of the skin file.
On the code before, change 'Skin name', 'ColorSet', 'Variable of a Document', and enter_send variable should be changed. The board module as a example, you can display SocialXE Comment widget by the code below.
Applying SocialXE Comment widget on the board module and Textyle module is explained at the blog post below. (in Korean)