joomla-projects / plg_content_joomlarrssb Goto Github PK
View Code? Open in Web Editor NEWSocial sharing plugin for the joomla.org websites using Ridiculously Responsive Social Sharing Buttons
Social sharing plugin for the joomla.org websites using Ridiculously Responsive Social Sharing Buttons
When you click on the email share button and are using Outlook, you get the Title with + instead of spaces and a body call that stays in the subject line.
Changing line 25 of /plugins/content/joomlarrssb/tmpl/default.php
from
<a href="mailto:?subject=<?php echo urlencode($article->title); ?>body=<?php echo urlencode($itemURL); ?>">
to
<a href="mailto:?subject=<?php echo ($article->title); ?>&body=<?php echo urlencode($itemURL); ?>">
Appears to fix this.
Instead of using getimagesize
in the plugin use the wrapper in the Image API (\Joomla\CMS\Image\Image::getImageFileProperties
)
Hi there,
we have an issue on j.org/3 that the /3 is shown twice
<meta http-equiv="og:url" content="http://repository.joomla.org/3/3/161-the-revolution-in-joomla-ux-improvements">
Don´t know if there is a misconfiguration or bug. Please help :-)
"The provided 'og:image' properties are not yet available because new images are processed asynchronously. To ensure shares of new URLs include an image, specify the dimensions using 'og:image:width' and 'og:image:height' tags."
https://developers.facebook.com/docs/sharing/best-practices/#precaching
Can you add this into the plugin? :) THANKS!!!
We have the facebook tags - it would be great to have the twitter tags as well - the code to create them is almost identical
Refactor display logic to allow settings to be configured on a per-category basis. Use subform for this.
I like this little plugin and it works well for me. I realise it has limited scope but it does break the API for me.
Steps to reproduce
/api/index.php/v1/content/articles
with a correctly set tokeneverything.php log
`#
#
#Date: 2021-10-04 21:14:48 UTC
#Software: Joomla! 4.0.3 Stable [ Furaha ] 12-September-2021 10:39 GMT
#Fields: datetime priority clientip category message
2021-10-04T21:14:48+00:00 CRITICAL 86.27.156.11 error Uncaught Throwable of type ArgumentCountError thrown with message "Too few arguments to function PlgContentJoomlarrssb::onContentPrepare(), 3 passed in [...]libraries/src/Plugin/CMSPlugin.php on line 285 and exactly 4 expected". Stack trace: #0 [...]libraries/src/Plugin/CMSPlugin.php(285): PlgContentJoomlarrssb->onContentPrepare('com_content.art...', Object(stdClass), NULL)
#1 [...]libraries/vendor/joomla/event/src/Dispatcher.php(486): Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin{closure}(Object(Joomla\Event\Event))
#2 [...]libraries/src/Application/EventAware.php(111): Joomla\Event\Dispatcher->dispatch('onContentPrepar...', Object(Joomla\Event\Event))
#3 [...]api/components/com_content/src/View/Articles/JsonapiView.php(196): Joomla\CMS\Application\WebApplication->triggerEvent('onContentPrepar...', Array)
#4 [...]libraries/src/MVC/View/JsonApiView.php(128): Joomla\Component\Content\Api\View\Articles\JsonapiView->prepareItem(Object(stdClass))
#5 [...]api/components/com_content/src/View/Articles/JsonapiView.php(151): Joomla\CMS\MVC\View\JsonApiView->displayList()
#6 [...]libraries/src/MVC/Controller/ApiController.php(275): Joomla\Component\Content\Api\View\Articles\JsonapiView->displayList()
#7 [...]api/components/com_content/src/Controller/ArticlesController.php(78): Joomla\CMS\MVC\Controller\ApiController->displayList()
#8 [...]libraries/src/MVC/Controller/BaseController.php(730): Joomla\Component\Content\Api\Controller\ArticlesController->displayList()
#9 [...]libraries/src/Dispatcher/ApiDispatcher.php(59): Joomla\CMS\MVC\Controller\BaseController->execute('displaylist')
#10 [...]libraries/src/Component/ComponentHelper.php(389): Joomla\CMS\Dispatcher\ApiDispatcher->dispatch()
#11 [...]libraries/src/Application/ApiApplication.php(423): Joomla\CMS\Component\ComponentHelper::renderComponent('com_content')
#12 [...]libraries/src/Application/ApiApplication.php(110): Joomla\CMS\Application\ApiApplication->dispatch()
#13 [...]libraries/src/Application/CMSApplication.php(278): Joomla\CMS\Application\ApiApplication->doExecute()
#14 [...]api/includes/app.php(54): Joomla\CMS\Application\CMSApplication->execute()
#15 [...]api/index.php(31): require_once('[...]...')
#16 {main}`
Look, they don't develop it anymore. Really cool visually. example rod-lubocza.pl.
what can i do with the buttons?
I don't like that the buttons span the entire width of the container. an icon alone would suffice.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.