- Posts: 39
COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Remove the msg "View the embedded image gallery" When sharing to Facebook.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Remove the msg "View the embedded image gallery" When sharing to Facebook.
- Goh Yew Hoe
- Topic Author
- Offline
- Junior Member
"View the embedded image gallery online at: mydomain.com/dine-drink/item/412-macdonalds-test#sigProGalleriaf503d38ebb Print of..."
How can I actually fix that? I would like to remove that message.
Please Log in or Create an account to join the conversation.
- Katia
- Offline
- Platinum Member
- Posts: 4696
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Goh Yew Hoe
- Topic Author
- Offline
- Junior Member
- Posts: 39
sg.greatwalldeals.com/dine-drink/item/412-macdonalds-test
If you share that link to facebook or just share it thru the like button on that article, you will see it appears as...
"Limited time only! Save $1.95 during this special launch promo
  View the embedded image gallery online at: sg.greatwalldeals.com/dine-drink/item/412-macdonalds-test#sigProGalleriaf503d38ebb Print of..."
Please Log in or Create an account to join the conversation.
- Katia
- Offline
- Platinum Member
- Posts: 4696
The gallery will display in the joomla site but not in Facebook etc.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Goh Yew Hoe
- Topic Author
- Offline
- Junior Member
- Posts: 39
Would this make it more clear? The text are found nowhere in my article but is being picked up by Facebook because the gallery is at the top of the article. I would like to have that text removed so my article intro can be there.
Please Log in or Create an account to join the conversation.
- Goh Yew Hoe
- Topic Author
- Offline
- Junior Member
- Posts: 39
With some digging, I found the problem lies with this code.
<div class="sigProPrintMessage">
View the embedded image gallery online at:
<br><a title="Limited time only! Save .95 during this special launch promo" href="http://sg.greatwalldeals.com/dine-drink/item/412-macdonalds-test#sigProGalleriaf503d38ebb">http://sg.greatwalldeals.com/dine-drink/item/412-macdonalds-test#sigProGalleriaf503d38ebb</a>
</div>
<!-- JoomlaWorks "Simple Image Gallery Pro" Plugin (v2.5.7) ends here -->
Managed to remove it by doing a template overwrite and commenting out this code in /html/jw_sigpro/galleria/default.php
<?php/** if($itemPrintURL): ?>
<div class="sigProPrintMessage">
<?php echo JText::_('JW_SIGP_PLG_PRINT_MESSAGE'); ?>:
<a title="<?php echo $row->title; ?>" href="<?php echo $itemPrintURL; ?>"><?php echo $itemPrintURL; ?></a>
</div>
<?php endif; */?>
That removed the embedded image gallery message. However... the &nbsp; is still there and I can't seems to remove it.. seems to be a leftover from somewhere... or because of the gallery tag.
Update: AH! Found the last culprit. Still in default.php, I removed in there and that solved the problem. Now facebook scrape the url properly and return with just my article text.
</li>
<?php endforeach; ?>
<li class="sigProClear"> </li>
Hope this helps whoever has the same problem!
Please Log in or Create an account to join the conversation.
- TheAnt
- Offline
- Premium Member
- Posts: 112
Goh Yew Hoe wrote: Update:
Update: AH! Found the last culprit. Still in default.php, I removed in there and that solved the problem. Now facebook scrape the url properly and return with just my article text.
</li> <?php endforeach; ?> <li class="sigProClear"> </li>
Hope this helps whoever has the same problem!
Hello, please where is the “default.php” file in Joomla 3? I've the same problem.
Thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
Can you send me a link to your site?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- TheAnt
- Offline
- Premium Member
- Posts: 112
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Remove the msg "View the embedded image gallery" When sharing to Facebook.