Permalink
Browse files

* Video Thumbnail Feature: Google Youtube video are now supported as …

…thumbnails in the related articles section

* Administrator panel
* Update server simplified
  • Loading branch information...
cedricwalter committed May 20, 2012
1 parent c7af362 commit aa32de404c928f3bd0fc67d7b9302e236893fd48
Showing with 639 additions and 94 deletions.
  1. +7 −7 a_installer.xml
  2. +34 −0 com_cedthumbnails/admin/cedthumbnails.php
  3. +4 −0 com_cedthumbnails/admin/config.xml
  4. +30 −0 com_cedthumbnails/admin/controller.php
  5. +3 −0 com_cedthumbnails/admin/controllers/index.html
  6. +3 −0 com_cedthumbnails/admin/helpers/index.html
  7. +3 −0 com_cedthumbnails/admin/index.html
  8. +3 −0 com_cedthumbnails/admin/models/index.html
  9. +3 −0 com_cedthumbnails/admin/views/frontpage/index.html
  10. +124 −0 com_cedthumbnails/admin/views/frontpage/tmpl/default.php
  11. +3 −0 com_cedthumbnails/admin/views/frontpage/tmpl/index.html
  12. +23 −0 com_cedthumbnails/admin/views/frontpage/view.html.php
  13. +3 −0 com_cedthumbnails/admin/views/index.html
  14. +38 −6 com_cedthumbnails/cedthumbnails.xml
  15. +3 −0 com_cedthumbnails/media/css/index.html
  16. BIN com_cedthumbnails/media/images/config.png
  17. BIN com_cedthumbnails/media/images/download.png
  18. BIN com_cedthumbnails/media/images/forum.png
  19. BIN com_cedthumbnails/media/images/frontpage.png
  20. BIN com_cedthumbnails/media/images/import.png
  21. +3 −0 com_cedthumbnails/media/images/index.html
  22. BIN com_cedthumbnails/media/images/jed.png
  23. BIN com_cedthumbnails/media/images/license.png
  24. BIN com_cedthumbnails/media/images/manual.png
  25. BIN com_cedthumbnails/media/images/paypal-donate.jpg
  26. BIN com_cedthumbnails/media/images/skype.png
  27. +3 −0 com_cedthumbnails/media/js/index.html
  28. +25 −0 com_cedthumbnails/site/cedthumbnails.xml
  29. +22 −23 com_cedthumbnails/{ → site}/helper.php
  30. 0 com_cedthumbnails/{ → site}/index.html
  31. +1 −8 mod_articles_latest_thumb/mod_articles_latest_thumb.xml
  32. +96 −0 mod_articles_latest_thumb/mod_articles_latest_thumb/horizontal.css
  33. +42 −0 mod_articles_latest_thumb/tmpl/horizontal.php
  34. +1 −8 mod_articles_popular_thumb/mod_articles_popular_thumb.xml
  35. +96 −0 mod_articles_popular_thumb/mod_articles_popular_thumb/horizontal.css
  36. +42 −0 mod_articles_popular_thumb/tmpl/horizontal.php
  37. +1 −8 mod_related_items_thumb/mod_related_items_thumb.xml
  38. +1 −3 plg_content_relatedthumbarticles/relatedthumbarticles.xml
  39. +22 −31 plg_content_relatedthumbarticles/relatedthumbarticles/controller.php
