Social / TwitterViewHelper

ViewHelper to add a twitter button

Type: Tag Based

General properties

Name: Type: Description: Default value:
additionalAttributes array Additional tag attributes. They will be added directly to the resulting HTML tag.  
class string Class of link  
datacount string Button style. Can be “horizontal”, “vertical” or “none”  
datalang string Language of the twitter button. Can either be fr, it, de, es, ko or ja  
datarelated string Related twitter account.  
datatext string Text included in tweet when shared. Default is title of the page  
dataurl string Suggest a4 default Tweet for users. Default is current page title.  
datavia string Preferred twitter account.  
javaScript string JS URL. If not set, default is used, if set to -1 no Js is loaded