Version Notes
This is stable version form Helios Solutions.
Download this release
Release Info
Developer | Helios |
Extension | Helios_Videogallery |
Version | 0.1.1 |
Comparing to | |
See all releases |
Code changes from version 0.1.0 to 0.1.1
- app/code/community/Helios/Videogallery/Block/Adminhtml/Videogallery.php +2 -2
- app/code/community/Helios/Videogallery/Block/Adminhtml/Videogallery/Edit.php +4 -4
- app/code/community/Helios/Videogallery/Block/Adminhtml/Videogallery/Edit/Tab/Form.php +8 -2
- app/code/community/Helios/Videogallery/Block/Adminhtml/Videogallery/Grid.php +5 -5
- app/code/community/Helios/Videogallery/etc/config.xml +1 -1
- app/code/community/Helios/Videogallery/etc/system.xml +1 -1
- app/code/community/Helios/Videogallery/sql/videogallery_setup/{mysql4-install-0.1.0.php → mysql4-install-0.1.1.php} +0 -0
- app/etc/modules/Helios_Videogallery.xml +1 -1
- package.xml +7 -7
- skin/adminhtml/default/default/images/Helios/Thumbs.db +0 -0
app/code/community/Helios/Videogallery/Block/Adminhtml/Videogallery.php
CHANGED
@@ -8,8 +8,8 @@ class Helios_Videogallery_Block_Adminhtml_Videogallery extends Mage_Adminhtml_Bl
|
|
8 |
|
9 |
$this->_controller = "adminhtml_videogallery";
|
10 |
$this->_blockGroup = "videogallery";
|
11 |
-
$this->_headerText = Mage::helper("videogallery")->__("
|
12 |
-
$this->_addButtonLabel = Mage::helper("videogallery")->__("Add New
|
13 |
parent::__construct();
|
14 |
|
15 |
}
|
8 |
|
9 |
$this->_controller = "adminhtml_videogallery";
|
10 |
$this->_blockGroup = "videogallery";
|
11 |
+
$this->_headerText = Mage::helper("videogallery")->__("Manage Youtube Videos");
|
12 |
+
$this->_addButtonLabel = Mage::helper("videogallery")->__("Add New Video");
|
13 |
parent::__construct();
|
14 |
|
15 |
}
|
app/code/community/Helios/Videogallery/Block/Adminhtml/Videogallery/Edit.php
CHANGED
@@ -9,8 +9,8 @@ class Helios_Videogallery_Block_Adminhtml_Videogallery_Edit extends Mage_Adminht
|
|
9 |
$this->_objectId = "videogallery_id";
|
10 |
$this->_blockGroup = "videogallery";
|
11 |
$this->_controller = "adminhtml_videogallery";
|
12 |
-
$this->_updateButton("save", "label", Mage::helper("videogallery")->__("Save
|
13 |
-
$this->_updateButton("delete", "label", Mage::helper("videogallery")->__("Delete
|
14 |
|
15 |
$this->_addButton("saveandcontinue", array(
|
16 |
"label" => Mage::helper("videogallery")->__("Save And Continue Edit"),
|
@@ -32,12 +32,12 @@ class Helios_Videogallery_Block_Adminhtml_Videogallery_Edit extends Mage_Adminht
|
|
32 |
{
|
33 |
if( Mage::registry("videogallery_data") && Mage::registry("videogallery_data")->getId() ){
|
34 |
|
35 |
-
return Mage::helper("videogallery")->__("Edit
|
36 |
|
37 |
}
|
38 |
else{
|
39 |
|
40 |
-
return Mage::helper("videogallery")->__("Add
|
41 |
|
42 |
}
|
43 |
}
|
9 |
$this->_objectId = "videogallery_id";
|
10 |
$this->_blockGroup = "videogallery";
|
11 |
$this->_controller = "adminhtml_videogallery";
|
12 |
+
$this->_updateButton("save", "label", Mage::helper("videogallery")->__("Save Video"));
|
13 |
+
$this->_updateButton("delete", "label", Mage::helper("videogallery")->__("Delete Video"));
|
14 |
|
15 |
$this->_addButton("saveandcontinue", array(
|
16 |
"label" => Mage::helper("videogallery")->__("Save And Continue Edit"),
|
32 |
{
|
33 |
if( Mage::registry("videogallery_data") && Mage::registry("videogallery_data")->getId() ){
|
34 |
|
35 |
+
return Mage::helper("videogallery")->__("Edit Video '%s'", $this->htmlEscape(Mage::registry("videogallery_data")->getId()));
|
36 |
|
37 |
}
|
38 |
else{
|
39 |
|
40 |
+
return Mage::helper("videogallery")->__("Add Video");
|
41 |
|
42 |
}
|
43 |
}
|
app/code/community/Helios/Videogallery/Block/Adminhtml/Videogallery/Edit/Tab/Form.php
CHANGED
@@ -7,13 +7,19 @@ class Helios_Videogallery_Block_Adminhtml_Videogallery_Edit_Tab_Form extends Mag
|
|
7 |
$form = new Varien_Data_Form();
|
8 |
$this->setForm($form);
|
9 |
$fieldset = $form->addFieldset("videogallery_form", array("legend"=>Mage::helper("videogallery")->__("Video Gallery Information")));
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
$fieldset->addField("videogallery_url", "text", array(
|
11 |
-
"label" => Mage::helper("videogallery")->__("Enter Youtube
|
12 |
"class" => "required-entry",
|
13 |
"required" => true,
|
14 |
"name" => "videogallery_url",
|
15 |
));
|
16 |
-
|
17 |
if (Mage::getSingleton("adminhtml/session")->getVideogalleryData())
|
18 |
{
|
19 |
$form->setValues(Mage::getSingleton("adminhtml/session")->getVideogalleryData());
|
7 |
$form = new Varien_Data_Form();
|
8 |
$this->setForm($form);
|
9 |
$fieldset = $form->addFieldset("videogallery_form", array("legend"=>Mage::helper("videogallery")->__("Video Gallery Information")));
|
10 |
+
$fieldset->addField("name", "label", array(
|
11 |
+
"label" => Mage::helper("videogallery")->__("Video Name"),
|
12 |
+
"class" => "required-entry",
|
13 |
+
"required" => false,
|
14 |
+
"name" => "videogallery_url",
|
15 |
+
));
|
16 |
$fieldset->addField("videogallery_url", "text", array(
|
17 |
+
"label" => Mage::helper("videogallery")->__("Enter Youtube URL"),
|
18 |
"class" => "required-entry",
|
19 |
"required" => true,
|
20 |
"name" => "videogallery_url",
|
21 |
));
|
22 |
+
|
23 |
if (Mage::getSingleton("adminhtml/session")->getVideogalleryData())
|
24 |
{
|
25 |
$form->setValues(Mage::getSingleton("adminhtml/session")->getVideogalleryData());
|
app/code/community/Helios/Videogallery/Block/Adminhtml/Videogallery/Grid.php
CHANGED
@@ -27,26 +27,26 @@ class Helios_Videogallery_Block_Adminhtml_Videogallery_Grid extends Mage_Adminht
|
|
27 |
"index" => "videogallery_id",
|
28 |
));
|
29 |
$this->addColumn("videogallery_url", array(
|
30 |
-
"header" => Mage::helper("videogallery")->__("
|
31 |
"index" => "videogallery_url",
|
32 |
"align" =>"center",
|
33 |
-
"width" => "
|
34 |
'renderer' => 'videogallery/renderer_image',
|
35 |
));
|
36 |
|
37 |
$this->addColumn("name", array(
|
38 |
-
"header" => Mage::helper("videogallery")->__("
|
39 |
"index" => "name",
|
40 |
));
|
41 |
$this->addColumn('action',
|
42 |
array(
|
43 |
'header' => Mage::helper('videogallery')->__('Action'),
|
44 |
-
'width' => '
|
45 |
'type' => 'action',
|
46 |
'getter' => 'getId',
|
47 |
'actions' => array(
|
48 |
array(
|
49 |
-
'caption' => Mage::helper('videogallery')->__('Delete'),
|
50 |
'url' => array('base'=> '*/*/delete'),
|
51 |
'field' => 'videogallery_id',
|
52 |
'confirm' => Mage::helper('videogallery')->__('Are you sure?')
|
27 |
"index" => "videogallery_id",
|
28 |
));
|
29 |
$this->addColumn("videogallery_url", array(
|
30 |
+
"header" => Mage::helper("videogallery")->__("Video Thumbnail"),
|
31 |
"index" => "videogallery_url",
|
32 |
"align" =>"center",
|
33 |
+
"width" => "200px",
|
34 |
'renderer' => 'videogallery/renderer_image',
|
35 |
));
|
36 |
|
37 |
$this->addColumn("name", array(
|
38 |
+
"header" => Mage::helper("videogallery")->__("Video Name"),
|
39 |
"index" => "name",
|
40 |
));
|
41 |
$this->addColumn('action',
|
42 |
array(
|
43 |
'header' => Mage::helper('videogallery')->__('Action'),
|
44 |
+
'width' => '120',
|
45 |
'type' => 'action',
|
46 |
'getter' => 'getId',
|
47 |
'actions' => array(
|
48 |
array(
|
49 |
+
'caption' => Mage::helper('videogallery')->__('Delete Video'),
|
50 |
'url' => array('base'=> '*/*/delete'),
|
51 |
'field' => 'videogallery_id',
|
52 |
'confirm' => Mage::helper('videogallery')->__('Are you sure?')
|
app/code/community/Helios/Videogallery/etc/config.xml
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
</default>
|
13 |
<modules>
|
14 |
<Helios_Videogallery>
|
15 |
-
<version>0.1.
|
16 |
</Helios_Videogallery>
|
17 |
</modules>
|
18 |
<frontend>
|
12 |
</default>
|
13 |
<modules>
|
14 |
<Helios_Videogallery>
|
15 |
+
<version>0.1.1</version>
|
16 |
</Helios_Videogallery>
|
17 |
</modules>
|
18 |
<frontend>
|
app/code/community/Helios/Videogallery/etc/system.xml
CHANGED
@@ -59,7 +59,7 @@
|
|
59 |
</enabled>
|
60 |
<videotitle translate="label">
|
61 |
<label>Video Gallery Title</label>
|
62 |
-
<frontend_type>text</frontend_type>
|
63 |
<validate>validate-alphanum-with-spaces</validate>
|
64 |
<sort_order>1</sort_order>
|
65 |
<show_in_default>1</show_in_default>
|
59 |
</enabled>
|
60 |
<videotitle translate="label">
|
61 |
<label>Video Gallery Title</label>
|
62 |
+
<frontend_type>text</frontend_type>
|
63 |
<validate>validate-alphanum-with-spaces</validate>
|
64 |
<sort_order>1</sort_order>
|
65 |
<show_in_default>1</show_in_default>
|
app/code/community/Helios/Videogallery/sql/videogallery_setup/{mysql4-install-0.1.0.php → mysql4-install-0.1.1.php}
RENAMED
File without changes
|
app/etc/modules/Helios_Videogallery.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<Helios_Videogallery>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
-
<version>0.1.
|
8 |
</Helios_Videogallery>
|
9 |
</modules>
|
10 |
</config>
|
4 |
<Helios_Videogallery>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
+
<version>0.1.1</version>
|
8 |
</Helios_Videogallery>
|
9 |
</modules>
|
10 |
</config>
|
package.xml
CHANGED
@@ -1,19 +1,19 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Helios_Videogallery</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This extension provide you youtube video gallery.</summary>
|
10 |
-
<description>This extension provide you youtube video gallery.&#xD;
|
11 |
you have to only youtube line from back end, based on that link it will get the name of the video using youtube api and also fetch the thumbnail form the youtube server.</description>
|
12 |
-
<notes>This is
|
13 |
-
<authors><author><name>Helios</name><user>Solutions</user><email>support@heliossolutions.in</email></author
|
14 |
-
<date>2013-
|
15 |
-
<time>
|
16 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Helios_Videogallery.xml" hash="
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Helios_Videogallery</name>
|
4 |
+
<version>0.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This extension provide you youtube video gallery.</summary>
|
10 |
+
<description>This extension provide you youtube video gallery.&amp;#xD;&#xD;
|
11 |
you have to only youtube line from back end, based on that link it will get the name of the video using youtube api and also fetch the thumbnail form the youtube server.</description>
|
12 |
+
<notes>This is stable version form Helios Solutions.</notes>
|
13 |
+
<authors><author><name>Helios</name><user>Solutions</user><email>hsmagento.support@heliossolutions.in</email></author></authors>
|
14 |
+
<date>2013-12-17</date>
|
15 |
+
<time>07:02:17</time>
|
16 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Helios_Videogallery.xml" hash="ff60739ae365ad9e34ddc03bec912b54"/></dir></target><target name="magecommunity"><dir name="Helios"><dir name="Videogallery"><dir name="Block"><file name="About.php" hash="cc6d81ebfc0c2600055c44c28466a02f"/><dir name="Adminhtml"><dir name="Videogallery"><dir name="Edit"><file name="Form.php" hash="c55e017394301c7e2b37e7f8db306914"/><dir name="Tab"><file name="Form.php" hash="95fa942328e1cb205507b300cbeb79ea"/></dir><file name="Tabs.php" hash="57151e73f379ef98669efd41b0f0c5f2"/></dir><file name="Edit.php" hash="45f85a4f237935e9521b48b2f542e142"/><file name="Grid.php" hash="cb224ea0c2b340855c2a43bcf23b957d"/></dir><file name="Videogallery.php" hash="063757369550c2aa4af4d8178bde51f0"/></dir><file name="Index.php" hash="a056aa197851a22ca4bf7f0f54fc9ebb"/><file name="Left.php" hash="5a452e5893ea932580fa7c983d1a2942"/><dir name="Renderer"><file name="Image.php" hash="e745734d416655371521b8e68c7642b1"/></dir></dir><dir name="Helper"><file name="Data.php" hash="0b1613ae7d72f5809e471ec5d7ebfae1"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Videogallery"><file name="Collection.php" hash="9d795c076e9ff500d91ccffffc14c5eb"/></dir><file name="Videogallery.php" hash="f65dcef7727d94c6240741eede134129"/></dir><file name="Videogallery.php" hash="5e3730f86bcc09ca3d6dcb8b9a1873ec"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Rss"><file name="RssController.php" hash="32abe90055b7c9a19a16c6c45b0331e9"/></dir><file name="VideogalleryController.php" hash="fd36cab902b84c68286795f8eea3e5f2"/></dir><file name="IndexController.php" hash="dfdb1a11c5bc9f98c014bddf015824e3"/></dir><dir name="etc"><file name="adminhtml.xml" hash="249145214c920aa4196f0b4b1a417669"/><file name="config.xml" hash="361f820670a11d0a40b6845e5f6b9745"/><file name="system.xml" hash="38c083ab9e1e22eb080424efadcbafe5"/></dir><dir name="sql"><dir name="videogallery_setup"><file name="mysql4-install-0.1.1.php" hash="5f924fbdace2a4f09db68c2320f206c4"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="videogallery.xml" hash="2fdece5e3734ae31517a5d3a19fbe06e"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="videogallery.xml" hash="dea590a0a8a0629b4e8b14edcdf29aba"/></dir><dir name="template"><dir name="videogallery"><file name="videogallery.phtml" hash="f52ecd35a6c65428e30413fb2e553be0"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="Helios"><file name="Thumbs.db" hash="91cb84f7c103d1400976930d083e91b9"/><file name="favicon.ico" hash="4b97fae574b5202973c8c032affd0049"/></dir></dir></dir></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|
skin/adminhtml/default/default/images/Helios/Thumbs.db
ADDED
Binary file
|