Belvg_Mailguests - Version 1.0.0

Version Notes

Please, feel free to contact us at store@belvg.com

Download this release

Release Info

Developer Magento Core Team
Extension Belvg_Mailguests
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/community/Belvg/Mailguests/Block/Adminhtml/Mailguests.php ADDED
@@ -0,0 +1,53 @@
1
+ <?php
2
+
3
+ /**
4
+ * BelVG LLC.
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the EULA
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
12
+ *
13
+ /***************************************
14
+ * MAGENTO EDITION USAGE NOTICE *
15
+ *****************************************/
16
+ /* This package designed for Magento COMMUNITY edition
17
+ * BelVG does not guarantee correct work of this extension
18
+ * on any other Magento edition except Magento COMMUNITY edition.
19
+ * BelVG does not provide extension support in case of
20
+ * incorrect edition usage.
21
+ /***************************************
22
+ * DISCLAIMER *
23
+ *****************************************/
24
+ /* Do not edit or add to this file if you wish to upgrade Magento to newer
25
+ * versions in the future.
26
+ *****************************************************
27
+ * @category Belvg
28
+ * @package Belvg_Mailguests
29
+ * @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
30
+ * @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
31
+ */
32
+
33
+
34
+ class Belvg_Mailguests_Block_Adminhtml_Mailguests extends Mage_Adminhtml_Block_Widget_Grid_Container
35
+
36
+ {
37
+
38
+ public function __construct()
39
+
40
+ {
41
+
42
+ $this->_controller = 'adminhtml_mailguests';
43
+
44
+ $this->_headerText = Mage::helper('mailguests')->__('Guests');
45
+
46
+ $this->_blockGroup = 'mailguests';
47
+
48
+ parent::__construct();
49
+ $this->_removeButton('add');
50
+
51
+ }
52
+
53
+ }
app/code/community/Belvg/Mailguests/Block/Adminhtml/Mailguests/Grid.php ADDED
@@ -0,0 +1,239 @@
1
+ <?php
2
+ /**
3
+ * BelVG LLC.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the EULA
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
11
+ *
12
+ /***************************************
13
+ * MAGENTO EDITION USAGE NOTICE *
14
+ *****************************************/
15
+ /* This package designed for Magento COMMUNITY edition
16
+ * BelVG does not guarantee correct work of this extension
17
+ * on any other Magento edition except Magento COMMUNITY edition.
18
+ * BelVG does not provide extension support in case of
19
+ * incorrect edition usage.
20
+ /***************************************
21
+ * DISCLAIMER *
22
+ *****************************************/
23
+ /* Do not edit or add to this file if you wish to upgrade Magento to newer
24
+ * versions in the future.
25
+ *****************************************************
26
+ * @category Belvg
27
+ * @package Belvg_Mailguests
28
+ * @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
29
+ * @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
30
+ */
31
+
32
+ class Belvg_Mailguests_Block_Adminhtml_Mailguests_Grid extends Mage_Adminhtml_Block_Widget_Grid
33
+
34
+ {
35
+
36
+ public function __construct()
37
+ {
38
+ parent::__construct();
39
+ $this->setId('mailguestsGrid');
40
+ $this->setUseAjax(true);
41
+ $this->setDefaultSort('parent_id');
42
+ $this->setDefaultDir('DESC');
43
+ $this->setSaveParametersInSession(true);
44
+ }
45
+
46
+
47
+
48
+ protected function _prepareCollection()
49
+ {
50
+ $prefix = Mage::getConfig()->getTablePrefix();
51
+
52
+ $collection = Mage::getModel('mailguests/mailguests')->getCollection();
53
+ $collection->getSelect()->joinLeft($prefix . 'sales_flat_order_address', $prefix . 'sales_flat_order_address.parent_id = main_table.entity_id AND ' . $prefix . 'sales_flat_order_address.address_type = "shipping"' , array('region', 'region', 'postcode', 'street', 'city', 'telephone', 'parent_id', 'country_id'));
54
+
55
+ $collection->getSelect()->where('main_table.customer_id IS NULL');
56
+
57
+ //$collection->getSelect()->group('main_table.customer_email');
58
+
59
+ $this->setCollection($collection);
60
+
61
+ return parent::_prepareCollection();
62
+ }
63
+
64
+
65
+
66
+ protected function _prepareColumns()
67
+ {
68
+
69
+ parent::_prepareColumns();
70
+
71
+
72
+ $this->addColumn('parent_id', array(
73
+
74
+ 'header' => Mage::helper('mailguests')->__('ID'),
75
+
76
+ 'align' =>'center',
77
+
78
+ 'width' => '20px',
79
+
80
+ 'index' => 'parent_id',
81
+
82
+ 'type' => 'number',
83
+
84
+ ));
85
+
86
+
87
+ $this->addColumn('customer_email', array(
88
+
89
+ 'header' => Mage::helper('mailguests')->__('Customer Email'),
90
+
91
+ 'align' =>'left',
92
+
93
+ 'index' => 'customer_email',
94
+
95
+ ));
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+ $this->addColumn('customer_firstname', array(
104
+
105
+ 'header' => Mage::helper('mailguests')->__('Customer Firstname'),
106
+
107
+ 'align' =>'left',
108
+
109
+ //'width' => '200px',
110
+
111
+ 'index' => 'customer_firstname',
112
+
113
+ ));
114
+
115
+
116
+ $this->addColumn('customer_lastname', array(
117
+
118
+ 'header' => Mage::helper('mailguests')->__('Customer Lastname'),
119
+
120
+ 'align' =>'left',
121
+
122
+ //'width' => '200px',
123
+
124
+ 'index' => 'customer_lastname',
125
+
126
+ ));
127
+
128
+
129
+
130
+
131
+ $this->addColumn('region', array(
132
+
133
+ 'header' => Mage::helper('mailguests')->__('Region'),
134
+
135
+ 'align' =>'left',
136
+
137
+ 'width' => '200px',
138
+
139
+ 'index' => 'region',
140
+
141
+ ));
142
+
143
+
144
+ $this->addColumn('country_id', array(
145
+
146
+ 'header' => Mage::helper('mailguests')->__('Country code'),
147
+
148
+ 'align' =>'left',
149
+
150
+ 'width' => '50px',
151
+
152
+ 'index' => 'country_id',
153
+
154
+ ));
155
+
156
+
157
+ $this->addColumn('postcode', array(
158
+
159
+ 'header' => Mage::helper('mailguests')->__('Postcode'),
160
+
161
+ 'align' =>'left',
162
+
163
+ 'width' => '50px',
164
+
165
+ 'index' => 'postcode',
166
+
167
+ ));
168
+
169
+
170
+ $this->addColumn('street', array(
171
+
172
+ 'header' => Mage::helper('mailguests')->__('Street'),
173
+
174
+ 'align' =>'left',
175
+
176
+ 'width' => '200px',
177
+
178
+ 'index' => 'street',
179
+
180
+ ));
181
+
182
+
183
+ $this->addColumn('city', array(
184
+
185
+ 'header' => Mage::helper('mailguests')->__('City'),
186
+
187
+ 'align' =>'left',
188
+
189
+ 'width' => '200px',
190
+
191
+ 'index' => 'city',
192
+
193
+ ));
194
+
195
+ $this->addColumn('telephone', array(
196
+
197
+ 'header' => Mage::helper('mailguests')->__('Telephone'),
198
+
199
+ 'align' =>'left',
200
+
201
+ 'width' => '50px',
202
+
203
+ 'index' => 'telephone',
204
+
205
+ ));
206
+
207
+
208
+ $this->addColumn('created_at', array(
209
+
210
+ 'header' => Mage::helper('mailguests')->__('Created'),
211
+
212
+ 'align' =>'left',
213
+
214
+ 'width' => '300px',
215
+
216
+ 'index' => 'created_at',
217
+ 'type' => 'datetime',
218
+
219
+ ));
220
+
221
+ $this->addExportType('*/*/exportCsv', Mage::helper('mailguests')->__('CSV'));
222
+ $this->addExportType('*/*/exportXml', Mage::helper('mailguests')->__('Excel XML'));
223
+
224
+ return parent::_prepareColumns();
225
+
226
+ }
227
+
228
+ public function getGridUrl()
229
+ {
230
+ return $this->getUrl('*/*/grid', array('_current'=> true));
231
+ }
232
+
233
+ public function getRowUrl($row)
234
+ {
235
+ return '';
236
+
237
+ }
238
+
239
+ }
app/code/community/Belvg/Mailguests/Helper/Data.php ADDED
@@ -0,0 +1,35 @@
1
+ <?php
2
+ /**
3
+ * BelVG LLC.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the EULA
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
11
+ *
12
+ /***************************************
13
+ * MAGENTO EDITION USAGE NOTICE *
14
+ *****************************************/
15
+ /* This package designed for Magento COMMUNITY edition
16
+ * BelVG does not guarantee correct work of this extension
17
+ * on any other Magento edition except Magento COMMUNITY edition.
18
+ * BelVG does not provide extension support in case of
19
+ * incorrect edition usage.
20
+ /***************************************
21
+ * DISCLAIMER *
22
+ *****************************************/
23
+ /* Do not edit or add to this file if you wish to upgrade Magento to newer
24
+ * versions in the future.
25
+ *****************************************************
26
+ * @category Belvg
27
+ * @package Belvg_Mailguests
28
+ * @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
29
+ * @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
30
+ */
31
+
32
+ class Belvg_Mailguests_Helper_Data extends Mage_Core_Helper_Abstract
33
+ {
34
+
35
+ }
app/code/community/Belvg/Mailguests/Model/Mailguests.php ADDED
@@ -0,0 +1,39 @@
1
+ <?php
2
+ /**
3
+ * BelVG LLC.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the EULA
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
11
+ *
12
+ /***************************************
13
+ * MAGENTO EDITION USAGE NOTICE *
14
+ *****************************************/
15
+ /* This package designed for Magento COMMUNITY edition
16
+ * BelVG does not guarantee correct work of this extension
17
+ * on any other Magento edition except Magento COMMUNITY edition.
18
+ * BelVG does not provide extension support in case of
19
+ * incorrect edition usage.
20
+ /***************************************
21
+ * DISCLAIMER *
22
+ *****************************************/
23
+ /* Do not edit or add to this file if you wish to upgrade Magento to newer
24
+ * versions in the future.
25
+ *****************************************************
26
+ * @category Belvg
27
+ * @package Belvg_Mailguests
28
+ * @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
29
+ * @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
30
+ */
31
+
32
+ class Belvg_Mailguests_Model_Mailguests extends Mage_Core_Model_Abstract
33
+ {
34
+ public function _construct()
35
+ {
36
+ parent::_construct();
37
+ $this->_init('mailguests/mailguests');
38
+ }
39
+ }
app/code/community/Belvg/Mailguests/Model/Mysql4/Mailguests.php ADDED
@@ -0,0 +1,44 @@
1
+ <?php
2
+ /**
3
+ * BelVG LLC.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the EULA
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
11
+ *
12
+ /***************************************
13
+ * MAGENTO EDITION USAGE NOTICE *
14
+ *****************************************/
15
+ /* This package designed for Magento COMMUNITY edition
16
+ * BelVG does not guarantee correct work of this extension
17
+ * on any other Magento edition except Magento COMMUNITY edition.
18
+ * BelVG does not provide extension support in case of
19
+ * incorrect edition usage.
20
+ /***************************************
21
+ * DISCLAIMER *
22
+ *****************************************/
23
+ /* Do not edit or add to this file if you wish to upgrade Magento to newer
24
+ * versions in the future.
25
+ *****************************************************
26
+ * @category Belvg
27
+ * @package Belvg_Mailguests
28
+ * @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
29
+ * @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
30
+ */
31
+
32
+ class Belvg_Mailguests_Model_Mysql4_Mailguests extends Mage_Core_Model_Mysql4_Abstract
33
+
34
+ {
35
+
36
+ public function _construct()
37
+
38
+ {
39
+
40
+ $this->_init('mailguests/mailguests', 'entity_id');
41
+
42
+ }
43
+
44
+ }
app/code/community/Belvg/Mailguests/Model/Mysql4/Mailguests/Collection.php ADDED
@@ -0,0 +1,46 @@
1
+ <?php
2
+ /**
3
+ * BelVG LLC.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the EULA
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
11
+ *
12
+ /***************************************
13
+ * MAGENTO EDITION USAGE NOTICE *
14
+ *****************************************/
15
+ /* This package designed for Magento COMMUNITY edition
16
+ * BelVG does not guarantee correct work of this extension
17
+ * on any other Magento edition except Magento COMMUNITY edition.
18
+ * BelVG does not provide extension support in case of
19
+ * incorrect edition usage.
20
+ /***************************************
21
+ * DISCLAIMER *
22
+ *****************************************/
23
+ /* Do not edit or add to this file if you wish to upgrade Magento to newer
24
+ * versions in the future.
25
+ *****************************************************
26
+ * @category Belvg
27
+ * @package Belvg_Mailguests
28
+ * @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
29
+ * @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
30
+ */
31
+
32
+ class Belvg_Mailguests_Model_Mysql4_Mailguests_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
33
+
34
+ {
35
+
36
+ public function _construct()
37
+
38
+ {
39
+
40
+ //parent::__construct();
41
+
42
+ $this->_init('mailguests/mailguests');
43
+
44
+ }
45
+
46
+ }
app/code/community/Belvg/Mailguests/controllers/Adminhtml/MailguestsController.php ADDED
@@ -0,0 +1,110 @@
1
+ <?php
2
+ /**
3
+ * BelVG LLC.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the EULA
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
11
+ *
12
+ /***************************************
13
+ * MAGENTO EDITION USAGE NOTICE *
14
+ *****************************************/
15
+ /* This package designed for Magento COMMUNITY edition
16
+ * BelVG does not guarantee correct work of this extension
17
+ * on any other Magento edition except Magento COMMUNITY edition.
18
+ * BelVG does not provide extension support in case of
19
+ * incorrect edition usage.
20
+ /***************************************
21
+ * DISCLAIMER *
22
+ *****************************************/
23
+ /* Do not edit or add to this file if you wish to upgrade Magento to newer
24
+ * versions in the future.
25
+ *****************************************************
26
+ * @category Belvg
27
+ * @package Belvg_Mailguests
28
+ * @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
29
+ * @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
30
+ */
31
+
32
+ class Belvg_Mailguests_Adminhtml_MailguestsController extends Mage_Adminhtml_Controller_Action
33
+ {
34
+
35
+ protected function _initAction()
36
+
37
+ {
38
+
39
+ $this->loadLayout()
40
+
41
+ ->_setActiveMenu('mailguests/items')
42
+
43
+ ->_addBreadcrumb(Mage::helper('adminhtml')->__('Items Manager'), Mage::helper('adminhtml')->__('Item Manager'));
44
+
45
+ return $this;
46
+
47
+ }
48
+
49
+
50
+
51
+ public function indexAction() {
52
+
53
+ $this->_initAction();
54
+
55
+ $this->_addContent($this->getLayout()->createBlock('mailguests/adminhtml_mailguests'));
56
+
57
+ $this->renderLayout();
58
+
59
+ }
60
+
61
+
62
+ /**
63
+
64
+ * Product grid for AJAX request.
65
+
66
+ * Sort and filter result for example.
67
+
68
+ */
69
+
70
+ public function gridAction()
71
+
72
+ {
73
+
74
+
75
+ $this->loadLayout();
76
+ $this->getResponse()->setBody(
77
+ $this->getLayout()->createBlock('mailguests/adminhtml_mailguests_grid')->toHtml()
78
+ );
79
+
80
+
81
+ }
82
+
83
+
84
+ /**
85
+ * Export customer grid to CSV format
86
+ */
87
+ public function exportCsvAction()
88
+ {
89
+ $fileName = 'customersCSV.csv';
90
+
91
+ $content = $this->getLayout()->createBlock('mailguests/adminhtml_mailguests_grid')
92
+ ->getCsvFile();
93
+
94
+ $this->_prepareDownloadResponse($fileName, $content);
95
+ }
96
+
97
+ /**
98
+ * Export customer grid to XML format
99
+ */
100
+ public function exportXmlAction()
101
+ {
102
+ $fileName = 'customersXML.xml';
103
+ $content = $this->getLayout()->createBlock('mailguests/adminhtml_mailguests_grid')
104
+ ->getExcelFile();
105
+
106
+ $this->_prepareDownloadResponse($fileName, $content);
107
+ }
108
+
109
+
110
+ }
app/code/community/Belvg/Mailguests/controllers/IndexController.php ADDED
@@ -0,0 +1,39 @@
1
+ <?php
2
+ /**
3
+ * BelVG LLC.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the EULA
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
11
+ *
12
+ /***************************************
13
+ * MAGENTO EDITION USAGE NOTICE *
14
+ *****************************************/
15
+ /* This package designed for Magento COMMUNITY edition
16
+ * BelVG does not guarantee correct work of this extension
17
+ * on any other Magento edition except Magento COMMUNITY edition.
18
+ * BelVG does not provide extension support in case of
19
+ * incorrect edition usage.
20
+ /***************************************
21
+ * DISCLAIMER *
22
+ *****************************************/
23
+ /* Do not edit or add to this file if you wish to upgrade Magento to newer
24
+ * versions in the future.
25
+ *****************************************************
26
+ * @category Belvg
27
+ * @package Belvg_Mailguests
28
+ * @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
29
+ * @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
30
+ */
31
+
32
+ class Belvg_Mailguests_IndexController extends Mage_Core_Controller_Front_Action
33
+ {
34
+ public function indexAction()
35
+ {
36
+ $this->loadLayout();
37
+ $this->renderLayout();
38
+ }
39
+ }
app/code/community/Belvg/Mailguests/etc/config.xml ADDED
@@ -0,0 +1,297 @@
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * BelVG LLC.
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the EULA
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
12
+ *
13
+ /***************************************
14
+ * MAGENTO EDITION USAGE NOTICE *
15
+ *****************************************/
16
+ /* This package designed for Magento COMMUNITY edition
17
+ * BelVG does not guarantee correct work of this extension
18
+ * on any other Magento edition except Magento COMMUNITY edition.
19
+ * BelVG does not provide extension support in case of
20
+ * incorrect edition usage.
21
+ /***************************************
22
+ * DISCLAIMER *
23
+ *****************************************/
24
+ /* Do not edit or add to this file if you wish to upgrade Magento to newer
25
+ * versions in the future.
26
+ *****************************************************
27
+ * @category Belvg
28
+ * @package Belvg_Mailguests
29
+ * @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
30
+ * @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
31
+ */
32
+ -->
33
+
34
+ <config>
35
+
36
+ <modules>
37
+
38
+ <Belvg_Mailguests>
39
+
40
+ <version>1.0.0</version>
41
+
42
+ </Belvg_Mailguests>
43
+
44
+ </modules>
45
+
46
+ <frontend>
47
+
48
+ <routers>
49
+
50
+ <mailguests>
51
+
52
+ <use>standard</use>
53
+
54
+ <args>
55
+
56
+ <module>Belvg_Mailguests</module>
57
+
58
+ <frontName>mailguests</frontName>
59
+
60
+ </args>
61
+
62
+ </mailguests>
63
+
64
+ </routers>
65
+
66
+ <layout>
67
+
68
+ <updates>
69
+
70
+ <mailguests>
71
+
72
+ <file>mailguests.xml</file>
73
+
74
+ </mailguests>
75
+
76
+ </updates>
77
+
78
+ </layout>
79
+
80
+ </frontend>
81
+
82
+ <admin>
83
+
84
+ <routers>
85
+
86
+ <mailguests>
87
+
88
+ <use>admin</use>
89
+
90
+ <args>
91
+
92
+ <module>Belvg_Mailguests</module>
93
+
94
+ <frontName>mailguests</frontName>
95
+
96
+ </args>
97
+
98
+ </mailguests>
99
+
100
+ </routers>
101
+
102
+ </admin>
103
+
104
+ <adminhtml>
105
+
106
+ <menu>
107
+
108
+
109
+
110
+ <customer>
111
+ <children>
112
+ <mailguests_adminform translate="title" module="mailguests">
113
+ <title>Guests</title>
114
+ <action>mailguests/adminhtml_mailguests</action>
115
+ </mailguests_adminform>
116
+ </children>
117
+ </customer>
118
+
119
+
120
+
121
+ <!--
122
+ <mailguests module="mailguests">
123
+
124
+ <title>Mailguests</title>
125
+
126
+ <sort_order>71</sort_order>
127
+
128
+ <children>
129
+
130
+ <items module="mailguests">
131
+
132
+ <title>Manage Items</title>
133
+
134
+ <sort_order>0</sort_order>
135
+
136
+ <action>mailguests/adminhtml_mailguests</action>
137
+
138
+ </items>
139
+
140
+ </children>
141
+
142
+ </mailguests>
143
+
144
+ -->
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+ </menu>
156
+
157
+ <acl>
158
+
159
+ <resources>
160
+
161
+ <all>
162
+
163
+ <title>Allow Everything</title>
164
+
165
+ </all>
166
+
167
+ <admin>
168
+
169
+ <children>
170
+
171
+ <mailguests>
172
+
173
+ <title>Belvg Mailguests</title>
174
+
175
+ <sort_order>200</sort_order>
176
+
177
+ </mailguests>
178
+
179
+ </children>
180
+
181
+ </admin>
182
+
183
+ </resources>
184
+
185
+ </acl>
186
+
187
+ <layout>
188
+
189
+ <updates>
190
+
191
+ <mailguests>
192
+
193
+ <file>mailguests.xml</file>
194
+
195
+ </mailguests>
196
+
197
+ </updates>
198
+
199
+ </layout>
200
+
201
+ </adminhtml>
202
+
203
+ <global>
204
+
205
+ <models>
206
+
207
+ <mailguests>
208
+
209
+ <class>Belvg_Mailguests_Model</class>
210
+
211
+ <resourceModel>mailguests_mysql4</resourceModel>
212
+
213
+ </mailguests>
214
+
215
+ <mailguests_mysql4>
216
+
217
+ <class>Belvg_Mailguests_Model_Mysql4</class>
218
+
219
+ <entities>
220
+
221
+ <mailguests>
222
+ <table>sales_flat_order</table>
223
+ </mailguests>
224
+
225
+ </entities>
226
+
227
+ </mailguests_mysql4>
228
+
229
+ </models>
230
+
231
+ <resources>
232
+
233
+ <mailguests_setup>
234
+
235
+ <setup>
236
+
237
+ <module>Belvg_Mailguests</module>
238
+
239
+ </setup>
240
+
241
+ <connection>
242
+
243
+ <use>core_setup</use>
244
+
245
+ </connection>
246
+
247
+ </mailguests_setup>
248
+
249
+ <mailguests_write>
250
+
251
+ <connection>
252
+
253
+ <use>core_write</use>
254
+
255
+ </connection>
256
+
257
+
258
+
259
+
260
+
261
+ </mailguests_write>
262
+
263
+ <mailguests_read>
264
+
265
+ <connection>
266
+
267
+ <use>core_read</use>
268
+
269
+ </connection>
270
+
271
+ </mailguests_read>
272
+
273
+ </resources>
274
+
275
+ <blocks>
276
+
277
+ <mailguests>
278
+
279
+ <class>Belvg_Mailguests_Block</class>
280
+
281
+ </mailguests>
282
+
283
+ </blocks>
284
+
285
+ <helpers>
286
+
287
+ <mailguests>
288
+
289
+ <class>Belvg_Mailguests_Helper</class>
290
+
291
+ </mailguests>
292
+
293
+ </helpers>
294
+
295
+ </global>
296
+
297
+ </config>
app/etc/modules/Belvg_Mailguests.xml ADDED
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Belvg_Mailguests>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Belvg_Mailguests>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Belvg_Mailguests</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt">BelVG EULA</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>This free extension allows converting unregistered buyers to regular customers with the help of catalog, containing guest contact details. All information can be easily exported to CSV and Excel XML files.</summary>
10
+ <description>This free extension allows converting unregistered buyers to regular customers with the help of catalog, containing guest contact details. All information can be easily exported to CSV and Excel XML files.</description>
11
+ <notes>Please, feel free to contact us at store@belvg.com</notes>
12
+ <authors><author><name>Belvg</name><user>auto-converted</user><email>store@belvg.com</email></author></authors>
13
+ <date>2012-02-22</date>
14
+ <time>12:01:23</time>
15
+ <contents><target name="magecommunity"><dir name="Belvg"><dir name="Mailguests"><dir name="Block"><dir name="Adminhtml"><dir name="Mailguests"><file name="Grid.php" hash="02a53b1bc06a90c1ce15ab78601c2f47"/></dir><file name="Mailguests.php" hash="2585f2b3d538f585ee3b8a0a395e3eb6"/></dir></dir><dir name="Helper"><file name="Data.php" hash="deaf194ddfe87474425bb628d4ced23f"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Mailguests"><file name="Collection.php" hash="32db5775d893b1ed471a76ea4af645fa"/></dir><file name="Mailguests.php" hash="e612a54e10d05c6e8a11801b491626e0"/></dir><file name="Mailguests.php" hash="8e10626d4b5b6c4409c043b4f4d38a31"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MailguestsController.php" hash="e30d12124ad8c3fe549eb2e602fae3e7"/></dir><file name="IndexController.php" hash="2036742af43a1d2a91e92fe7872f3b9f"/></dir><dir name="etc"><file name="config.xml" hash="6cd7583b78b0df21dd1f4521d377c17b"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Belvg_Mailguests.xml" hash="c5950c0b938eeb4d4f62fee9077d48c8"/></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies/>
18
+ </package>