Hi, i have a site where users can create simple pages using K2 frontend editor, then after saving, in the popup/system message confirming that the operation is done I created a simple FB sharing button (made with addThis).
Now, the button needs an absolute URL to know what to share, and here's my question: how can I "generate" (through PHP i suppose) the URL of the just created article to feed to the share button?
Thanks in advance.
Now, the button needs an absolute URL to know what to share, and here's my question: how can I "generate" (through PHP i suppose) the URL of the just created article to feed to the share button?
Thanks in advance.