Clarion_Customerattribute - Version 1.0.1

Version Notes

Fixed Abstract.php not found issue.

Download this release

Release Info

Developer Clarion Tech
Extension Clarion_Customerattribute
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/community/Clarion/Customerattribute/Block/Adminhtml/Customerattribute/Edit/Main/{Abstract.php → Main.php} RENAMED
@@ -6,7 +6,7 @@
6
  * @package Clarion_Customerattribute
7
  * @author Clarion Magento Team
8
  */
9
- abstract class Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Main_Abstract extends Mage_Adminhtml_Block_Widget_Form
10
  {
11
  protected $_attribute = null;
12
 
@@ -27,7 +27,7 @@ abstract class Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit
27
  /**
28
  * Preparing default form elements for editing attribute
29
  *
30
- * @return Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Main_Abstract
31
  */
32
  protected function _prepareForm()
33
  {
@@ -153,7 +153,7 @@ abstract class Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit
153
  /**
154
  * Initialize form fileds values
155
  *
156
- * @return Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Main_Abstract
157
  */
158
  protected function _initFormValues()
159
  {
@@ -166,7 +166,7 @@ abstract class Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit
166
  /**
167
  * This method is called before rendering HTML
168
  *
169
- * @return Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Main_Abstract
170
  */
171
  protected function _beforeToHtml()
172
  {
6
  * @package Clarion_Customerattribute
7
  * @author Clarion Magento Team
8
  */
9
+ class Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Main_Main extends Mage_Adminhtml_Block_Widget_Form
10
  {
11
  protected $_attribute = null;
12
 
27
  /**
28
  * Preparing default form elements for editing attribute
29
  *
30
+ * @return Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Main_Main
31
  */
32
  protected function _prepareForm()
33
  {
153
  /**
154
  * Initialize form fileds values
155
  *
156
+ * @return Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Main_Main
157
  */
158
  protected function _initFormValues()
159
  {
166
  /**
167
  * This method is called before rendering HTML
168
  *
169
+ * @return Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Main_Main
170
  */
171
  protected function _beforeToHtml()
172
  {
app/code/community/Clarion/Customerattribute/Block/Adminhtml/Customerattribute/Edit/Options/{Abstract.php → Options.php} RENAMED
@@ -7,7 +7,8 @@
7
  * @author Clarion Magento Team
8
  *
9
  */
10
- abstract class Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Options_Abstract extends Mage_Adminhtml_Block_Widget
 
11
  {
12
 
13
  public function __construct()
7
  * @author Clarion Magento Team
8
  *
9
  */
10
+ class Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Options_Options
11
+ extends Mage_Adminhtml_Block_Widget
12
  {
13
 
14
  public function __construct()
app/code/community/Clarion/Customerattribute/Block/Adminhtml/Customerattribute/Edit/Tab/Main.php CHANGED
@@ -7,7 +7,7 @@
7
  * @author Clarion Magento Team
8
  */
9
 
10
- class Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Tab_Main extends Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Main_Abstract
11
  {
12
 
13
  /**
7
  * @author Clarion Magento Team
8
  */
9
 
10
+ class Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Tab_Main extends Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Main_Main
11
  {
12
 
13
  /**
app/code/community/Clarion/Customerattribute/Block/Adminhtml/Customerattribute/Edit/Tab/Options.php CHANGED
@@ -6,6 +6,7 @@
6
  * @package Clarion_Customerattribute
7
  * @author Clarion Magento Team
8
  */
9
- class Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Tab_Options extends Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Options_Abstract
 
10
  {
11
  }
6
  * @package Clarion_Customerattribute
7
  * @author Clarion Magento Team
8
  */
9
+ class Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Tab_Options
10
+ extends Clarion_Customerattribute_Block_Adminhtml_Customerattribute_Edit_Options_Options
11
  {
12
  }
app/design/frontend/base/default/template/clarion/customerattribute/form/edit.phtml CHANGED
@@ -107,7 +107,7 @@
107
 
108
  <?php elseif($attribute->getFrontendInput()== 'date'):?>
109
  <input type="text" style="width:110px !important;" class=" input-text <?php echo $fieldRequiredClass; ?> " title="<?php echo $this->__($frontEndLabel); ?>" value="<?php echo $this->helper('clarion_customerattribute/customerattribute')->getFormattedDate($fieldValue); ?>" id="<?php echo $attribute->getAttributeCode(); ?>" name="<?php echo $attribute->getAttributeCode(); ?>">
110
- <img style="" title="Select Date" id="<?php echo $attribute->getAttributeCode(); ?>_trig" class="v-middle" alt="" src="<?php echo $this->getSkinUrl('images/grid-cal.gif') ?>">
111
  <script type="text/javascript">
112
  //&lt;![CDATA[
113
  Calendar.setup({
107
 
108
  <?php elseif($attribute->getFrontendInput()== 'date'):?>
109
  <input type="text" style="width:110px !important;" class=" input-text <?php echo $fieldRequiredClass; ?> " title="<?php echo $this->__($frontEndLabel); ?>" value="<?php echo $this->helper('clarion_customerattribute/customerattribute')->getFormattedDate($fieldValue); ?>" id="<?php echo $attribute->getAttributeCode(); ?>" name="<?php echo $attribute->getAttributeCode(); ?>">
110
+ <img style="" title="Select Date" id="<?php echo $attribute->getAttributeCode(); ?>_trig" class="v-middle" alt="" src="<?php echo $this->getSkinUrl('images/clarion/customerattribute/grid-cal.gif') ?>">
111
  <script type="text/javascript">
112
  //&lt;![CDATA[
113
  Calendar.setup({
app/design/frontend/base/default/template/clarion/customerattribute/form/register.phtml CHANGED
@@ -92,7 +92,7 @@
92
 
93
  <?php elseif($attribute->getFrontendInput()== 'date'):?>
94
  <input type="text" style="width:110px !important;" class=" input-text <?php echo $fieldRequiredClass; ?> " title="<?php echo $this->__($frontEndLabel); ?>" value="<?php echo $this->helper('clarion_customerattribute/customerattribute')->getDefaultValueForDate($fieldValue);?>" id="<?php echo $attribute->getAttributeCode(); ?>" name="<?php echo $attribute->getAttributeCode(); ?>">
95
- <img style="" title="Select Date" id="<?php echo $attribute->getAttributeCode(); ?>_trig" class="v-middle" alt="" src="<?php echo $this->getSkinUrl('images/grid-cal.gif') ?>">
96
  <script type="text/javascript">
97
  //&lt;![CDATA[
98
  Calendar.setup({
92
 
93
  <?php elseif($attribute->getFrontendInput()== 'date'):?>
94
  <input type="text" style="width:110px !important;" class=" input-text <?php echo $fieldRequiredClass; ?> " title="<?php echo $this->__($frontEndLabel); ?>" value="<?php echo $this->helper('clarion_customerattribute/customerattribute')->getDefaultValueForDate($fieldValue);?>" id="<?php echo $attribute->getAttributeCode(); ?>" name="<?php echo $attribute->getAttributeCode(); ?>">
95
+ <img style="" title="Select Date" id="<?php echo $attribute->getAttributeCode(); ?>_trig" class="v-middle" alt="" src="<?php echo $this->getSkinUrl('images/clarion/customerattribute/grid-cal.gif') ?>">
96
  <script type="text/javascript">
97
  //&lt;![CDATA[
98
  Calendar.setup({
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Clarion_Customerattribute</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -10,11 +10,11 @@
10
  <description>By using Customer attributes extension we can create additional fields on the customer&#xD;
11
  account create page, customer account edit page and admin manage customers. So the we &#xD;
12
  can collect business-related and personal information needed from the customers.</description>
13
- <notes>First stable release of extesion customer attribute.</notes>
14
  <authors><author><name>Clarion Tech</name><user>Clariontech</user><email>magento@clariontechnologies.co.in</email></author></authors>
15
- <date>2014-05-14</date>
16
- <time>10:27:11</time>
17
- <contents><target name="magecommunity"><dir name="Clarion"><dir name="Customerattribute"><dir name="Block"><dir name="Adminhtml"><dir name="Customerattribute"><dir name="Edit"><file name="Form.php" hash="c6bd2ea2aa06a01edd37728aeb529bda"/><dir name="Main"><file name="Abstract.php" hash="dab888a3d87d5a8a82ef14a5efef0820"/></dir><dir name="Options"><file name="Abstract.php" hash="0d6ccf3be9eb84f4881d31f4353496a2"/></dir><dir name="Tab"><file name="Main.php" hash="36c9decca79bb8c6151367cd61d17c7d"/><file name="Options.php" hash="cc6db2e20c980421439d49845fc25533"/></dir><file name="Tabs.php" hash="dcc8f3ff46ed6ae664354c60eb0d2d88"/></dir><file name="Edit.php" hash="836646be9ab4f4bfa03677cbb8dd4508"/><file name="Grid.php" hash="d1a1a997c3e4d934c9414d2c00c32946"/></dir><file name="Customerattribute.php" hash="0ded2a954d9a1b4e8f2aba494fc25b21"/></dir></dir><dir name="Helper"><file name="Customerattribute.php" hash="2869c8d8ae5a8c646bcef6c7eac11648"/><file name="Data.php" hash="80b69f61049d6d3239145dbe097c886f"/></dir><dir name="Model"><file name="Customerattribute.php" hash="beb54d45f64cefd2f9f116d11a7b7660"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CustomerattributeController.php" hash="c0d925f6792aa6eaf472d7d61210c65b"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="78912661cc9744715913c485f27e04d0"/><file name="config.xml" hash="8d9a595d9763d4f52535540ae227f333"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="clarion_customerattribute.xml" hash="4806a3e68728cecee221a2e478867db8"/></dir><dir name="template"><dir name="clarion_customerattribute"><dir name="attribute"><dir name="edit"><file name="js.phtml" hash="c2bb9abf760078323856c16d98227fe0"/></dir><file name="js.phtml" hash="57f2621a2f0bb947c2513c8502a5d34c"/><file name="options.phtml" hash="2b9079749dd8338ffadf9f71dd1c3864"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="clarion_customerattribute.xml" hash="f739a94ef200cb88e70ffb99e8cced16"/></dir><dir name="template"><dir name="clarion"><dir name="customerattribute"><dir name="form"><file name="edit.phtml" hash="21d3868f54f40d92d10beeb224f7d359"/><file name="register.phtml" hash="00b2ac54a13080a01d901e4802b50853"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Clarion_Customerattribute.xml" hash="3ada0a4914bfa2d418ce81613bd9f2d8"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Clarion_Customerattribute</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
10
  <description>By using Customer attributes extension we can create additional fields on the customer&#xD;
11
  account create page, customer account edit page and admin manage customers. So the we &#xD;
12
  can collect business-related and personal information needed from the customers.</description>
13
+ <notes>Fixed Abstract.php not found issue.</notes>
14
  <authors><author><name>Clarion Tech</name><user>Clariontech</user><email>magento@clariontechnologies.co.in</email></author></authors>
15
+ <date>2014-11-20</date>
16
+ <time>12:32:22</time>
17
+ <contents><target name="magecommunity"><dir name="Clarion"><dir name="Customerattribute"><dir name="Block"><dir name="Adminhtml"><dir name="Customerattribute"><dir name="Edit"><file name="Form.php" hash="c6bd2ea2aa06a01edd37728aeb529bda"/><dir name="Main"><file name="Main.php" hash="dad7a24bf1cb9515d367d8555dd86cb8"/></dir><dir name="Options"><file name="Options.php" hash="79c0592ec1abdc21fa2c8ecba37f2a79"/></dir><dir name="Tab"><file name="Main.php" hash="f180b77bfc2ed6ff46f368e35f3c80ff"/><file name="Options.php" hash="67ddadfb823fb2c6e3a2ab69442d78d7"/></dir><file name="Tabs.php" hash="dcc8f3ff46ed6ae664354c60eb0d2d88"/></dir><file name="Edit.php" hash="836646be9ab4f4bfa03677cbb8dd4508"/><file name="Grid.php" hash="d1a1a997c3e4d934c9414d2c00c32946"/></dir><file name="Customerattribute.php" hash="0ded2a954d9a1b4e8f2aba494fc25b21"/></dir></dir><dir name="Helper"><file name="Customerattribute.php" hash="2869c8d8ae5a8c646bcef6c7eac11648"/><file name="Data.php" hash="80b69f61049d6d3239145dbe097c886f"/></dir><dir name="Model"><file name="Customerattribute.php" hash="beb54d45f64cefd2f9f116d11a7b7660"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CustomerattributeController.php" hash="c0d925f6792aa6eaf472d7d61210c65b"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="78912661cc9744715913c485f27e04d0"/><file name="config.xml" hash="8d9a595d9763d4f52535540ae227f333"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="clarion_customerattribute.xml" hash="4806a3e68728cecee221a2e478867db8"/></dir><dir name="template"><dir name="clarion_customerattribute"><dir name="attribute"><dir name="edit"><file name="js.phtml" hash="c2bb9abf760078323856c16d98227fe0"/></dir><file name="js.phtml" hash="57f2621a2f0bb947c2513c8502a5d34c"/><file name="options.phtml" hash="2b9079749dd8338ffadf9f71dd1c3864"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="clarion_customerattribute.xml" hash="f739a94ef200cb88e70ffb99e8cced16"/></dir><dir name="template"><dir name="clarion"><dir name="customerattribute"><dir name="form"><file name="edit.phtml" hash="66572d4984083351e4a3a822d5fc60bc"/><file name="register.phtml" hash="24dec78ec3fb77c7153f9aba122d83bb"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Clarion_Customerattribute.xml" hash="3ada0a4914bfa2d418ce81613bd9f2d8"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="clarion"><dir name="customerattribute"><file name="grid-cal.gif" hash="b1468e5239504974c689eea5d93f86d4"/></dir></dir></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
skin/frontend/base/default/images/clarion/customerattribute/grid-cal.gif ADDED
Binary file