Implemented Share text is different from Auto Insert Button & via Module.
- Tommy Slash
- Topic Author
- Offline
Less
More
- Posts: 17
- Thank you received: 0
Share text is different from Auto Insert Button & via Module. was created by Tommy Slash
Download link:
Hi Ruud,
I have come across a difference in the text shared when using the social buttons in a Module and from the Auto Insert Buttons in the article.
On the home page, it appears to include all the text regardless of via module or auto inserted buttons, however on all other pages the following happens when pressing the Tweet button.
Share from in a module, text is: Article name | Site name [Link]
Share from Auto Insert Buttons, text is: Article name [Link]
Is it possible to have the Auto Insert Buttons include all the text?
This message contains confidential information
Hi Ruud,
I have come across a difference in the text shared when using the social buttons in a Module and from the Auto Insert Buttons in the article.
On the home page, it appears to include all the text regardless of via module or auto inserted buttons, however on all other pages the following happens when pressing the Tweet button.
Share from in a module, text is: Article name | Site name [Link]
Share from Auto Insert Buttons, text is: Article name [Link]
Is it possible to have the Auto Insert Buttons include all the text?
Last edit: 5 years 9 months ago by Ruud van Lent. Reason: added downloadlink to test version
The topic has been locked.
- Ruud van Lent
- Offline
Less
More
- Posts: 1469
- Thank you received: 100
Replied by Ruud van Lent on topic Share text is different from Auto Insert Button & via Module.
Hi,
the difference is that the auto buttons are triggered via the article, the article has a title and the article title is used.
The module is triggered from potentially any page, so there is / or is not an article title: the module has no knowledge of this. The module will therefore take the page title.
I will have a look if it is doable to configure autobuttons to either take the article title or the page title. Need to think this one thru to see if it is possible and if so what would be the best way to do this (as there are also autobuttons for other components, so not only joomla content related).
the difference is that the auto buttons are triggered via the article, the article has a title and the article title is used.
The module is triggered from potentially any page, so there is / or is not an article title: the module has no knowledge of this. The module will therefore take the page title.
I will have a look if it is doable to configure autobuttons to either take the article title or the page title. Need to think this one thru to see if it is possible and if so what would be the best way to do this (as there are also autobuttons for other components, so not only joomla content related).
The topic has been locked.
- Ruud van Lent
- Offline
Less
More
- Posts: 1469
- Thank you received: 100
Replied by Ruud van Lent on topic Share text is different from Auto Insert Button & via Module.
The topic has been locked.
- Tommy Slash
- Topic Author
- Offline
Less
More
- Posts: 17
- Thank you received: 0
Replied by Tommy Slash on topic Share text is different from Auto Insert Button & via Module.
Sorry for the late reply.
I tried the update, but it did't work. Instead it only gave a blank page with one line of text as examples below;
string(24) "Blog | example.com"
string(27) "Contact | example.com"
For the specific project I'm currently doing, I've decided to use only a module for social share buttons. For other projects in the future I'll revisit the Auto Include option.
Thanks for being so flexible to user requests.
I tried the update, but it did't work. Instead it only gave a blank page with one line of text as examples below;
string(24) "Blog | example.com"
string(27) "Contact | example.com"
For the specific project I'm currently doing, I've decided to use only a module for social share buttons. For other projects in the future I'll revisit the Auto Include option.
Thanks for being so flexible to user requests.
The topic has been locked.
- Ruud van Lent
- Offline
Less
More
- Posts: 1469
- Thank you received: 100
Replied by Ruud van Lent on topic Share text is different from Auto Insert Button & via Module.
Hi Slashdottom,
Thanks for the reply, sorry it didn't work. Looks like I have forgotten to remove my 'debug' code (show title and exit). Not sure tho as I have tested it myself ...
Are the titles in the white pages correct?
I am currently on vacation, can fix this when I am back end August.
Regards, Ruud
Thanks for the reply, sorry it didn't work. Looks like I have forgotten to remove my 'debug' code (show title and exit). Not sure tho as I have tested it myself ...
Are the titles in the white pages correct?
I am currently on vacation, can fix this when I am back end August.
Regards, Ruud
The topic has been locked.
- Tommy Slash
- Topic Author
- Offline
Less
More
- Posts: 17
- Thank you received: 0
Replied by Tommy Slash on topic Share text is different from Auto Insert Button & via Module.
Yes the titles appear to be correct.
Hope you're having a good vacation.
Regards,
Tommy
Hope you're having a good vacation.
Regards,
Tommy
The topic has been locked.
- Ruud van Lent
- Offline
Less
More
- Posts: 1469
- Thank you received: 100
Replied by Ruud van Lent on topic Share text is different from Auto Insert Button & via Module.
Hi Tommy,
my bad indeed. Did a last test on another test site and forgot to remove the debug code.
I have fixed it in the same file that you can re-download (first post).
Hope it works
regards,
Ruud.
my bad indeed. Did a last test on another test site and forgot to remove the debug code.
I have fixed it in the same file that you can re-download (first post).
Hope it works
regards,
Ruud.
The topic has been locked.