View
@@ -10,7 +10,7 @@
<creationDate>Dec 2011</creationDate>
<copyright>Copyright (C) 2011 waltercedric.com All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license>
- <version>2.5.3</version>
+ <version>2.5.5</version>
<description>Package Cedric Walter thumbnails</description>
<scriptfile>install.script.php</scriptfile>
@@ -19,13 +19,13 @@
</files>
<cogs>
- <cog type="component" client="site" access="0" enabled="true" protected="false" remove_admin_menu="true">
+ <cog type="component" client="administrator" access="0" enabled="true" protected="false">
com_cedthumbnails
- <name>CED Thumbnails component with reusable code shared by all other modules and plugins</name>
+ <name>CED Thumbnails</name>
</cog>
<cog type="plugin" client="site" ordering="1" access="1" enabled="true" protected="false">
plg_content_relatedthumbarticles
- <name>Plugin Related Articles</name>
+ <name>Plugin Related Articles With Thumbnails</name>
<description>This plugin displays other Articles that are related to the one currently being viewed. These relations are established by the Meta Keywords or using Joomla categories.</description>
</cog>
<cog type="library" enabled="true" protected="false">
@@ -35,17 +35,17 @@
</cog>
<cog type="module" client="site">
mod_articles_latest_thumb
- <name>Module Related Articles</name>
+ <name>Module Related Articles With Thumbnails</name>
<description>This is a drop in replacement for the Joomla! core module "Latest Articles", it offer the same level of features but also add thumbnails.</description>
</cog>
<cog type="module" client="site">
mod_articles_popular_thumb
- <name>Module Related Articles</name>
+ <name>Module Related Articles With Thumbnails</name>
<description>This is a drop in replacement for the Joomla! core module "Popular Articles", it offer the same level of features but also add thumbnails.</description>
</cog>
<cog type="module" client="site">
mod_related_items_thumb
- <name>Module Related Articles</name>
+ <name>Module Related Articles With Thumbnails</name>
<description>This is a drop in replacement for the Joomla! core module "Related Articles", it offer the same level of features but also add thumbnails. This Module displays other Articles that are related to the one currently being viewed. These relations are established by the Meta Keywords. </description>
</cog>
</cogs>
@@ -0,0 +1,34 @@
+<?php
+/**
+ * @package Component cedThumbnails for Joomla! 2.5
+ * @author waltercedric.com
+ * @copyright (C) 2012 http://www.waltercedric.com
+ * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html v3.0
+ **/
+defined('_JEXEC') or die('Restricted access');
+
+// Include dependencies
+jimport('joomla.application.component.controller');
+require_once (JPATH_COMPONENT . '/controller.php');
+
+
+$document = & JFactory::getDocument();
+$document->addStyleSheet(JURI::root() . '/media/com_cedtag/css/admintag.css');
+
+$jinput = JFactory::getApplication()->input;
+
+$controller = JFactory::getApplication()->input->get('controller');
+$task = JFactory::getApplication()->input->get('task');
+
+// Create the controller
+$classname = 'CedThumbnailsController' . $controller;
+
+$controller = new $classname();
+
+// Perform the Request task
+$controller->execute($task);
+
+// Redirect if set by the controller
+$controller->redirect();
+
+?>
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<config>
+
+</config>
@@ -0,0 +1,30 @@
+<?php
+/**
+ * @package Component cedThumbnails for Joomla! 2.5
+ * @author waltercedric.com
+ * @copyright (C) 2012 http://www.waltercedric.com
+ * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html v3.0
+ **/
+jimport('joomla.application.component.controller');
+jimport('joomla.application.input');
+
+/**
+ * Joomla Tag component Controller
+ *
+ */
+class CedThumbnailsController extends JController
+{
+ protected $default_view = 'frontpage';
+
+ function display()
+ {
+ $view = JFactory::getApplication()->input->get('view');
+ if (!isset($view)) {
+ JFactory::getApplication()->input->set('view', 'frontpage');
+ }
+ parent::display();
+ }
+
+}
+
+?>
@@ -0,0 +1,3 @@
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
@@ -0,0 +1,3 @@
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
@@ -0,0 +1,3 @@
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
@@ -0,0 +1,3 @@
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
@@ -0,0 +1,3 @@
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
@@ -0,0 +1,124 @@
+<?php
+/**
+ * @package Component cedThumbnails for Joomla! 2.5
+ * @author waltercedric.com
+ * @copyright (C) 2012 http://www.waltercedric.com
+ * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html v3.0
+ **/
+defined('_JEXEC') or die('Restricted access');
+
+// Load the javascript
+JHtml::_('behavior.framework');
+JHtml::_('behavior.modal', 'a.modal');
+?>
+
+<div class="tagpanel">
+ <!--
+ <div style="float: left;">
+ <div class="icon">
+ <a class="modal"
+ rel="{handler: 'iframe', size: {x: 875, y: 550}, onClose: function() {}}"
+ href="index.php?option=com_config&view=component&component=com_cedthumbnails&path=&tmpl=component"
+ title="<?php echo JText::_('CONFIGURATION FOR CedTags');?>"> <img
+ src="<? echo JURI::root() ?>/media/com_cedthumbnails/images/config.png"
+ alt="<?php echo JText::_('CONFIGURATION');?>"/>
+ <span><?php echo JText::_('CONFIGURATION');?></span></a></div>
+ </div>
+ -->
+ <div style="float: left;">
+ <div class="icon"><a href="http://www.waltercedric.com" target="_blank"
+ title="<?php echo JText::_('HOME PAGE');?>"> <img
+ src="<? echo JURI::root() ?>/media/com_cedthumbnails/images/frontpage.png"/>
+ <span><?php echo JText::_('HOME PAGE');?></span></a>
+ </div>
+ </div>
+ <div style="float: left;">
+ <div class="icon"><a
+ href="http://wiki.waltercedric.com/index.php?title=CedThumbnails_for_Joomla"
+ target="_blank"
+ title="<?php echo JText::_('MANUAL');?>"> <img
+ src="<? echo JURI::root() ?>/media/com_cedthumbnails/images/manual.png"/>
+ <span><?php echo JText::_('MANUAL');?></span></a>
+ </div>
+ </div>
+ <div style="float: left;">
+ <div class="icon"><a
+ href="http://forums.waltercedric.com"
+ target="_blank"
+ title="<?php echo JText::_('FORUM');?>"> <img
+ src="<? echo JURI::root() ?>/media/com_cedthumbnails/images/forum.png"/>
+ <span><?php echo JText::_('FORUM');?></span></a>
+ </div>
+ </div>
+ <div style="float: left;">
+ <div class="icon"><a
+ href="http://www.gnu.org/copyleft/gpl.html"
+ target="_blank"
+ title="<?php echo JText::_('LICENSE');?>"> <img
+ src="<? echo JURI::root() ?>/media/com_cedthumbnails/images/license.png"/>
+ <span><?php echo JText::_('LICENSE');?></span></a>
+ </div>
+ </div>
+ <div style="float: left;">
+ <div class="icon">
+ <a href="skype:cedric.walter?call"
+ title="<?php echo JText::_('SKYPE ME');?>"> <img
+ src="<? echo JURI::root() ?>/media/com_cedthumbnails/images/skype.png"/>
+ <span><?php echo JText::_('SKYPE ME');?></span></a>
+ </div>
+ </div>
+ <div style="float: left;">
+ <div class="icon">
+ <a href="http://extensions.joomla.org/extensions/news-display/articles-display/related-items/11491"
+ target="_blank"
+ title="<?php echo JText::_('JED VOTE');?>"> <img
+ src="<? echo JURI::root() ?>/media/com_cedthumbnails/images/jed.png"/>
+ <span><?php echo JText::_('JED VOTE');?></span></a>
+ </div>
+ </div>
+ <div style="float: left;">
+ <div class="icon">
+ <a href="http://www.waltercedric.com/downloads/thumbnails.html"
+ target="_blank"
+ title="<?php echo JText::_('Download');?>"> <img
+ src="<? echo JURI::root() ?>/media/com_cedthumbnails/images/download.png"/>
+ <span><?php echo JText::_('Download');?></span></a>
+ </div>
+ </div>
+
+
+
+
+
+</div>
+
+<div class="tagversion">
+
+ <p><a href="http://extensions.joomla.org/extensions/news-display/articles-display/related-items/11491" target="_blank">Joomla
+ cedThumbnails</a>
+ </p>
+
+ <p>
+
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
+ <input type="hidden" name="cmd" value="_s-xclick">
+ <input type="hidden" name="hosted_button_id" value="48HP9A7JU7BVS">
+ <img src="<? echo JURI::root() ?>/media/com_cedthumbnails/images/paypal-donate.jpg"
+ width="174px" heght="153px"
+ border="0" name="submit" title="PayPal - The safer, easier way to pay online!"/>
+ <img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1"
+ height="1">
+ </form>
+ </p>
+
+ <p>
+ <?php echo JText::_('VOTE at');?>
+ <a target="_blank"
+ href="http://extensions.joomla.org/extensions/news-display/articles-display/related-items/11491">Joomla
+ Extensions Directory</a>
+ </p>
+
+ <p>
+ &copy; 2012 <a href="http://www.waltercedric.com">www.waltercedric.com</a> GNU-GPL v3.0
+ </p>
+</div>
@@ -0,0 +1,3 @@
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
@@ -0,0 +1,23 @@
+<?php
+/**
+ * @package Component cedThumbnails for Joomla! 2.5
+ * @author waltercedric.com
+ * @copyright (C) 2012 http://www.waltercedric.com
+ * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html v3.0
+ **/
+defined('_JEXEC') or die();
+jimport('joomla.application.component.view');
+
+class CedThumbnailsViewFrontpage extends JView
+{
+ function display($tpl = null)
+ {
+ $this->defaultTpl($tpl);
+ }
+
+ function defaultTpl($tpl = null)
+ {
+ JToolBarHelper::title(JText::_('CedThumbnails'), 'tag.png');
+ parent::display($tpl);
+ }
+}
@@ -0,0 +1,3 @@
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
@@ -1,25 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
-<install type="component" version="1.7.0" overwrite="true" method="upgrade">
- <name>CedThumbnails</name>
+<extension type="component" version="2.5" method="upgrade">
+ <name>cedThumbnails</name>
<element>com_cedthumbnails</element>
<creationDate>01.12.2011</creationDate>
<author>Cedric Walter</author>
<authorEmail>www.waltercedric.com</authorEmail>
<authorUrl>www.waltercedric.com</authorUrl>
<copyright>(c) 2011 Cedric Walter www.waltercedric.com</copyright>
<license>http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license>
- <version>2.5.3</version>
+ <version>2.5.5</version>
<description>Related/popular/latest posts with thumbnails for Joomla. Use the library WideImage for PHP.
3 modules and 1 plugin Extensions.</description>
- <files>
+ <!-- Extension Update Specification -->
+ <!-- Note: No spaces or linebreaks allowed between the server tags -->
+ <updateservers>
+ <server type="extension" priority="1" name="Extension Update Site">http://www.waltercedric.com/update/components/com_cedthumbnails/extension.xml</server>
+ <server type="collection" priority="2" name="Collection Update Site">http://www.waltercedric.com/update/update.xml</server>
+ </updateservers>
+
+ <media folder="media" destination="com_cedthumbnails">
+ <folder>css</folder>
+ <folder>images</folder>
+ <folder>js</folder>
+ </media>
+
+ <files folder="site">
<filename>cedthumbnails.xml</filename>
<filename>helper.php</filename>
<filename>index.html</filename>
</files>
- <administration></administration>
+ <administration>
+ <menu link="option=com_cedthumbnails">cedThumbnails</menu>
+
+ <files folder="admin">
+ <filename>controller.php</filename>
+ <filename>cedthumbnails.php</filename>
+ <filename>index.html</filename>
+ <filename>config.xml</filename>
+ <folder>views</folder>
+ <folder>helpers</folder>
+ <folder>models</folder>
+ <folder>controllers</folder>
+ </files>
+<!--
+ <languages folder="admin">
+ <language tag="en-GB">language/en-GB.com_cedthumbnails.ini</language>
+ <language tag="zh-CN">language/zh-CN.com_cedthumbnails.ini</language>
+ </languages>
+ -->
+ </administration>
-</install>
+</extension>
@@ -0,0 +1,3 @@
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,3 @@
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,3 @@
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
Oops, something went wrong.

0 comments on commit aa32de4

Please sign in to comment.