XF 2.2 facebook share button


I am trying to use share buttons in my addons loop and each item in loop has own share buttons to share its content and all of them work fine except Facebook button even when i use arg-pageTitle with share_page_macros it take page title instead of arg-pageTitle.

I use macro inside my loop like below:

<xf:macro template="share_page_macros" name="buttons"
                                      arg-hideLink="{{ true }}"
                                      arg-label="{{ phrase('hesn_share_this_doaa')}}"
                                      arg-iconic="{{ true }}" />

And as action.js file if arg-pageTitle is not empty it should use it instead of title of page and this is what i want but unfortunately it doesn't work.
Top Bottom