Version Notes
— initial Release
Download this release
Release Info
Developer | Seak Ecommerce |
Extension | Seak_Messagereports |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
- app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports.php +24 -0
- app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports/Edit.php +54 -0
- app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports/Edit/Form.php +27 -0
- app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports/Edit/Tab/Main.php +121 -0
- app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports/Edit/Tabs.php +33 -0
- app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports/Grid.php +137 -0
- app/code/community/Seak/Messagereports/Block/Adminhtml/Renderer/Customer.php +25 -0
- app/code/community/Seak/Messagereports/Block/Adminhtml/Renderer/Type.php +37 -0
- app/code/community/Seak/Messagereports/Block/Extensiondescription.php +27 -0
- app/code/community/Seak/Messagereports/Block/Messages.php +16 -0
- app/code/community/Seak/Messagereports/Helper/Data.php +23 -0
- app/code/community/Seak/Messagereports/Model/Messagereports.php +18 -0
- app/code/community/Seak/Messagereports/Model/Mysql4/Messagereports.php +55 -0
- app/code/community/Seak/Messagereports/Model/Mysql4/Messagereports/Collection.php +34 -0
- app/code/community/Seak/Messagereports/Model/Observer.php +16 -0
- app/code/community/Seak/Messagereports/Model/Session.php +18 -0
- app/code/community/Seak/Messagereports/controllers/Adminhtml/MessagereportsController.php +189 -0
- app/code/community/Seak/Messagereports/etc/adminhtml.xml +83 -0
- app/code/community/Seak/Messagereports/etc/config.xml +113 -0
- app/code/community/Seak/Messagereports/etc/system.xml +121 -0
- app/code/community/Seak/Messagereports/sql/messagereports_setup/mysql4-install-1.0.0.php +43 -0
- app/design/adminhtml/default/default/layout/seak/extensions/messagereports/messagereports.xml +21 -0
- app/design/adminhtml/default/default/template/seak/extensions/messagereports/extensiondescription.phtml +70 -0
- app/design/adminhtml/default/default/template/seak/extensions/messagereports/info.phtml +32 -0
- app/design/frontend/base/default/layout/seak/extensions/messagereports/messagereports.xml +25 -0
- app/design/frontend/base/default/template/seak/extensions/messagereports/messagereports.phtml +93 -0
- app/etc/modules/Seak_Messagereports.xml +21 -0
- media/seak/extensions/docs/messagereports/about.html +63 -0
- media/seak/extensions/docs/messagereports/img/ajax-loader.gif +0 -0
- media/seak/extensions/docs/messagereports/img/error.png +0 -0
- media/seak/extensions/docs/messagereports/img/green-bg.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/grey-bg.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/ok.png +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/admin-about-section.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/admin-menu-settings.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/admin-menu.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/change-satus.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/collection-grid-page.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/delete-checkbox.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/delete-submit.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/edit-grid.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/edit-item-page-a.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/general-settings.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/report-settings.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/save-button.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/save-config-button.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/submit-button.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/screenshots/update-button.jpg +0 -0
- media/seak/extensions/docs/messagereports/img/seakecommerce.png +0 -0
- media/seak/extensions/docs/messagereports/img/white-bg.jpg +0 -0
- media/seak/extensions/docs/messagereports/index.css +398 -0
- media/seak/extensions/docs/messagereports/index.html +71 -0
- media/seak/extensions/docs/messagereports/install.html +63 -0
- media/seak/extensions/docs/messagereports/manage.html +151 -0
- media/seak/extensions/docs/messagereports/settings.html +154 -0
- media/seak/images/error.png +0 -0
- media/seak/images/i_msg-note.gif +0 -0
- media/seak/images/loader.gif +0 -0
- media/seak/images/ok.png +0 -0
- package.xml +29 -0
- skin/adminhtml/default/default/seak/css/messagereports/error.png +0 -0
- skin/adminhtml/default/default/seak/css/messagereports/messagereports.css +52 -0
- skin/adminhtml/default/default/seak/css/messagereports/messagereports.png +0 -0
- skin/adminhtml/default/default/seak/css/messagereports/ok.png +0 -0
app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
10 |
+
*/
|
11 |
+
|
12 |
+
class Seak_Messagereports_Block_Adminhtml_Messagereports extends Mage_Adminhtml_Block_Widget_Grid_Container
|
13 |
+
{
|
14 |
+
public function __construct()
|
15 |
+
{
|
16 |
+
$this->_controller = 'adminhtml_messagereports';
|
17 |
+
$this->_blockGroup = 'messagereports';
|
18 |
+
$this->_headerText = Mage::helper('messagereports')->__('View Report Item');
|
19 |
+
//$this->_addButtonLabel = Mage::helper('messagereports')->__('Add New Report Item');
|
20 |
+
parent::__construct();
|
21 |
+
|
22 |
+
$this->_removeButton('add');
|
23 |
+
}
|
24 |
+
}
|
app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports/Edit.php
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Block_Adminhtml_Messagereports_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
|
12 |
+
{
|
13 |
+
public function __construct()
|
14 |
+
{
|
15 |
+
parent::__construct();
|
16 |
+
|
17 |
+
$this->_objectId = 'id';
|
18 |
+
$this->_controller = 'adminhtml_messagereports';
|
19 |
+
$this->_blockGroup = 'messagereports';
|
20 |
+
|
21 |
+
|
22 |
+
$this->_updateButton('save', 'label', Mage::helper('messagereports')->__('Save Item'));
|
23 |
+
|
24 |
+
|
25 |
+
$this->_addButton('saveandcontinue', array(
|
26 |
+
'label' => Mage::helper('adminhtml')->__('Save And Continue Edit'),
|
27 |
+
'onclick' => 'saveAndContinueEdit()',
|
28 |
+
'class' => 'save',
|
29 |
+
), -100);
|
30 |
+
|
31 |
+
$this->_formScripts[] = "
|
32 |
+
function toggleEditor() {
|
33 |
+
if (tinyMCE.getInstanceById('messagereports_content') == null) {
|
34 |
+
tinyMCE.execCommand('mceAddControl', false, 'messagereports_content');
|
35 |
+
} else {
|
36 |
+
tinyMCE.execCommand('mceRemoveControl', false, 'messagereports_content');
|
37 |
+
}
|
38 |
+
}
|
39 |
+
|
40 |
+
function saveAndContinueEdit(){
|
41 |
+
editForm.submit($('edit_form').action+'back/edit/');
|
42 |
+
}
|
43 |
+
";
|
44 |
+
}
|
45 |
+
|
46 |
+
public function getHeaderText()
|
47 |
+
{
|
48 |
+
if( Mage::registry('messagereports_data') && Mage::registry('messagereports_data')->getId() ) {
|
49 |
+
return Mage::helper('messagereports')->__("Edit Item");
|
50 |
+
} else {
|
51 |
+
return Mage::helper('messagereports')->__('Add Item');
|
52 |
+
}
|
53 |
+
}
|
54 |
+
}
|
app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports/Edit/Form.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Block_Adminhtml_Messagereports_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
|
12 |
+
{
|
13 |
+
protected function _prepareForm()
|
14 |
+
{
|
15 |
+
$form = new Varien_Data_Form(array(
|
16 |
+
'id' => 'edit_form',
|
17 |
+
'action' => $this->getUrl('*/*/save', array('id' => $this->getRequest()->getParam('id'))),
|
18 |
+
'method' => 'post',
|
19 |
+
'enctype' => 'multipart/form-data'
|
20 |
+
)
|
21 |
+
);
|
22 |
+
|
23 |
+
$form->setUseContainer(true);
|
24 |
+
$this->setForm($form);
|
25 |
+
return parent::_prepareForm();
|
26 |
+
}
|
27 |
+
}
|
app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports/Edit/Tab/Main.php
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Block_Adminhtml_Messagereports_Edit_Tab_Main extends Mage_Adminhtml_Block_Widget_Form
|
12 |
+
{
|
13 |
+
|
14 |
+
protected function _prepareForm()
|
15 |
+
{
|
16 |
+
$form = new Varien_Data_Form();
|
17 |
+
$this->setForm($form);
|
18 |
+
$fieldset = $form->addFieldset('messagereports_form', array('legend'=>Mage::helper('messagereports')->__('General Settings')));
|
19 |
+
|
20 |
+
$object = Mage::getModel('messagereports/messagereports')->load( $this->getRequest()->getParam('id'));
|
21 |
+
|
22 |
+
//Message Type
|
23 |
+
if($object->getMessageType() == 'error') {
|
24 |
+
$result = '<span class="grid-severity-critical"><span>Error Message</span></span>';
|
25 |
+
}elseif($object->getMessageType()== 'success'){
|
26 |
+
$result = '<span class="grid-severity-notice"><span>Success Message</span></span>';
|
27 |
+
}elseif($object->getMessageType()== 'warning'){
|
28 |
+
$result = '<span class="grid-severity-major"><span>Warning Message</span></span>';
|
29 |
+
}elseif($object->getMessageType()== 'notice'){
|
30 |
+
$result = '<span class="grid-severity-minor"><span>Notice Message</span></span>';
|
31 |
+
}
|
32 |
+
|
33 |
+
$fieldset->addField('message_type', 'note', array(
|
34 |
+
'label' => Mage::helper('messagereports')->__('Message Type'),
|
35 |
+
'text' => $result,
|
36 |
+
));
|
37 |
+
|
38 |
+
//Message Content
|
39 |
+
$fieldset->addField('message_content', 'textarea', array(
|
40 |
+
'label' => Mage::helper('messagereports')->__('Message Content'),
|
41 |
+
'name' => 'message_content',
|
42 |
+
'disabled' => true,
|
43 |
+
'readonly' => true,
|
44 |
+
));
|
45 |
+
|
46 |
+
$fieldset->addField('message_url', 'link', array(
|
47 |
+
'label' => Mage::helper('messagereports')->__('Message URL'),
|
48 |
+
'required' => false,
|
49 |
+
'href' => ''.$object->getMessageUrl().'',
|
50 |
+
'disabled' => true,
|
51 |
+
'readonly' => true,
|
52 |
+
));
|
53 |
+
|
54 |
+
$fieldset->addField('message_action', 'note', array(
|
55 |
+
'label' => Mage::helper('messagereports')->__('Message Action'),
|
56 |
+
'required' => false,
|
57 |
+
'text' => ''.$object->getMessageAction().'',
|
58 |
+
'disabled' => true,
|
59 |
+
'readonly' => true,
|
60 |
+
));
|
61 |
+
|
62 |
+
$fieldset->addField('message_website', 'note', array(
|
63 |
+
'label' => Mage::helper('messagereports')->__('Message Website'),
|
64 |
+
'required' => false,
|
65 |
+
'text' => ''.$object->getMessageWebsite().'',
|
66 |
+
'disabled' => true,
|
67 |
+
'readonly' => true,
|
68 |
+
));
|
69 |
+
|
70 |
+
$fieldset->addField('message_store', 'note', array(
|
71 |
+
'label' => Mage::helper('messagereports')->__('Message Store'),
|
72 |
+
'required' => false,
|
73 |
+
'text' => ''.$object->getMessageStore().'',
|
74 |
+
'disabled' => true,
|
75 |
+
'readonly' => true,
|
76 |
+
));
|
77 |
+
|
78 |
+
if($object->getCustomerId() == 'Guest'){
|
79 |
+
$CustomerValue = 'Guest';
|
80 |
+
}else{
|
81 |
+
$customer_data = Mage::getModel('customer/customer')->load($object->getCustomerId());
|
82 |
+
$CustomerValue = ''.$customer_data->getName().'';
|
83 |
+
}
|
84 |
+
//Customer ID
|
85 |
+
$fieldset->addField('customer_id', 'note', array(
|
86 |
+
'label' => Mage::helper('messagereports')->__('Customer'),
|
87 |
+
'text' => ''.$CustomerValue.'',
|
88 |
+
'disabled' => true,
|
89 |
+
'readonly' => true,
|
90 |
+
));
|
91 |
+
|
92 |
+
|
93 |
+
//Admin Notes
|
94 |
+
$fieldset->addField('admin_notes', 'textarea', array(
|
95 |
+
'label' => Mage::helper('messagereports')->__('Admin Notes'),
|
96 |
+
'name' => 'admin_notes',
|
97 |
+
'note' => Mage::helper('messagereports')->__('Admin Notes')
|
98 |
+
));
|
99 |
+
|
100 |
+
|
101 |
+
$fieldset->addField('created_time', 'label', array(
|
102 |
+
'label' => Mage::helper('messagereports')->__('Created/Updated Time'),
|
103 |
+
'required' => false,
|
104 |
+
'name' => 'created_time',
|
105 |
+
));
|
106 |
+
|
107 |
+
|
108 |
+
|
109 |
+
if ( Mage::getSingleton('adminhtml/session')->getMessagereportsData() )
|
110 |
+
{
|
111 |
+
$form->setValues(Mage::getSingleton('adminhtml/session')->getMessagereportsData());
|
112 |
+
Mage::getSingleton('adminhtml/session')->setMessagereportsData(null);
|
113 |
+
} elseif ( Mage::registry('messagereports_data') ) {
|
114 |
+
$form->setValues(Mage::registry('messagereports_data')->getData());
|
115 |
+
}
|
116 |
+
|
117 |
+
return parent::_prepareForm();
|
118 |
+
|
119 |
+
}
|
120 |
+
|
121 |
+
}
|
app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports/Edit/Tabs.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Block_Adminhtml_Messagereports_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
|
12 |
+
{
|
13 |
+
|
14 |
+
public function __construct()
|
15 |
+
{
|
16 |
+
parent::__construct();
|
17 |
+
$this->setId('messagereports_tabs');
|
18 |
+
$this->setDestElementId('edit_form');
|
19 |
+
$this->setTitle(Mage::helper('messagereports')->__(''));
|
20 |
+
}
|
21 |
+
|
22 |
+
protected function _beforeToHtml()
|
23 |
+
{
|
24 |
+
$this->addTab('form_section', array(
|
25 |
+
'label' => Mage::helper('messagereports')->__('General Settings'),
|
26 |
+
'title' => Mage::helper('messagereports')->__('General Settings'),
|
27 |
+
'content' => $this->getLayout()->createBlock('messagereports/adminhtml_messagereports_edit_tab_main')->toHtml(),
|
28 |
+
));
|
29 |
+
|
30 |
+
|
31 |
+
return parent::_beforeToHtml();
|
32 |
+
}
|
33 |
+
}
|
app/code/community/Seak/Messagereports/Block/Adminhtml/Messagereports/Grid.php
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Block_Adminhtml_Messagereports_Grid extends Mage_Adminhtml_Block_Widget_Grid
|
12 |
+
{
|
13 |
+
public function __construct()
|
14 |
+
{
|
15 |
+
parent::__construct();
|
16 |
+
$this->setId('messagereportsGrid');
|
17 |
+
$this->setUseAjax(true);
|
18 |
+
$this->setDefaultSort('id');
|
19 |
+
$this->setDefaultDir('DESC');
|
20 |
+
$this->setSaveParametersInSession(true);
|
21 |
+
}
|
22 |
+
|
23 |
+
protected function _prepareCollection()
|
24 |
+
{
|
25 |
+
$collection = Mage::getModel('messagereports/messagereports')->getCollection();
|
26 |
+
$this->setCollection($collection);
|
27 |
+
return parent::_prepareCollection();
|
28 |
+
}
|
29 |
+
|
30 |
+
protected function _prepareColumns()
|
31 |
+
{
|
32 |
+
|
33 |
+
|
34 |
+
$this->addColumn('id', array(
|
35 |
+
'header' => Mage::helper('messagereports')->__('ID'),
|
36 |
+
'align' =>'right',
|
37 |
+
'width' => '50px',
|
38 |
+
'index' => 'id',
|
39 |
+
));
|
40 |
+
|
41 |
+
$this->addColumn('message_type', array(
|
42 |
+
'header' => Mage::helper('messagereports')->__('Message Type'),
|
43 |
+
'align' =>'left',
|
44 |
+
'width' => '100px',
|
45 |
+
'index' => 'message_type',
|
46 |
+
'renderer' => 'Seak_Messagereports_Block_Adminhtml_Renderer_Type',
|
47 |
+
));
|
48 |
+
|
49 |
+
$this->addColumn('message_content', array(
|
50 |
+
'header' => Mage::helper('messagereports')->__('Message Content'),
|
51 |
+
'align' =>'left',
|
52 |
+
'index' => 'message_content',
|
53 |
+
));
|
54 |
+
|
55 |
+
$this->addColumn('message_url', array(
|
56 |
+
'header' => Mage::helper('messagereports')->__('Message URL'),
|
57 |
+
'align' =>'left',
|
58 |
+
'index' => 'message_url',
|
59 |
+
));
|
60 |
+
|
61 |
+
$this->addColumn('message_action', array(
|
62 |
+
'header' => Mage::helper('messagereports')->__('Message Action'),
|
63 |
+
'align' =>'left',
|
64 |
+
'index' => 'message_action',
|
65 |
+
));
|
66 |
+
|
67 |
+
$this->addColumn('customer_id', array(
|
68 |
+
'header' => Mage::helper('messagereports')->__('Customer'),
|
69 |
+
'align' =>'left',
|
70 |
+
'index' => 'customer_id',
|
71 |
+
'renderer' => 'Seak_Messagereports_Block_Adminhtml_Renderer_Customer',
|
72 |
+
));
|
73 |
+
|
74 |
+
|
75 |
+
$this->addColumn('created_time', array(
|
76 |
+
'header' => Mage::helper('messagereports')->__('Created Time'),
|
77 |
+
'align' =>'left',
|
78 |
+
'index' => 'created_time',
|
79 |
+
));
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
$this->addColumn('action',
|
84 |
+
array(
|
85 |
+
'header' => Mage::helper('messagereports')->__('Review Item'),
|
86 |
+
'width' => '100',
|
87 |
+
'type' => 'action',
|
88 |
+
'getter' => 'getId',
|
89 |
+
'actions' => array(
|
90 |
+
array(
|
91 |
+
'caption' => Mage::helper('messagereports')->__('Review'),
|
92 |
+
'url' => array('base'=> '*/*/edit'),
|
93 |
+
'field' => 'id'
|
94 |
+
),
|
95 |
+
|
96 |
+
),
|
97 |
+
'filter' => false,
|
98 |
+
'sortable' => false,
|
99 |
+
'index' => 'stores',
|
100 |
+
'is_system' => true,
|
101 |
+
));
|
102 |
+
|
103 |
+
|
104 |
+
|
105 |
+
|
106 |
+
$this->addExportType('*/*/exportCsv', Mage::helper('messagereports')->__('CSV'));
|
107 |
+
$this->addExportType('*/*/exportXml', Mage::helper('messagereports')->__('XML'));
|
108 |
+
|
109 |
+
return parent::_prepareColumns();
|
110 |
+
}
|
111 |
+
|
112 |
+
protected function _prepareMassaction()
|
113 |
+
{
|
114 |
+
$this->setMassactionIdField('id');
|
115 |
+
$this->getMassactionBlock()->setFormFieldName('messagereports');
|
116 |
+
|
117 |
+
$this->getMassactionBlock()->addItem('delete', array(
|
118 |
+
'label' => Mage::helper('messagereports')->__('Delete'),
|
119 |
+
'url' => $this->getUrl('*/*/massDelete'),
|
120 |
+
'confirm' => Mage::helper('messagereports')->__('Are you sure?')
|
121 |
+
));
|
122 |
+
|
123 |
+
|
124 |
+
return $this;
|
125 |
+
}
|
126 |
+
|
127 |
+
|
128 |
+
public function getRowUrl($row)
|
129 |
+
{
|
130 |
+
return $this->getUrl('*/*/edit', array('id' => $row->getId()));
|
131 |
+
}
|
132 |
+
public function getGridUrl()
|
133 |
+
{
|
134 |
+
return $this->getUrl('*/*/grid', array('_current'=>true));
|
135 |
+
}
|
136 |
+
|
137 |
+
}
|
app/code/community/Seak/Messagereports/Block/Adminhtml/Renderer/Customer.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
10 |
+
*/
|
11 |
+
|
12 |
+
class Seak_Messagereports_Block_Adminhtml_Renderer_Customer extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
|
13 |
+
{
|
14 |
+
|
15 |
+
public function render(Varien_Object $customer_row) {
|
16 |
+
if($customer_row->getCustomerId() == NULL){
|
17 |
+
return 'Guest';
|
18 |
+
}else{
|
19 |
+
$customer_data = Mage::getModel('customer/customer')->load($customer_row->getCustomerId());
|
20 |
+
return ''.$customer_data->getName().'';
|
21 |
+
}
|
22 |
+
|
23 |
+
}
|
24 |
+
|
25 |
+
}
|
app/code/community/Seak/Messagereports/Block/Adminhtml/Renderer/Type.php
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
10 |
+
*/
|
11 |
+
|
12 |
+
class Seak_Messagereports_Block_Adminhtml_Renderer_Type extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
|
13 |
+
{
|
14 |
+
|
15 |
+
public function render(Varien_Object $row) {
|
16 |
+
|
17 |
+
|
18 |
+
if($row->getMessageType() == 'error') {
|
19 |
+
|
20 |
+
return '<span class="grid-severity-critical"><span>Error Message</span></span>';
|
21 |
+
|
22 |
+
}elseif($row->getMessageType()== 'success'){
|
23 |
+
|
24 |
+
return '<span class="grid-severity-notice"><span>Success Message</span></span>';
|
25 |
+
|
26 |
+
}elseif($row->getMessageType()== 'warning'){
|
27 |
+
|
28 |
+
return '<span class="grid-severity-major"><span>Warning Message</span></span>';
|
29 |
+
|
30 |
+
}elseif($row->getMessageType()== 'notice'){
|
31 |
+
|
32 |
+
return '<span class="grid-severity-minor"><span>Notice Message</span></span>';
|
33 |
+
}
|
34 |
+
|
35 |
+
}
|
36 |
+
|
37 |
+
}
|
app/code/community/Seak/Messagereports/Block/Extensiondescription.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
10 |
+
*/
|
11 |
+
|
12 |
+
class Seak_Messagereports_Block_Extensiondescription extends Mage_Adminhtml_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface
|
13 |
+
{
|
14 |
+
protected $_template = 'seak/extensions/messagereports/extensiondescription.phtml';
|
15 |
+
|
16 |
+
protected function _prepareLayout()
|
17 |
+
{
|
18 |
+
$headBlock = $this->getLayout()->getBlock('head');
|
19 |
+
$headBlock->addCss('seak/css/messagereports/messagereports.css');
|
20 |
+
}
|
21 |
+
|
22 |
+
public function render(Varien_Data_Form_Element_Abstract $element)
|
23 |
+
{
|
24 |
+
return $this->toHtml();
|
25 |
+
}
|
26 |
+
|
27 |
+
}
|
app/code/community/Seak/Messagereports/Block/Messages.php
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
10 |
+
*/
|
11 |
+
|
12 |
+
class Seak_Messagereports_Block_Messages extends Mage_Core_Block_Template
|
13 |
+
{
|
14 |
+
|
15 |
+
|
16 |
+
}
|
app/code/community/Seak/Messagereports/Helper/Data.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Helper_Data extends Mage_Core_Helper_Abstract
|
12 |
+
{
|
13 |
+
|
14 |
+
public function getCount()
|
15 |
+
{
|
16 |
+
|
17 |
+
$messagereports = Mage::getModel('messagereports/messagereports')->getCollection();
|
18 |
+
return count($messagereports);
|
19 |
+
|
20 |
+
}
|
21 |
+
|
22 |
+
|
23 |
+
}
|
app/code/community/Seak/Messagereports/Model/Messagereports.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Model_Messagereports extends Mage_Core_Model_Abstract
|
12 |
+
{
|
13 |
+
public function _construct()
|
14 |
+
{
|
15 |
+
parent::_construct();
|
16 |
+
$this->_init('messagereports/messagereports');
|
17 |
+
}
|
18 |
+
}
|
app/code/community/Seak/Messagereports/Model/Mysql4/Messagereports.php
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Model_Mysql4_Messagereports extends Mage_Core_Model_Mysql4_Abstract
|
12 |
+
{
|
13 |
+
public function _construct()
|
14 |
+
{
|
15 |
+
// Note that the mods_id refers to the key field in your database table.
|
16 |
+
$this->_init('messagereports/messagereports', 'id');
|
17 |
+
}
|
18 |
+
|
19 |
+
protected function _afterLoad(Mage_Core_Model_Abstract $object)
|
20 |
+
{
|
21 |
+
|
22 |
+
$select = $this->_getReadAdapter()->select()
|
23 |
+
->from($this->getTable('messagereports_store'))
|
24 |
+
->where('id = ?', $object->getId());
|
25 |
+
|
26 |
+
if ($data = $this->_getReadAdapter()->fetchAll($select)) {
|
27 |
+
$storesArray = array();
|
28 |
+
foreach ($data as $row) {
|
29 |
+
$storesArray[] = $row['store_id'];
|
30 |
+
}
|
31 |
+
$object->setData('store_id', $storesArray);
|
32 |
+
}
|
33 |
+
|
34 |
+
return parent::_afterLoad($object);
|
35 |
+
|
36 |
+
}
|
37 |
+
|
38 |
+
// Process before saving
|
39 |
+
protected function _afterSave(Mage_Core_Model_Abstract $object)
|
40 |
+
{
|
41 |
+
|
42 |
+
$condition = $this->_getWriteAdapter()->quoteInto('id = ?', $object->getId());
|
43 |
+
$this->_getWriteAdapter()->delete($this->getTable('messagereports_store'), $condition);
|
44 |
+
|
45 |
+
foreach ((array)$object->getData('stores') as $store) {
|
46 |
+
$storeArray = array();
|
47 |
+
$storeArray['id'] = $object->getId();
|
48 |
+
$storeArray['store_id'] = $store;
|
49 |
+
$this->_getWriteAdapter()->insert($this->getTable('messagereports_store'), $storeArray);
|
50 |
+
}
|
51 |
+
|
52 |
+
return parent::_afterSave($object);
|
53 |
+
|
54 |
+
}
|
55 |
+
}
|
app/code/community/Seak/Messagereports/Model/Mysql4/Messagereports/Collection.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Model_Mysql4_Messagereports_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
|
12 |
+
{
|
13 |
+
public function _construct()
|
14 |
+
{
|
15 |
+
parent::_construct();
|
16 |
+
$this->_init('messagereports/messagereports');
|
17 |
+
}
|
18 |
+
|
19 |
+
public function addStoreFilter($store)
|
20 |
+
{
|
21 |
+
if ($store instanceof Mage_Core_Model_Store) {
|
22 |
+
$store = array($store->getId());
|
23 |
+
}
|
24 |
+
|
25 |
+
$this->getSelect()->join(
|
26 |
+
array('store_table' => $this->getTable('messagereports_store')),
|
27 |
+
'main_table.id = store_table.id',
|
28 |
+
array()
|
29 |
+
)
|
30 |
+
->where('store_table.store_id in (?)', array(0, $store));
|
31 |
+
|
32 |
+
return $this;
|
33 |
+
}
|
34 |
+
}
|
app/code/community/Seak/Messagereports/Model/Observer.php
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Model_Observer
|
12 |
+
{
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
}
|
app/code/community/Seak/Messagereports/Model/Session.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Model_Session extends Mage_Core_Model_Abstract
|
12 |
+
{
|
13 |
+
public function _construct()
|
14 |
+
{
|
15 |
+
parent::_construct();
|
16 |
+
$this->_init('messagereports');
|
17 |
+
}
|
18 |
+
}
|
app/code/community/Seak/Messagereports/controllers/Adminhtml/MessagereportsController.php
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
class Seak_Messagereports_Adminhtml_MessagereportsController extends Mage_Adminhtml_Controller_action
|
12 |
+
{
|
13 |
+
|
14 |
+
protected function _initAction() {
|
15 |
+
$this->loadLayout()
|
16 |
+
->_setActiveMenu('seak/messagereports')
|
17 |
+
->_addBreadcrumb(Mage::helper('adminhtml')->__('Manage Message Reports'), Mage::helper('adminhtml')->__('Manage Message Reports'));
|
18 |
+
|
19 |
+
return $this;
|
20 |
+
}
|
21 |
+
|
22 |
+
public function indexAction() {
|
23 |
+
|
24 |
+
$this->loadLayout();
|
25 |
+
$block = $this->getLayout()->createBlock('Mage_Core_Block_Template','messagereports.info', array('template' => 'seak/extensions/messagereports/info.phtml'));
|
26 |
+
$this->getLayout()->getBlock('content')->append($block);
|
27 |
+
$this->renderLayout();
|
28 |
+
}
|
29 |
+
|
30 |
+
|
31 |
+
|
32 |
+
public function editAction() {
|
33 |
+
$id = $this->getRequest()->getParam('id');
|
34 |
+
$model = Mage::getModel('messagereports/messagereports')->load($id);
|
35 |
+
|
36 |
+
if ($model->getId() || $id == 0) {
|
37 |
+
$data = Mage::getSingleton('adminhtml/session')->getFormData(true);
|
38 |
+
if (!empty($data)) {
|
39 |
+
$model->setData($data);
|
40 |
+
}
|
41 |
+
|
42 |
+
Mage::register('messagereports_data', $model);
|
43 |
+
|
44 |
+
$this->loadLayout();
|
45 |
+
$this->_setActiveMenu('seak/messagereports');
|
46 |
+
|
47 |
+
|
48 |
+
$this->_addContent($this->getLayout()->createBlock('messagereports/adminhtml_messagereports_edit'))
|
49 |
+
->_addLeft($this->getLayout()->createBlock('messagereports/adminhtml_messagereports_edit_tabs'));
|
50 |
+
|
51 |
+
$block = $this->getLayout()->createBlock('Mage_Core_Block_Template','messagereports.info',array('template' => 'seak/extensions/messagereports/info.phtml'));
|
52 |
+
$this->getLayout()->getBlock('content')->append($block);
|
53 |
+
$this->renderLayout();
|
54 |
+
} else {
|
55 |
+
Mage::getSingleton('adminhtml/session')->addError(Mage::helper('messagereports')->__('Item does not exist'));
|
56 |
+
$this->_redirect('*/*/');
|
57 |
+
}
|
58 |
+
}
|
59 |
+
|
60 |
+
public function newAction() {
|
61 |
+
$this->_forward('edit');
|
62 |
+
}
|
63 |
+
|
64 |
+
public function gridAction()
|
65 |
+
{
|
66 |
+
$this->loadLayout();
|
67 |
+
$this->getResponse()->setBody($this->getLayout()->createBlock('messagereports/adminhtml_messagereports_grid')->toHtml());
|
68 |
+
//$this->renderLayout();
|
69 |
+
}
|
70 |
+
|
71 |
+
|
72 |
+
|
73 |
+
public function saveAction() {
|
74 |
+
$model = Mage::getModel('messagereports/messagereports');
|
75 |
+
if ($data = $this->getRequest()->getPost()) {
|
76 |
+
|
77 |
+
|
78 |
+
$model = Mage::getModel('messagereports/messagereports');
|
79 |
+
|
80 |
+
$model->setData($data)
|
81 |
+
->setId($this->getRequest()->getParam('id'));
|
82 |
+
|
83 |
+
try {
|
84 |
+
if ($model->getCreatedTime() == NULL || $model->getUpdateTime() == NULL) {
|
85 |
+
$model->setCreatedTime(now())->setUpdateTime(now());
|
86 |
+
} else {
|
87 |
+
$model->setUpdateTime(now());
|
88 |
+
}
|
89 |
+
|
90 |
+
$model->save();
|
91 |
+
|
92 |
+
Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('messagereports')->__('Item was successfully saved'));
|
93 |
+
Mage::getSingleton('adminhtml/session')->setFormData(false);
|
94 |
+
|
95 |
+
if ($this->getRequest()->getParam('back')) {
|
96 |
+
$this->_redirect('*/*/edit', array('id' => $model->getId()));
|
97 |
+
return;
|
98 |
+
}
|
99 |
+
$this->_redirect('*/*/');
|
100 |
+
return;
|
101 |
+
} catch (Exception $e) {
|
102 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
103 |
+
Mage::getSingleton('adminhtml/session')->setFormData($data);
|
104 |
+
$this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
|
105 |
+
return;
|
106 |
+
}
|
107 |
+
}
|
108 |
+
Mage::getSingleton('adminhtml/session')->addError(Mage::helper('messagereports')->__('Unable to find item to save'));
|
109 |
+
$this->_redirect('*/*/');
|
110 |
+
}
|
111 |
+
|
112 |
+
public function deleteAction() {
|
113 |
+
if( $this->getRequest()->getParam('id') > 0 ) {
|
114 |
+
try {
|
115 |
+
$model = Mage::getModel('messagereports/messagereports');
|
116 |
+
|
117 |
+
$model->setId($this->getRequest()->getParam('id'))
|
118 |
+
->delete();
|
119 |
+
|
120 |
+
Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('adminhtml')->__('Item was successfully deleted'));
|
121 |
+
$this->_redirect('*/*/');
|
122 |
+
} catch (Exception $e) {
|
123 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
124 |
+
$this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
|
125 |
+
}
|
126 |
+
}
|
127 |
+
$this->_redirect('*/*/');
|
128 |
+
}
|
129 |
+
|
130 |
+
|
131 |
+
public function massDeleteAction() {
|
132 |
+
$messagereportsIds = $this->getRequest()->getParam('messagereports');
|
133 |
+
if(!is_array($messagereportsIds)) {
|
134 |
+
Mage::getSingleton('adminhtml/session')->addError(Mage::helper('adminhtml')->__('Please select item(s)'));
|
135 |
+
} else {
|
136 |
+
try {
|
137 |
+
foreach ($messagereportsIds as $messagereportId) {
|
138 |
+
$messagereports = Mage::getModel('messagereports/messagereports')->load($messagereportId);
|
139 |
+
$messagereports->delete();
|
140 |
+
}
|
141 |
+
Mage::getSingleton('adminhtml/session')->addSuccess(
|
142 |
+
Mage::helper('adminhtml')->__(
|
143 |
+
'Total of %d record(s) were successfully deleted', count($messagereports)
|
144 |
+
)
|
145 |
+
);
|
146 |
+
} catch (Exception $e) {
|
147 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
148 |
+
}
|
149 |
+
}
|
150 |
+
$this->_redirect('*/*/index');
|
151 |
+
}
|
152 |
+
|
153 |
+
|
154 |
+
public function exportCsvAction()
|
155 |
+
{
|
156 |
+
$fileName = 'seak/extensions/messagereports/messagereports.csv';
|
157 |
+
$content = $this->getLayout()->createBlock('messagereports/adminhtml_messagereports_grid')
|
158 |
+
->getCsv();
|
159 |
+
|
160 |
+
$this->_sendUploadResponse($fileName, $content);
|
161 |
+
}
|
162 |
+
|
163 |
+
public function exportXmlAction()
|
164 |
+
{
|
165 |
+
$fileName = 'seak/extensions/messagereports/messagereports.xml';
|
166 |
+
$content = $this->getLayout()->createBlock('messagereports/adminhtml_messagereports_grid')
|
167 |
+
->getXml();
|
168 |
+
|
169 |
+
$this->_sendUploadResponse($fileName, $content);
|
170 |
+
}
|
171 |
+
|
172 |
+
protected function _sendUploadResponse($fileName, $content, $contentType='application/octet-stream')
|
173 |
+
{
|
174 |
+
$response = $this->getResponse();
|
175 |
+
$response->setHeader('HTTP/1.1 200 OK','');
|
176 |
+
$response->setHeader('Pragma', 'public', true);
|
177 |
+
$response->setHeader('Cache-Control', 'must-revalidate, post-check=0, pre-check=0', true);
|
178 |
+
$response->setHeader('Content-Disposition', 'attachment; filename='.$fileName);
|
179 |
+
$response->setHeader('Last-Modified', date('r'));
|
180 |
+
$response->setHeader('Accept-Ranges', 'bytes');
|
181 |
+
$response->setHeader('Content-Length', strlen($content));
|
182 |
+
$response->setHeader('Content-type', $contentType);
|
183 |
+
$response->setBody($content);
|
184 |
+
$response->sendResponse();
|
185 |
+
die;
|
186 |
+
}
|
187 |
+
|
188 |
+
|
189 |
+
}
|
app/code/community/Seak/Messagereports/etc/adminhtml.xml
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
|
3 |
+
<!--
|
4 |
+
/**
|
5 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
6 |
+
*
|
7 |
+
* NOTICE OF LICENSE
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* @license
|
10 |
+
*http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
11 |
+
*/
|
12 |
+
-->
|
13 |
+
|
14 |
+
<config>
|
15 |
+
<menu>
|
16 |
+
<seak>
|
17 |
+
<title>Seak Extensions</title>
|
18 |
+
<sort_order>999999</sort_order>
|
19 |
+
<children>
|
20 |
+
<messagereports module="messagereports">
|
21 |
+
<title>Message Reports</title>
|
22 |
+
<sort_order>20</sort_order>
|
23 |
+
<children>
|
24 |
+
<view_messagereports translate="title" module="messagereports">
|
25 |
+
<title>View Message Reports</title>
|
26 |
+
<sort_order>100</sort_order>
|
27 |
+
<action>messagereports/adminhtml_messagereports</action>
|
28 |
+
</view_messagereports>
|
29 |
+
<messagereports_settings translate="title" module="messagereports">
|
30 |
+
<title>Message Reports Settings</title>
|
31 |
+
<sort_order>200</sort_order>
|
32 |
+
<action>adminhtml/system_config/edit/section/messagereports/</action>
|
33 |
+
</messagereports_settings>
|
34 |
+
</children>
|
35 |
+
</messagereports>
|
36 |
+
</children>
|
37 |
+
</seak>
|
38 |
+
</menu>
|
39 |
+
<acl>
|
40 |
+
<resources>
|
41 |
+
<all>
|
42 |
+
<title>Allow Everything</title>
|
43 |
+
</all>
|
44 |
+
<admin>
|
45 |
+
<children>
|
46 |
+
<seak>
|
47 |
+
<title>Seak Extensions</title>
|
48 |
+
<sort_order>999999</sort_order>
|
49 |
+
<children>
|
50 |
+
<messagereports module="messagereports">
|
51 |
+
<title>Message Reports</title>
|
52 |
+
<sort_order>20</sort_order>
|
53 |
+
<children>
|
54 |
+
<view_messagereports translate="title" module="messagereports">
|
55 |
+
<title>View Message Reports</title>
|
56 |
+
<sort_order>100</sort_order>
|
57 |
+
<action>messagereports/adminhtml_messagereports</action>
|
58 |
+
</view_messagereports>
|
59 |
+
<messagereports_settings translate="title" module="messagereports">
|
60 |
+
<title>Message Reports Settings</title>
|
61 |
+
<sort_order>200</sort_order>
|
62 |
+
</messagereports_settings>
|
63 |
+
</children>
|
64 |
+
</messagereports>
|
65 |
+
</children>
|
66 |
+
</seak>
|
67 |
+
<system>
|
68 |
+
<children>
|
69 |
+
<config>
|
70 |
+
<children>
|
71 |
+
<messagereports translate="title" module="messagereports">
|
72 |
+
<title>Message Reports Settings</title>
|
73 |
+
<sort_order>50</sort_order>
|
74 |
+
</messagereports>
|
75 |
+
</children>
|
76 |
+
</config>
|
77 |
+
</children>
|
78 |
+
</system>
|
79 |
+
</children>
|
80 |
+
</admin>
|
81 |
+
</resources>
|
82 |
+
</acl>
|
83 |
+
</config>
|
app/code/community/Seak/Messagereports/etc/config.xml
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
6 |
+
*
|
7 |
+
* NOTICE OF LICENSE
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* @license
|
10 |
+
*http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
11 |
+
*/
|
12 |
+
|
13 |
+
-->
|
14 |
+
<config>
|
15 |
+
<modules>
|
16 |
+
<Seak_Messagereports>
|
17 |
+
<version>1.0.0</version>
|
18 |
+
</Seak_Messagereports>
|
19 |
+
</modules>
|
20 |
+
<global>
|
21 |
+
<blocks>
|
22 |
+
<messagereports>
|
23 |
+
<class>Seak_Messagereports_Block</class>
|
24 |
+
</messagereports>
|
25 |
+
</blocks>
|
26 |
+
<helpers>
|
27 |
+
<messagereports>
|
28 |
+
<class>Seak_Messagereports_Helper</class>
|
29 |
+
</messagereports>
|
30 |
+
</helpers>
|
31 |
+
<models>
|
32 |
+
<messagereports>
|
33 |
+
<class>Seak_Messagereports_Model</class>
|
34 |
+
<resourceModel>messagereports_mysql4</resourceModel>
|
35 |
+
</messagereports>
|
36 |
+
<messagereports_mysql4>
|
37 |
+
<class>Seak_Messagereports_Model_Mysql4</class>
|
38 |
+
<entities>
|
39 |
+
<messagereports>
|
40 |
+
<table>messagereports</table>
|
41 |
+
</messagereports>
|
42 |
+
<messagereports_store>
|
43 |
+
<table>messagereports_store</table>
|
44 |
+
</messagereports_store>
|
45 |
+
</entities>
|
46 |
+
</messagereports_mysql4>
|
47 |
+
</models>
|
48 |
+
<resources>
|
49 |
+
<messagereports_setup>
|
50 |
+
<setup>
|
51 |
+
<module>Seak_Messagereports</module>
|
52 |
+
</setup>
|
53 |
+
<connection>
|
54 |
+
<use>core_setup</use>
|
55 |
+
</connection>
|
56 |
+
</messagereports_setup>
|
57 |
+
<messagereports_write>
|
58 |
+
<connection>
|
59 |
+
<use>core_write</use>
|
60 |
+
</connection>
|
61 |
+
</messagereports_write>
|
62 |
+
<messagereports_read>
|
63 |
+
<connection>
|
64 |
+
<use>core_read</use>
|
65 |
+
</connection>
|
66 |
+
</messagereports_read>
|
67 |
+
</resources>
|
68 |
+
</global>
|
69 |
+
<admin>
|
70 |
+
<routers>
|
71 |
+
<messagereports>
|
72 |
+
<use>admin</use>
|
73 |
+
<args>
|
74 |
+
<module>Seak_Messagereports</module>
|
75 |
+
<frontName>messagereports</frontName>
|
76 |
+
</args>
|
77 |
+
</messagereports>
|
78 |
+
</routers>
|
79 |
+
</admin>
|
80 |
+
<adminhtml>
|
81 |
+
<layout>
|
82 |
+
<updates>
|
83 |
+
<messagereports>
|
84 |
+
<file>seak/extensions/messagereports/messagereports.xml</file>
|
85 |
+
</messagereports>
|
86 |
+
</updates>
|
87 |
+
</layout>
|
88 |
+
</adminhtml>
|
89 |
+
<frontend>
|
90 |
+
<layout>
|
91 |
+
<updates>
|
92 |
+
<messagereports>
|
93 |
+
<file>seak/extensions/messagereports/messagereports.xml</file>
|
94 |
+
</messagereports>
|
95 |
+
</updates>
|
96 |
+
</layout>
|
97 |
+
</frontend>
|
98 |
+
<default>
|
99 |
+
<messagereports>
|
100 |
+
<general>
|
101 |
+
<enabled>1</enabled>
|
102 |
+
<allow_update_check>1</allow_update_check>
|
103 |
+
<allow_update_url>http://seakecommerce.com/updater/updater.php?update=messagereports.json</allow_update_url>
|
104 |
+
</general>
|
105 |
+
<report_settings>
|
106 |
+
<report_success>1</report_success>
|
107 |
+
<report_errors>1</report_errors>
|
108 |
+
<report_notices>1</report_notices>
|
109 |
+
<report_warnings>1</report_warnings>
|
110 |
+
</report_settings>
|
111 |
+
</messagereports>
|
112 |
+
</default>
|
113 |
+
</config>
|
app/code/community/Seak/Messagereports/etc/system.xml
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license
|
9 |
+
*http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
10 |
+
*/
|
11 |
+
-->
|
12 |
+
|
13 |
+
<config>
|
14 |
+
<tabs>
|
15 |
+
<seak translate="label" module="messagereports">
|
16 |
+
<label>Seak Extensions</label>
|
17 |
+
<sort_order>71</sort_order>
|
18 |
+
</seak>
|
19 |
+
</tabs>
|
20 |
+
<sections>
|
21 |
+
<messagereports translate="label" module="messagereports">
|
22 |
+
<label>Message Reports Settings</label>
|
23 |
+
<tab>seak</tab>
|
24 |
+
<frontend_type>text</frontend_type>
|
25 |
+
<sort_order>299</sort_order>
|
26 |
+
<show_in_default>1</show_in_default>
|
27 |
+
<show_in_website>1</show_in_website>
|
28 |
+
<show_in_store>1</show_in_store>
|
29 |
+
<groups>
|
30 |
+
<extensiondescription>
|
31 |
+
<frontend_model>messagereports/extensiondescription</frontend_model>
|
32 |
+
<sort_order>1</sort_order>
|
33 |
+
<show_in_default>1</show_in_default>
|
34 |
+
<show_in_website>1</show_in_website>
|
35 |
+
<show_in_store>1</show_in_store>
|
36 |
+
</extensiondescription>
|
37 |
+
<general translate="label">
|
38 |
+
<label>Message Reports — General Settings</label>
|
39 |
+
<frontend_type>text</frontend_type>
|
40 |
+
<sort_order>10</sort_order>
|
41 |
+
<show_in_default>1</show_in_default>
|
42 |
+
<show_in_website>1</show_in_website>
|
43 |
+
<show_in_store>1</show_in_store>
|
44 |
+
<fields>
|
45 |
+
<enabled translate="label">
|
46 |
+
<label>Enable Message Reports</label>
|
47 |
+
<frontend_type>select</frontend_type>
|
48 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
49 |
+
<sort_order>1</sort_order>
|
50 |
+
<show_in_default>1</show_in_default>
|
51 |
+
<show_in_website>1</show_in_website>
|
52 |
+
<show_in_store>1</show_in_store>
|
53 |
+
<comment><![CDATA[Enable Extended Menu]]></comment>
|
54 |
+
</enabled>
|
55 |
+
<allow_update_check translate="label">
|
56 |
+
<label>Allow Update Check</label>
|
57 |
+
<frontend_type>select</frontend_type>
|
58 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
59 |
+
<sort_order>99</sort_order>
|
60 |
+
<show_in_default>1</show_in_default>
|
61 |
+
<show_in_website>1</show_in_website>
|
62 |
+
<show_in_store>1</show_in_store>
|
63 |
+
<depends><enabled>1</enabled></depends>
|
64 |
+
<comment><![CDATA[Allow Extension Update Checking<br /> — Checks if update(s) are avaliable for the extension.]]></comment>
|
65 |
+
</allow_update_check>
|
66 |
+
</fields>
|
67 |
+
</general>
|
68 |
+
<report_settings translate="label">
|
69 |
+
<label>Message Reports — Reporting Settings</label>
|
70 |
+
<frontend_type>text</frontend_type>
|
71 |
+
<sort_order>20</sort_order>
|
72 |
+
<show_in_default>1</show_in_default>
|
73 |
+
<show_in_website>1</show_in_website>
|
74 |
+
<show_in_store>1</show_in_store>
|
75 |
+
<fields>
|
76 |
+
<report_success translate="label">
|
77 |
+
<label>Report Success Messages</label>
|
78 |
+
<frontend_type>select</frontend_type>
|
79 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
80 |
+
<sort_order>10</sort_order>
|
81 |
+
<show_in_default>1</show_in_default>
|
82 |
+
<show_in_website>1</show_in_website>
|
83 |
+
<show_in_store>1</show_in_store>
|
84 |
+
<comment><![CDATA[Report Success Messages]]></comment>
|
85 |
+
</report_success>
|
86 |
+
<report_errors translate="label">
|
87 |
+
<label>Report Error Messages</label>
|
88 |
+
<frontend_type>select</frontend_type>
|
89 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
90 |
+
<sort_order>20</sort_order>
|
91 |
+
<show_in_default>1</show_in_default>
|
92 |
+
<show_in_website>1</show_in_website>
|
93 |
+
<show_in_store>1</show_in_store>
|
94 |
+
<comment><![CDATA[Report Error Messages]]></comment>
|
95 |
+
</report_errors>
|
96 |
+
<report_notices translate="label">
|
97 |
+
<label>Report Notice Messages</label>
|
98 |
+
<frontend_type>select</frontend_type>
|
99 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
100 |
+
<sort_order>30</sort_order>
|
101 |
+
<show_in_default>1</show_in_default>
|
102 |
+
<show_in_website>1</show_in_website>
|
103 |
+
<show_in_store>1</show_in_store>
|
104 |
+
<comment><![CDATA[Report Notice Messages]]></comment>
|
105 |
+
</report_notices>
|
106 |
+
<report_warnings translate="label">
|
107 |
+
<label>Report Warning Messages</label>
|
108 |
+
<frontend_type>select</frontend_type>
|
109 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
110 |
+
<sort_order>40</sort_order>
|
111 |
+
<show_in_default>1</show_in_default>
|
112 |
+
<show_in_website>1</show_in_website>
|
113 |
+
<show_in_store>1</show_in_store>
|
114 |
+
<comment><![CDATA[Report Warning Messages]]></comment>
|
115 |
+
</report_warnings>
|
116 |
+
</fields>
|
117 |
+
</report_settings>
|
118 |
+
</groups>
|
119 |
+
</messagereports>
|
120 |
+
</sections>
|
121 |
+
</config>
|
app/code/community/Seak/Messagereports/sql/messagereports_setup/mysql4-install-1.0.0.php
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
$installer = $this;
|
12 |
+
//$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
|
13 |
+
$installer->startSetup();
|
14 |
+
|
15 |
+
$installer->run("
|
16 |
+
|
17 |
+
DROP TABLE IF EXISTS {$this->getTable('messagereports')};
|
18 |
+
CREATE TABLE {$this->getTable('messagereports')} (
|
19 |
+
`id` smallint(6) NOT NULL AUTO_INCREMENT,
|
20 |
+
`message_content` text default NULL,
|
21 |
+
`message_type` varchar(255) default NULL,
|
22 |
+
`message_url` varchar(255) default NULL,
|
23 |
+
`message_action` varchar(255) default NULL,
|
24 |
+
`message_website` varchar(255) default NULL,
|
25 |
+
`message_store` varchar(255) default NULL,
|
26 |
+
`customer_id` text default NULL,
|
27 |
+
`admin_notes` text default NULL,
|
28 |
+
`created_time` datetime default NULL,
|
29 |
+
`update_time` datetime default NULL,
|
30 |
+
|
31 |
+
PRIMARY KEY (`id`)
|
32 |
+
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
|
33 |
+
|
34 |
+
DROP TABLE IF EXISTS {$this->getTable('messagereports_store')};
|
35 |
+
CREATE TABLE {$this->getTable('messagereports_store')} (
|
36 |
+
`id` int(11) NOT NULL,
|
37 |
+
`store_id` smallint(5) unsigned NOT NULL,
|
38 |
+
PRIMARY KEY (`id`,`store_id`),
|
39 |
+
KEY `FK_MESSAGEREPORTS_STORE_STORE` (`store_id`)
|
40 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Seak Message Reports Store View';
|
41 |
+
");
|
42 |
+
|
43 |
+
$installer->endSetup();
|
app/design/adminhtml/default/default/layout/seak/extensions/messagereports/messagereports.xml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
-->
|
11 |
+
<layout version="0.1.0">
|
12 |
+
<messagereports_adminhtml_messagereports_edit>
|
13 |
+
|
14 |
+
</messagereports_adminhtml_messagereports_edit>
|
15 |
+
<messagereports_adminhtml_messagereports_index>
|
16 |
+
<reference name="content">
|
17 |
+
<block type="messagereports/adminhtml_messagereports" name="messagereports" />
|
18 |
+
</reference>
|
19 |
+
</messagereports_adminhtml_messagereports_index>
|
20 |
+
|
21 |
+
</layout>
|
app/design/adminhtml/default/default/template/seak/extensions/messagereports/extensiondescription.phtml
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
?>
|
12 |
+
<?php
|
13 |
+
$baseurl = $this->getBaseUrl() ;
|
14 |
+
$skinurl = $this->getSkinUrl() ;
|
15 |
+
$url = ''.str_replace('index.php/', '',$baseurl).'';
|
16 |
+
$IsUpdateCheckEnabled = Mage::getStoreConfig('messagereports/general/allow_update_check');
|
17 |
+
$version = Mage::getConfig()->getModuleConfig("Seak_Messagereports")->version;
|
18 |
+
?>
|
19 |
+
<div class="messagereports-seak-tab-message">
|
20 |
+
<h4>Global Message Reports // Magento Extension // Version <?php echo $version ; ?></h4>
|
21 |
+
<br />
|
22 |
+
<p>Easily record global message reports and easily manage in the admin panel of your Magento Platform.</p>
|
23 |
+
<br />
|
24 |
+
<p>— Current Stability: Stable</p>
|
25 |
+
<p>— Relesed Date: September 2015</p>
|
26 |
+
<p>— Latest Update: September 2015</p>
|
27 |
+
<p>— Web: <a href="http://seakecommerce.com/our-products/extensions/messagereports-extension/" target="_blank">Visit the Extension Page</a></p>
|
28 |
+
<p>— Docs: <a href="<?php echo $url ?>media/seak/extensions/docs/messagereports/index.html" target="_blank">Open Documentation</a></p>
|
29 |
+
<p>— Support: <a href="http://seakecommerce.com/support">Support Form</a></p>
|
30 |
+
<p>— Suggest: <a href="http://www.seakecommerce.com/suggestions" target="_blank">Complete our form and submit</a></p>
|
31 |
+
<?php if($IsUpdateCheckEnabled) { ?>
|
32 |
+
<?php
|
33 |
+
$IsUpdateCheckUrl = Mage::getStoreConfig('messagereports/general/allow_update_url');
|
34 |
+
|
35 |
+
?>
|
36 |
+
|
37 |
+
<script type="text/javascript">
|
38 |
+
|
39 |
+
var json_url = '<?php echo $IsUpdateCheckUrl; ?>',
|
40 |
+
div = document.getElementsByTagName('div')[0];
|
41 |
+
var vString = "";
|
42 |
+
request = new XMLHttpRequest();
|
43 |
+
request.open('GET', json_url, true);
|
44 |
+
var version = '<?php echo $version;?>';
|
45 |
+
request.onload = setTimeout(function() {
|
46 |
+
data = JSON.parse(request.responseText);
|
47 |
+
var newVersion = data.items[0].version;
|
48 |
+
var updateUrl = data.items[0].url;
|
49 |
+
|
50 |
+
if (parseFloat(newVersion) > parseFloat(version)){
|
51 |
+
vString += "<img src='<?php echo $url; ?>media/seak/images/error.png' /> <a style='margin:0px 0px 10px 0px;' target='_blank' href='" + updateUrl + "'' ";
|
52 |
+
vString += "title='New Version Avaliable - " + newVersion + "'> New Update Avaliable</a>";
|
53 |
+
updatebutton.innerHTML = vString;
|
54 |
+
}
|
55 |
+
else{
|
56 |
+
updatebutton.innerHTML = "<img src='<?php echo $url; ?>media/seak/images/ok.png' /> <a style='margin:0px 0px 10px 0px;' title='Extension is Up To Date'> Extension is Up to Date</a>";
|
57 |
+
}
|
58 |
+
}, 3000);
|
59 |
+
request.send();
|
60 |
+
function hideIt() {
|
61 |
+
document.getElementById("update-loader-img").style.visibility = "hidden";
|
62 |
+
}
|
63 |
+
setTimeout("hideIt()", 6000); // after 6 sec
|
64 |
+
|
65 |
+
</script>
|
66 |
+
<p><a id="updatebutton"><img id="update-loader-img" style="visibility:visible;" src="<?php echo $url; ?>media/seak/images/loader.gif" /></a></p>
|
67 |
+
<?php } ?>
|
68 |
+
</div>
|
69 |
+
|
70 |
+
|
app/design/adminhtml/default/default/template/seak/extensions/messagereports/info.phtml
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
|
11 |
+
$baseurl = Mage::getBaseUrl();
|
12 |
+
$url = ''.str_replace('index.php/', '',$baseurl).'';
|
13 |
+
$IsEnabled = Mage::getStoreConfig('messagereports/general/enabled');
|
14 |
+
|
15 |
+
$version = Mage::getConfig()->getModuleConfig("Seak_Messagereports")->version;
|
16 |
+
?>
|
17 |
+
|
18 |
+
<div class="notification-global" style="background:#fff9e9;background-image:none;">
|
19 |
+
|
20 |
+
|
21 |
+
<strong class="label">Message:</strong> You have <strong><?php echo Mage::helper('messagereports')->getCount();?> </strong> report item(s). <a target="_blank" href="<?php echo $url ?>media/seak/extensions/docs/messagereports/index.html" >Read the Documentation</a><br />
|
22 |
+
<?php if($IsEnabled) { ?>
|
23 |
+
<strong class="label">
|
24 |
+
Message:</strong> Message Reporting is Enabled, you can disable this if you wish to stop Message Reporting functionality.<br/>
|
25 |
+
<?php }else{ ?>
|
26 |
+
<strong class="label">
|
27 |
+
Message:</strong> Message Reporting is Disabled.<br/>
|
28 |
+
<?php } ?>
|
29 |
+
|
30 |
+
|
31 |
+
</div>
|
32 |
+
|
app/design/frontend/base/default/layout/seak/extensions/messagereports/messagereports.xml
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
|
3 |
+
<!--
|
4 |
+
/**
|
5 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
6 |
+
*
|
7 |
+
* NOTICE OF LICENSE
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* @license
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
11 |
+
*/
|
12 |
+
-->
|
13 |
+
|
14 |
+
<layout>
|
15 |
+
<default>
|
16 |
+
<reference name="header">
|
17 |
+
<block type="core/text_list" name="messagereports_messages" template="seak/extensions/messagereports/messagereports.phtml" />
|
18 |
+
</reference>
|
19 |
+
|
20 |
+
<reference name="content">
|
21 |
+
<block type="messagereports/messages" name="test" template="seak/extensions/messagereports/messagereports.phtml" after="tags_popular"></block>
|
22 |
+
</reference>
|
23 |
+
|
24 |
+
</default>
|
25 |
+
</layout>
|
app/design/frontend/base/default/template/seak/extensions/messagereports/messagereports.phtml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* @license
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
10 |
+
*/
|
11 |
+
|
12 |
+
$IsEnabled = Mage::getStoreConfig('messagereports/general/enabled');
|
13 |
+
if($IsEnabled){
|
14 |
+
//Message Reports is Enabled
|
15 |
+
|
16 |
+
$messagereports_collection = Mage::getModel('messagereports/messagereports');
|
17 |
+
$session = Mage::getSingleton('customer/session');
|
18 |
+
if($session->isLoggedIn()){$CustomerIdValue = Mage::helper('customer/data')->getCustomer()->getId();}else{$CustomerIdValue = 'Guest';}
|
19 |
+
$WebsiteValue = Mage::app()->getWebsite()->getName();
|
20 |
+
$StoreValueInt = Mage::app()->getStore();
|
21 |
+
$StoreValue = $StoreValueInt->getName();
|
22 |
+
$LayoutValueModule = Mage::app()->getRequest()->getModuleName();
|
23 |
+
$LayoutValueController = Mage::app()->getRequest()->getControllerName();
|
24 |
+
$LayoutValueAction = Mage::app()->getRequest()->getActionName();
|
25 |
+
$Action = ''.$LayoutValueModule.' > '.$LayoutValueController.' > '.$LayoutValueAction.'';
|
26 |
+
|
27 |
+
$messages = $this->getMessagesBlock()->getMessages();
|
28 |
+
foreach($messages as $message) {
|
29 |
+
if($message->getType() == 'error') {
|
30 |
+
//Error Type
|
31 |
+
if(Mage::getStoreConfig('messagereports/report_settings/report_errors')){
|
32 |
+
//Report Error Messages Enabled
|
33 |
+
$messagereports_collection->setId();
|
34 |
+
$messagereports_collection->setMessageType($message->getType());
|
35 |
+
$messagereports_collection->setMessageContent($message->getText());
|
36 |
+
$messagereports_collection->setCustomerId($CustomerIdValue);
|
37 |
+
$messagereports_collection->setMessageUrl(Mage::helper('core/url')->getCurrentUrl());
|
38 |
+
$messagereports_collection->setMessageAction($Action);
|
39 |
+
$messagereports_collection->setMessageWebsite($WebsiteValue);
|
40 |
+
$messagereports_collection->setMessageStore($StoreValue);
|
41 |
+
$messagereports_collection->setCreatedTime(now());
|
42 |
+
$messagereports_collection->save();
|
43 |
+
}
|
44 |
+
}elseif($message->getType() == 'success'){
|
45 |
+
//Success Type
|
46 |
+
if(Mage::getStoreConfig('messagereports/report_settings/report_success')){
|
47 |
+
//Report Success Messages Enabled
|
48 |
+
$messagereports_collection->setId();
|
49 |
+
$messagereports_collection->setMessageType($message->getType());
|
50 |
+
$messagereports_collection->setMessageContent($message->getText());
|
51 |
+
$messagereports_collection->setCustomerId($CustomerIdValue);
|
52 |
+
$messagereports_collection->setMessageUrl(Mage::helper('core/url')->getCurrentUrl());
|
53 |
+
$messagereports_collection->setMessageAction($Action);
|
54 |
+
$messagereports_collection->setMessageWebsite($WebsiteValue);
|
55 |
+
$messagereports_collection->setMessageStore($StoreValue);
|
56 |
+
$messagereports_collection->setCreatedTime(now());
|
57 |
+
$messagereports_collection->save();
|
58 |
+
}
|
59 |
+
}elseif($message->getType() == 'notice'){
|
60 |
+
//Notice Type
|
61 |
+
if(Mage::getStoreConfig('messagereports/report_settings/report_notices')){
|
62 |
+
//Report Notices Messages Enabled
|
63 |
+
$messagereports_collection->setId();
|
64 |
+
$messagereports_collection->setMessageType($message->getType());
|
65 |
+
$messagereports_collection->setMessageContent($message->getText());
|
66 |
+
$messagereports_collection->setCustomerId($CustomerIdValue);
|
67 |
+
$messagereports_collection->setMessageUrl(Mage::helper('core/url')->getCurrentUrl());
|
68 |
+
$messagereports_collection->setMessageAction($Action);
|
69 |
+
$messagereports_collection->setMessageWebsite($WebsiteValue);
|
70 |
+
$messagereports_collection->setMessageStore($StoreValue);
|
71 |
+
$messagereports_collection->setCreatedTime(now());
|
72 |
+
$messagereports_collection->save();
|
73 |
+
}
|
74 |
+
}elseif($message->getType() == 'warning'){
|
75 |
+
//Warning Type
|
76 |
+
if(Mage::getStoreConfig('messagereports/report_settings/report_warnings')){
|
77 |
+
//Report Warning Messages Enabled
|
78 |
+
$messagereports_collection->setId();
|
79 |
+
$messagereports_collection->setMessageType($message->getType());
|
80 |
+
$messagereports_collection->setMessageContent($message->getText());
|
81 |
+
$messagereports_collection->setCustomerId($CustomerIdValue);
|
82 |
+
$messagereports_collection->setMessageUrl(Mage::helper('core/url')->getCurrentUrl());
|
83 |
+
$messagereports_collection->setMessageAction($Action);
|
84 |
+
$messagereports_collection->setMessageWebsite($WebsiteValue);
|
85 |
+
$messagereports_collection->setMessageStore($StoreValue);
|
86 |
+
$messagereports_collection->setCreatedTime(now());
|
87 |
+
$messagereports_collection->save();
|
88 |
+
}
|
89 |
+
}
|
90 |
+
}
|
91 |
+
}
|
92 |
+
?>
|
93 |
+
|
app/etc/modules/Seak_Messagereports.xml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Seak Ecommerce Group :: Magento Extension Development
|
6 |
+
*
|
7 |
+
* NOTICE OF LICENSE
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
10 |
+
*/
|
11 |
+
|
12 |
+
-->
|
13 |
+
|
14 |
+
<config>
|
15 |
+
<modules>
|
16 |
+
<Seak_Messagereports>
|
17 |
+
<active>true</active>
|
18 |
+
<codePool>community</codePool>
|
19 |
+
</Seak_Messagereports>
|
20 |
+
</modules>
|
21 |
+
</config>
|
media/seak/extensions/docs/messagereports/about.html
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
5 |
+
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
|
6 |
+
<meta name="generator" content="joDoc">
|
7 |
+
<title>About — Seak Ecommerce Message Reports Extension Documentation</title>
|
8 |
+
<link rel="stylesheet" type="text/css" href="index.css">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
<body>
|
12 |
+
|
13 |
+
<div id="sidebar">
|
14 |
+
|
15 |
+
<div class="vertical_divider"></div>
|
16 |
+
<a href="http://seakecommerce.com" alt="Seak Ecommerce" title="Visit Seak Ecommerce"><img src="img/seakecommerce.png" width="75%" /></a>
|
17 |
+
<h1>Documentation</h1>
|
18 |
+
<ul>
|
19 |
+
<li><a href="index.html">Index</a></li>
|
20 |
+
<li class="active"><a href="about.html">About Extension</a></li>
|
21 |
+
<li><a href="install.html">Installation</a></li>
|
22 |
+
<li><a href="settings.html">Settings & Configure</a></li>
|
23 |
+
<li><a href="manage.html">Managing Reports</a></li>
|
24 |
+
</ul>
|
25 |
+
<h1>External Links</h1>
|
26 |
+
<ul>
|
27 |
+
<li><a href="http://seakecommerce.com/messagereports-extension">Product Page</a></li>
|
28 |
+
<li><a href="http://seakecommerce.com/support">Get Support</a></li>
|
29 |
+
<li><a href="http://seakecommerce.com/">Seak Ecommerce</a></li>
|
30 |
+
<li><a href="http://seakecommerce.com/contacts">Contact Us</a></li>
|
31 |
+
</ul>
|
32 |
+
</div>
|
33 |
+
<div id="scrollable">
|
34 |
+
<div id="content">
|
35 |
+
<div>
|
36 |
+
<h1><a name="">About — Message Reports Extension</a></h1>
|
37 |
+
|
38 |
+
<br class="clear" />
|
39 |
+
<h2><a href="about.html">About This Extension</a></h2>
|
40 |
+
<p>Easily record multiple types of frontend user messages and manage the reports in your admin panel. This extension has been built specifically for the Magento Platform. </p>
|
41 |
+
|
42 |
+
|
43 |
+
<h2><a href="about.html">Key Features</a></h2>
|
44 |
+
<p>
|
45 |
+
|
46 |
+
<ul>
|
47 |
+
<li class="small-txt">Easily review error, success & warning messages from the frontend</li>
|
48 |
+
<li class="small-txt">Config Settings & Magento ACL</li>
|
49 |
+
<li class="small-txt">Extended custom magento grid</li>
|
50 |
+
</ul>
|
51 |
+
|
52 |
+
</p>
|
53 |
+
|
54 |
+
<br class="clear" />
|
55 |
+
|
56 |
+
|
57 |
+
<a href="install.html">Next ></a>
|
58 |
+
</div>
|
59 |
+
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
</body>
|
63 |
+
</html>
|
media/seak/extensions/docs/messagereports/img/ajax-loader.gif
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/error.png
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/green-bg.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/grey-bg.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/ok.png
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/admin-about-section.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/admin-menu-settings.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/admin-menu.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/change-satus.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/collection-grid-page.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/delete-checkbox.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/delete-submit.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/edit-grid.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/edit-item-page-a.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/general-settings.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/report-settings.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/save-button.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/save-config-button.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/submit-button.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/screenshots/update-button.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/seakecommerce.png
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/img/white-bg.jpg
ADDED
Binary file
|
media/seak/extensions/docs/messagereports/index.css
ADDED
@@ -0,0 +1,398 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
|
3 |
+
/* #Reset & Basics (Inspired by E. Meyers)
|
4 |
+
================================================== */
|
5 |
+
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
|
6 |
+
margin: 0;
|
7 |
+
padding: 0;
|
8 |
+
border: 0;
|
9 |
+
font-size: 100%;
|
10 |
+
font: inherit;
|
11 |
+
vertical-align: baseline; }
|
12 |
+
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
|
13 |
+
display: block; }
|
14 |
+
body {
|
15 |
+
line-height: 1; }
|
16 |
+
ol, ul {
|
17 |
+
list-style: none; }
|
18 |
+
blockquote, q {
|
19 |
+
quotes: none; }
|
20 |
+
blockquote:before, blockquote:after,
|
21 |
+
q:before, q:after {
|
22 |
+
content: '';
|
23 |
+
content: none; }
|
24 |
+
table {
|
25 |
+
border-collapse: collapse;
|
26 |
+
border-spacing: 0; }
|
27 |
+
|
28 |
+
|
29 |
+
body {
|
30 |
+
background-color:#F6F4F2;
|
31 |
+
background:url(img/white-bg.jpg) repeat top left;
|
32 |
+
font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
|
33 |
+
font-size:16px;
|
34 |
+
}
|
35 |
+
|
36 |
+
h1, ul, li {
|
37 |
+
margin:0px;
|
38 |
+
padding:0px;
|
39 |
+
}
|
40 |
+
|
41 |
+
#sidebar {
|
42 |
+
background:url(img/grey-bg.jpg) repeat top left;
|
43 |
+
bottom:0px;
|
44 |
+
left:0px;
|
45 |
+
overflow:auto;
|
46 |
+
padding:60px 0px 0px 0px;
|
47 |
+
position:fixed;
|
48 |
+
text-align:right;
|
49 |
+
top:0px;
|
50 |
+
width:220px;
|
51 |
+
z-index:1;
|
52 |
+
}
|
53 |
+
#scrollable {
|
54 |
+
bottom:0px;
|
55 |
+
left:220px;
|
56 |
+
position:fixed;
|
57 |
+
overflow:auto;
|
58 |
+
right:0px;
|
59 |
+
top:64px;
|
60 |
+
}
|
61 |
+
#content {
|
62 |
+
/* top:64px;*/
|
63 |
+
/* bottom:0px;*/
|
64 |
+
/* right:0px;*/
|
65 |
+
/* left:220px;*/
|
66 |
+
/* margin:64px auto 0px 220px;*/
|
67 |
+
margin:20px 60px;
|
68 |
+
/* position:absolute;*/
|
69 |
+
/* overflow:auto;*/
|
70 |
+
z-index:0;
|
71 |
+
|
72 |
+
}
|
73 |
+
|
74 |
+
#header h1,
|
75 |
+
#header h1 a,
|
76 |
+
#subheader h1 {
|
77 |
+
color:#F6F4F2;
|
78 |
+
font-size:18px;
|
79 |
+
font-weight:normal;
|
80 |
+
line-height:32px;
|
81 |
+
margin:0px;
|
82 |
+
text-align:center;
|
83 |
+
text-shadow:0px -1px 1px #222222;
|
84 |
+
}
|
85 |
+
|
86 |
+
#header h1 a strong {
|
87 |
+
font-weight:bold;
|
88 |
+
}
|
89 |
+
|
90 |
+
#header h1 {
|
91 |
+
text-align:left;
|
92 |
+
margin-left:20px;
|
93 |
+
}
|
94 |
+
|
95 |
+
#subheader h1 {
|
96 |
+
color:#000000;
|
97 |
+
text-shadow:#FFFFFF 0px 1px 0px;
|
98 |
+
}
|
99 |
+
|
100 |
+
#header small,
|
101 |
+
#subheader small {
|
102 |
+
color:#EFEFEF;
|
103 |
+
font-size:14px;
|
104 |
+
line-height:32px;
|
105 |
+
position:absolute;
|
106 |
+
top:0px;
|
107 |
+
right:20px;
|
108 |
+
text-shadow:-1px 1px 1px #666666;
|
109 |
+
}
|
110 |
+
|
111 |
+
#sidebar .vertical_divider {
|
112 |
+
background-color:#CCCCCC;
|
113 |
+
bottom:0px;
|
114 |
+
border-right:1px solid #FFFFFF;
|
115 |
+
position:absolute;
|
116 |
+
top:0px;
|
117 |
+
right:0px;
|
118 |
+
width:1px;
|
119 |
+
}
|
120 |
+
#sidebar img {
|
121 |
+
|
122 |
+
padding:1px 20px 1px 0px;
|
123 |
+
margin:15px 0px;
|
124 |
+
|
125 |
+
}
|
126 |
+
|
127 |
+
#sidebar h1 {
|
128 |
+
color:#000000;
|
129 |
+
font-size:18px;
|
130 |
+
padding:1px 20px 1px 0px;
|
131 |
+
margin:15px 0px;
|
132 |
+
font-weight:normal;
|
133 |
+
text-shadow:#FFFFFF 0px 1px 0px;
|
134 |
+
}
|
135 |
+
|
136 |
+
#sidebar ul{
|
137 |
+
margin:0px;
|
138 |
+
padding:0px;
|
139 |
+
}
|
140 |
+
#sidebar li {
|
141 |
+
margin:0px 0px 0px 0px;
|
142 |
+
padding:5px 20px 5px 0px;
|
143 |
+
border-right:5px solid transparent;
|
144 |
+
|
145 |
+
}
|
146 |
+
#sidebar li.small-txt a {
|
147 |
+
font-size:10px !important;
|
148 |
+
|
149 |
+
}
|
150 |
+
#sidebar li:hover {
|
151 |
+
margin:0px;
|
152 |
+
border-right:5px solid #ff0000;
|
153 |
+
-webkit-transition:border-right, background 1.15s ease-out;
|
154 |
+
-moz-transition:border-right, background 1.15s ease-out;
|
155 |
+
-o-transition:border-right, background 1.15s ease-out;
|
156 |
+
background:#eee;
|
157 |
+
}
|
158 |
+
#sidebar li.active {
|
159 |
+
background:#fff;
|
160 |
+
border-right:5px solid #03897e;
|
161 |
+
|
162 |
+
}
|
163 |
+
|
164 |
+
#sidebar li,
|
165 |
+
#sidebar li a {
|
166 |
+
color:#767573;
|
167 |
+
font-size:14px;
|
168 |
+
list-style:none;
|
169 |
+
margin:5px 0px;
|
170 |
+
text-shadow:#FFFFFF 0px 1px 1px;
|
171 |
+
}
|
172 |
+
#sidebar li a {
|
173 |
+
-webkit-transition:color .15s ease-out;
|
174 |
+
-moz-transition:color .15s ease-out;
|
175 |
+
-o-transition:color .15s ease-out;
|
176 |
+
|
177 |
+
}
|
178 |
+
#sidebar li a:hover {
|
179 |
+
color:#242220;
|
180 |
+
-webkit-transition:color .15s ease-in;
|
181 |
+
-moz-transition:color .15s ease-in;
|
182 |
+
-o-transition:color .15s ease-in;
|
183 |
+
|
184 |
+
}
|
185 |
+
|
186 |
+
|
187 |
+
#otherbar {
|
188 |
+
display:none;
|
189 |
+
}
|
190 |
+
|
191 |
+
#content {
|
192 |
+
font-size:13px;
|
193 |
+
line-height:160%;
|
194 |
+
max-width:750px;
|
195 |
+
}
|
196 |
+
|
197 |
+
#content h1 {
|
198 |
+
border-bottom:2px solid;
|
199 |
+
font-size:2em;
|
200 |
+
font-weight:normal;
|
201 |
+
margin:2.0em 0px 1.3em 0px;
|
202 |
+
padding-bottom:0.6em;
|
203 |
+
}
|
204 |
+
#content h2 {
|
205 |
+
color:#242220;
|
206 |
+
font-size:1.4em;
|
207 |
+
font-weight:bold;
|
208 |
+
margin:1.3em 0px 0.8em 0px;
|
209 |
+
text-shadow:#FFFFFF 0px 1px 1px;
|
210 |
+
}
|
211 |
+
#content h3 {
|
212 |
+
font-size:1.1em;
|
213 |
+
font-weight:bold;
|
214 |
+
margin:0.8em 0px 0.5em 0px;
|
215 |
+
text-shadow:#FFFFFF 0px 1px 1px;
|
216 |
+
}
|
217 |
+
|
218 |
+
#index {
|
219 |
+
-webkit-column-width: 235px;
|
220 |
+
-webkit-column-rule-width: 5px;
|
221 |
+
-moz-column-width: 235px;
|
222 |
+
-moz-column-rule-width: 5px;
|
223 |
+
column-width: 235px;
|
224 |
+
column-rule-width: 5px;
|
225 |
+
}
|
226 |
+
|
227 |
+
#index h2:after,
|
228 |
+
#index h3:after {
|
229 |
+
content:"";
|
230 |
+
}
|
231 |
+
|
232 |
+
#index h2 {
|
233 |
+
margin:0px;
|
234 |
+
padding:0px;
|
235 |
+
}
|
236 |
+
|
237 |
+
#index {
|
238 |
+
padding: 10px 1px;
|
239 |
+
}
|
240 |
+
|
241 |
+
#index ul {
|
242 |
+
margin:0px 0px 30px 0px;
|
243 |
+
padding:0;
|
244 |
+
}
|
245 |
+
|
246 |
+
#index ul li {
|
247 |
+
list-style: none;
|
248 |
+
}
|
249 |
+
|
250 |
+
#index ul li a {
|
251 |
+
|
252 |
+
}
|
253 |
+
|
254 |
+
#home h1 {
|
255 |
+
border-bottom:1px solid #919395;
|
256 |
+
padding-bottom:20px;
|
257 |
+
margin:30px 0px;
|
258 |
+
}
|
259 |
+
|
260 |
+
#home h2 {
|
261 |
+
font-weight:normal;
|
262 |
+
margin:0px 0px 10px 0px;
|
263 |
+
padding:0px;
|
264 |
+
}
|
265 |
+
|
266 |
+
#home h2:after {
|
267 |
+
content:'';
|
268 |
+
}
|
269 |
+
|
270 |
+
#home h2 a {
|
271 |
+
text-shadow:#FFFFFF 0px 1px 1px;
|
272 |
+
}
|
273 |
+
|
274 |
+
#home span {
|
275 |
+
color:#8B8078;
|
276 |
+
font-size:14px;
|
277 |
+
text-shadow:#FFFFFF 0px 1px 0px;
|
278 |
+
}
|
279 |
+
|
280 |
+
#home ul {
|
281 |
+
float:left;
|
282 |
+
margin:0px;
|
283 |
+
padding:0px;
|
284 |
+
}
|
285 |
+
#home ul li {
|
286 |
+
float:left;
|
287 |
+
height:120px;
|
288 |
+
list-style:none;
|
289 |
+
margin:0px;
|
290 |
+
padding:0px 20px;
|
291 |
+
width:200px;
|
292 |
+
}
|
293 |
+
|
294 |
+
hr {
|
295 |
+
|
296 |
+
margin:40px 0px;
|
297 |
+
border-top:1px solid #CCCCCC;
|
298 |
+
}
|
299 |
+
|
300 |
+
p,blockquote,pre,ul {
|
301 |
+
margin:1em 0px;
|
302 |
+
}
|
303 |
+
|
304 |
+
|
305 |
+
blockquote {
|
306 |
+
color:#767573;
|
307 |
+
font-style:normal;
|
308 |
+
margin-left:35px;
|
309 |
+
padding-left:20px;
|
310 |
+
position:relative;
|
311 |
+
text-shadow:#FFFFFF 0px 1px 0px;
|
312 |
+
}
|
313 |
+
blockquote code {
|
314 |
+
font-style: normal;
|
315 |
+
}
|
316 |
+
blockquote p {
|
317 |
+
padding:10px 0px;
|
318 |
+
}
|
319 |
+
blockquote::before {
|
320 |
+
font-style: normal;
|
321 |
+
content: '\201C';
|
322 |
+
font-size: 450%;
|
323 |
+
font-family:Georgia, Palatino, 'Times New Roman', Times;;
|
324 |
+
position: absolute;
|
325 |
+
left: -25px;
|
326 |
+
top:0.3em;
|
327 |
+
color: #E0E0E0;
|
328 |
+
}
|
329 |
+
|
330 |
+
ul {
|
331 |
+
margin-left:40px;
|
332 |
+
}
|
333 |
+
ul > li {
|
334 |
+
list-style:disc;
|
335 |
+
list-style-position:outside;
|
336 |
+
}
|
337 |
+
ul ul {
|
338 |
+
margin-bottom:0.5em;
|
339 |
+
margin-top:0.5em;
|
340 |
+
}
|
341 |
+
|
342 |
+
|
343 |
+
|
344 |
+
|
345 |
+
a[href] {
|
346 |
+
/* color:inherit;*/
|
347 |
+
color:#03897e;
|
348 |
+
text-decoration:none;
|
349 |
+
text-shadow:#FFF 0px 1px 0px;
|
350 |
+
}
|
351 |
+
a[href]:hover {
|
352 |
+
color:#408080;
|
353 |
+
}
|
354 |
+
|
355 |
+
|
356 |
+
|
357 |
+
|
358 |
+
.image-screenshot {
|
359 |
+
margin:10px 0px 10px 0px;padding:0px;width:100%;border-left:5px solid #03897e;box-shadow:0px 0px 15px #c0c0c0;-moz-box-shadow:0px 0px 15px #c0c0c0;-webkit-box-shadow:0px 0px 15px #c0c0c0;
|
360 |
+
background:url(img/ajax-loader.gif) center center no-repeat;
|
361 |
+
}
|
362 |
+
|
363 |
+
|
364 |
+
|
365 |
+
/* #Clearing
|
366 |
+
================================================== */
|
367 |
+
|
368 |
+
/* Self Clearing Goodness */
|
369 |
+
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
|
370 |
+
|
371 |
+
/* Use clearfix class on parent to clear nested columns,
|
372 |
+
or wrap each row of columns in a <div class="row"> */
|
373 |
+
.clearfix:before,
|
374 |
+
.clearfix:after,
|
375 |
+
.row:before,
|
376 |
+
.row:after {
|
377 |
+
content: '\0020';
|
378 |
+
display: block;
|
379 |
+
overflow: hidden;
|
380 |
+
visibility: hidden;
|
381 |
+
width: 0;
|
382 |
+
height: 0; }
|
383 |
+
.row:after,
|
384 |
+
.clearfix:after {
|
385 |
+
clear: both; }
|
386 |
+
.row,
|
387 |
+
.clearfix {
|
388 |
+
zoom: 1; }
|
389 |
+
|
390 |
+
/* You can also use a <br class="clear" /> to clear columns */
|
391 |
+
.clear {
|
392 |
+
clear: both;
|
393 |
+
display: block;
|
394 |
+
overflow: hidden;
|
395 |
+
visibility: hidden;
|
396 |
+
width: 0;
|
397 |
+
height: 0;
|
398 |
+
}
|
media/seak/extensions/docs/messagereports/index.html
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
5 |
+
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
|
6 |
+
<meta name="generator" content="joDoc">
|
7 |
+
<title>Seak Ecommerce Message Reports Extension Documentation</title>
|
8 |
+
<link rel="stylesheet" type="text/css" href="index.css">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
<body>
|
12 |
+
|
13 |
+
<div id="sidebar">
|
14 |
+
|
15 |
+
<div class="vertical_divider"></div>
|
16 |
+
<a href="http://seakecommerce.com" alt="Seak Ecommerce" title="Visit Seak Ecommerce"><img src="img/seakecommerce.png" width="75%" /></a>
|
17 |
+
<h1>Documentation</h1>
|
18 |
+
<ul>
|
19 |
+
<li><a href="index.html">Index</a></li>
|
20 |
+
<li><a href="about.html">About Extension</a></li>
|
21 |
+
<li><a href="install.html">Installation</a></li>
|
22 |
+
<li><a href="settings.html">Settings & Configure</a></li>
|
23 |
+
<li><a href="manage.html">Managing Reports</a></li>
|
24 |
+
</ul>
|
25 |
+
|
26 |
+
<h1>External Links</h1>
|
27 |
+
<ul>
|
28 |
+
<li><a href="http://seakecommerce.com/messagereports-extension">Product Page</a></li>
|
29 |
+
<li><a href="http://seakecommerce.com/support">Get Support</a></li>
|
30 |
+
<li><a href="http://seakecommerce.com/">Seak Ecommerce</a></li>
|
31 |
+
<li><a href="http://seakecommerce.com/contacts">Contact Us</a></li>
|
32 |
+
</ul>
|
33 |
+
</div>
|
34 |
+
<div id="scrollable">
|
35 |
+
<div id="content">
|
36 |
+
<a name="top"></a>
|
37 |
+
<div id="home">
|
38 |
+
<h1><a name="">Message Reports Extension Documentation</a></h1>
|
39 |
+
<ul>
|
40 |
+
<li>
|
41 |
+
<h2><a href="about.html">About This Extension</a></h2>
|
42 |
+
<span>Details about the Message Reports extension & functions.</span>
|
43 |
+
</li>
|
44 |
+
<li>
|
45 |
+
<h2><a href="install.html">Installation</a></h2>
|
46 |
+
<span>What to do before installing & how to install this extension</span>
|
47 |
+
</li>
|
48 |
+
<li>
|
49 |
+
<h2><a href="settings.html">Settings</a></h2>
|
50 |
+
<span>How to set up & configure the extension to met your requirements</span>
|
51 |
+
</li>
|
52 |
+
<li>
|
53 |
+
<h2><a href="manage.html">Managing Reports</a></h2>
|
54 |
+
<span>How to manage your recorded items, tips and more</span>
|
55 |
+
</li>
|
56 |
+
<li>
|
57 |
+
<h2><a target="_blank" href="http://seakecommerce.com/messagereports-extension#changelog">Change Log</a></h2>
|
58 |
+
<span>Check out the changes we have made to improve the extension</span>
|
59 |
+
</li>
|
60 |
+
<li>
|
61 |
+
<h2><a target="_blank" href="http://seakecommerce.com/messagereports-extension#roadmap">Road Map</a></h2>
|
62 |
+
<span>What we plan to do in the future to improve the extension</span>
|
63 |
+
</li>
|
64 |
+
</ul>
|
65 |
+
|
66 |
+
</div>
|
67 |
+
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
</body>
|
71 |
+
</html>
|
media/seak/extensions/docs/messagereports/install.html
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
5 |
+
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
|
6 |
+
<meta name="generator" content="joDoc">
|
7 |
+
<title>Installing — Seak Ecommerce Message Reports Extension Documentation</title>
|
8 |
+
<link rel="stylesheet" type="text/css" href="index.css">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
<body>
|
12 |
+
|
13 |
+
<div id="sidebar">
|
14 |
+
|
15 |
+
<div class="vertical_divider"></div>
|
16 |
+
<a href="http://seakecommerce.com" alt="Seak Ecommerce" title="Visit Seak Ecommerce"><img src="img/seakecommerce.png" width="75%" /></a>
|
17 |
+
<h1>Documentation</h1>
|
18 |
+
<ul>
|
19 |
+
<li><a href="index.html">Index</a></li>
|
20 |
+
<li><a href="about.html">About Extension</a></li>
|
21 |
+
<li class="active"><a href="install.html">Installation</a></li>
|
22 |
+
<li><a href="settings.html">Settings & Configure</a></li>
|
23 |
+
<li><a href="manage.html">Managing Reports</a></li>
|
24 |
+
</ul>
|
25 |
+
|
26 |
+
<h1>External Links</h1>
|
27 |
+
<ul>
|
28 |
+
<li><a href="http://seakecommerce.com/messagereports-extension">Product Page</a></li>
|
29 |
+
<li><a href="http://seakecommerce.com/support">Get Support</a></li>
|
30 |
+
<li><a href="http://seakecommerce.com/">Seak Ecommerce</a></li>
|
31 |
+
<li><a href="http://seakecommerce.com/contacts">Contact Us</a></li>
|
32 |
+
</ul>
|
33 |
+
</div>
|
34 |
+
<div id="scrollable">
|
35 |
+
<div id="content">
|
36 |
+
<a name="top"></a>
|
37 |
+
<div id="home">
|
38 |
+
<h1><a name="">Installing — Message Reports Extension</a></h1>
|
39 |
+
|
40 |
+
<h2><a href="#">Before Installing</a></h2>
|
41 |
+
<p style="color:red;">It is advised to test this extension on your mirrored development server/site and checking for compatibility issues, functionality issues before installing. It is also advised to back up your live site (includes Database & Files) before installation.</p>
|
42 |
+
|
43 |
+
|
44 |
+
<h2><a href="#">Disable Compilation Mode</a></h2>
|
45 |
+
<p>To check that this is disabled, go to System >Tools >Compilation. If the compiler status is 'Disabled', you are ready to go. If not,simply click the 'Disable' button on the right hand side of the screen.</p>
|
46 |
+
|
47 |
+
<h2><a href="#">Upload Extension Files</a></h2>
|
48 |
+
<p>Upload the contents of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added.</p>
|
49 |
+
|
50 |
+
<h2><a href="#">Clear Caches</a></h2>
|
51 |
+
<p>This can be done from the admin console by navigating to the cache management page (System > Cache Management), selecting all caches, clicking 'refresh' from the drop-down menu, and submitting the change. Log out from admin and log back in to see system configuration options.</p>
|
52 |
+
|
53 |
+
<p style="color:red;"><img src="img/error.png" /> If you are getting a 404 error on the admin settings page content, you will need to log out and log back in.</p>
|
54 |
+
|
55 |
+
|
56 |
+
|
57 |
+
<a href="settings.html">Next ></a>
|
58 |
+
</div>
|
59 |
+
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
</body>
|
63 |
+
</html>
|
media/seak/extensions/docs/messagereports/manage.html
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
5 |
+
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
|
6 |
+
<meta name="generator" content="joDoc">
|
7 |
+
<title>Manage — Seak Ecommerce Message Reports Extension Documentation</title>
|
8 |
+
<link rel="stylesheet" type="text/css" href="index.css">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
<body>
|
12 |
+
|
13 |
+
<div id="sidebar">
|
14 |
+
|
15 |
+
<div class="vertical_divider"></div>
|
16 |
+
<a href="http://seakecommerce.com" alt="Seak Ecommerce" title="Visit Seak Ecommerce"><img src="img/seakecommerce.png" width="75%" /></a>
|
17 |
+
<h1>Documentation</h1>
|
18 |
+
<ul>
|
19 |
+
<li><a href="index.html">Index</a></li>
|
20 |
+
<li><a href="about.html">About Extension</a></li>
|
21 |
+
<li><a href="install.html">Installation</a></li>
|
22 |
+
<li><a href="settings.html">Settings & Configure</a></li>
|
23 |
+
<li class="active"><a href="manage.html">Managing Reports</a></li>
|
24 |
+
</ul>
|
25 |
+
<h1>Navigate this Page</h1>
|
26 |
+
<ul>
|
27 |
+
<li><a href="#start">Start</a></li>
|
28 |
+
<li><a href="#grid">Grid Page</a></li>
|
29 |
+
<li><a href="#review">Review Reports</a></li>
|
30 |
+
<li><a href="#delete">Mass Delete Links</a></li>
|
31 |
+
<li><a href="#top">Go to Top</a></li>
|
32 |
+
</ul>
|
33 |
+
|
34 |
+
<h1>External Links</h1>
|
35 |
+
<ul>
|
36 |
+
<li><a href="http://seakecommerce.com/messagereports-extension">Product Page</a></li>
|
37 |
+
<li><a href="http://seakecommerce.com/support">Get Support</a></li>
|
38 |
+
<li><a href="http://seakecommerce.com/">Seak Ecommerce</a></li>
|
39 |
+
<li><a href="http://seakecommerce.com/contacts">Contact Us</a></li>
|
40 |
+
</ul>
|
41 |
+
</div>
|
42 |
+
<div id="scrollable">
|
43 |
+
<div id="content">
|
44 |
+
<a name="top"></a>
|
45 |
+
<div>
|
46 |
+
<h1><a name="">Manage — Message Reports Extension</a></h1>
|
47 |
+
<h5>Navigate this Page</h5>
|
48 |
+
<ul>
|
49 |
+
<li class="small-txt"><a href="#start">Start</a></li>
|
50 |
+
<li class="small-txt"><a href="#grid">Grid Page</a></li>
|
51 |
+
<li class="small-txt"><a href="#review">Review Reports</a></li>
|
52 |
+
<li class="small-txt"><a href="#delete">Mass Delete Links</a></li>
|
53 |
+
<li class="small-txt"><a href="#top">Go to Top</a></li>
|
54 |
+
</ul>
|
55 |
+
<a name="start"></a>
|
56 |
+
<h2><a href="#">Navigate to the Message Reports Grid Page</a></h2>
|
57 |
+
<p>You can use the menu link provided to easily and quickly access the grid page
|
58 |
+
<br class="clear" />
|
59 |
+
<a href="img/screenshots/admin-menu.jpg" target="_blank"><img class="image-screenshot" src="img/screenshots/admin-menu.jpg" title="Access the grid page" /></a>
|
60 |
+
<br class="clear" />
|
61 |
+
</p>
|
62 |
+
<hr />
|
63 |
+
<a name="grid"></a>
|
64 |
+
<h2><a href="#">Viewing Items in the Grid Page</a></h2>
|
65 |
+
<p>Within the Grid page, you can view all of your recorded user messages with multiple columns showing associated information.
|
66 |
+
<br class="clear" />
|
67 |
+
<a href="img/screenshots/collection-grid-page.jpg" target="_blank"><img class="image-screenshot" src="img/screenshots/collection-grid-page.jpg" title="Example of the Message Reports Grid Page" /></a>
|
68 |
+
<br class="clear" />
|
69 |
+
</p>
|
70 |
+
<div style="height:10px;"></div>
|
71 |
+
<hr />
|
72 |
+
<div style="height:20px;"></div>
|
73 |
+
|
74 |
+
<a name="review"></a>
|
75 |
+
<h2><a href="#">Review Report Item</a></h2>
|
76 |
+
<p>You can use the review link on each item on the grid page. This will take you to the report review page where you can add or update/edit the information. Click the <img style="margin-bottom:-2px;" src="img/screenshots/save-button.jpg" /> to save/update the information.
|
77 |
+
<br class="clear" />
|
78 |
+
<a href="img/screenshots/edit-grid.jpg" target="_blank"><img class="image-screenshot" src="img/screenshots/edit-grid.jpg" title="Access the grid links page" /></a>
|
79 |
+
<br class="clear" />
|
80 |
+
</p>
|
81 |
+
|
82 |
+
<a href="img/screenshots/edit-item-page-a.jpg" target="_blank"><img class="image-screenshot" src="img/screenshots/edit-item-page-a.jpg" title="Section/Tab for general link info" /></a>
|
83 |
+
<br class="clear" />
|
84 |
+
<h2><a>Field Types</a></h2>
|
85 |
+
<ul>
|
86 |
+
<li style="font-weight:bold;">Message Type</li>
|
87 |
+
<ul style="margin:0px 0px 0px 30px;">
|
88 |
+
<li>Type of message that has been recorded. Can either be Error, Success, Notice or Warning.</li>
|
89 |
+
</ul>
|
90 |
+
<br />
|
91 |
+
<li style="font-weight:bold;">Message Content</li>
|
92 |
+
<ul style="margin:0px 0px 0px 30px;">
|
93 |
+
<li>Content body of the recorded message.</li>
|
94 |
+
</ul>
|
95 |
+
<br />
|
96 |
+
<li style="font-weight:bold;">Message URL — Returned URL after submission/action</li>
|
97 |
+
<ul style="margin:0px 0px 0px 30px;">
|
98 |
+
<li>Displays the returned URL after message has been generated.</li>
|
99 |
+
</ul>
|
100 |
+
<br />
|
101 |
+
<li style="font-weight:bold;">Message Action</li>
|
102 |
+
<ul style="margin:0px 0px 0px 30px;">
|
103 |
+
<li>Message Action route returned after message generation</li>
|
104 |
+
</ul>
|
105 |
+
<br />
|
106 |
+
<li style="font-weight:bold;">Message Website</li>
|
107 |
+
<ul style="margin:0px 0px 0px 30px;">
|
108 |
+
<li>Website used to generate the message notification.</li>
|
109 |
+
</ul>
|
110 |
+
<br />
|
111 |
+
<li style="font-weight:bold;">Message Store View</li>
|
112 |
+
<ul style="margin:0px 0px 0px 30px;">
|
113 |
+
<li>Store View used to generate the message notification</li>
|
114 |
+
</ul>
|
115 |
+
<br />
|
116 |
+
<li style="font-weight:bold;">Customer</li>
|
117 |
+
<ul style="margin:0px 0px 0px 30px;">
|
118 |
+
<li>Displays the customer that generated the message. Returns Guest if generated by non logged in user</li>
|
119 |
+
</ul>
|
120 |
+
<br />
|
121 |
+
<li style="font-weight:bold;">Admin Notes — Add any notes about the link (for admin purposes only)</li>
|
122 |
+
<ul style="margin:0px 0px 0px 30px;">
|
123 |
+
<li>Admins can add notes for other admin users to view or add your own info</li>
|
124 |
+
</ul>
|
125 |
+
<br />
|
126 |
+
</ul>
|
127 |
+
<br class="clear" />
|
128 |
+
|
129 |
+
|
130 |
+
<div style="height:10px;"></div>
|
131 |
+
<hr />
|
132 |
+
<div style="height:20px;"></div>
|
133 |
+
<a name="delete"></a>
|
134 |
+
<h2><a href="#">Mass Deleting Links</a></h2>
|
135 |
+
<p>You can delete links on the grid links page. In the left column, select the checkbox for each link you wish to delete.
|
136 |
+
<br class="clear" />
|
137 |
+
<a href="img/screenshots/delete-checkbox.jpg" target="_blank"><img class="image-screenshot" src="img/screenshots/delete-checkbox.jpg" title="Delete Links using the Mass Delete function" /></a>
|
138 |
+
<br class="clear" />
|
139 |
+
Then select the delete field in the actions dropdown field on the right hand side. Click the <img style="margin-bottom:-2px;" src="img/screenshots/submit-button.jpg" /> to delete selected link(s).
|
140 |
+
<br class="clear" />
|
141 |
+
<a href="img/screenshots/delete-submit.jpg" target="_blank"><img class="image-screenshot" src="img/screenshots/delete-submit.jpg" title="Delete Links using the Mass Delete function" /></a>
|
142 |
+
<br class="clear" />
|
143 |
+
</p>
|
144 |
+
<hr />
|
145 |
+
<div style="height:50px;"></div>
|
146 |
+
</div>
|
147 |
+
|
148 |
+
</div>
|
149 |
+
</div>
|
150 |
+
</body>
|
151 |
+
</html>
|
media/seak/extensions/docs/messagereports/settings.html
ADDED
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
5 |
+
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
|
6 |
+
<meta name="generator" content="joDoc">
|
7 |
+
<title>Settings — Seak Ecommerce Message Reports Extension Documentation</title>
|
8 |
+
<link rel="stylesheet" type="text/css" href="index.css">
|
9 |
+
|
10 |
+
</head>
|
11 |
+
<body>
|
12 |
+
|
13 |
+
<div id="sidebar">
|
14 |
+
|
15 |
+
<div class="vertical_divider"></div>
|
16 |
+
<a href="http://seakecommerce.com" alt="Seak Ecommerce" title="Visit Seak Ecommerce"><img src="img/seakecommerce.png" width="75%" /></a>
|
17 |
+
<h1>Documentation</h1>
|
18 |
+
<ul>
|
19 |
+
<li><a href="index.html">Index</a></li>
|
20 |
+
<li><a href="about.html">About Extension</a></li>
|
21 |
+
<li><a href="install.html">Installation</a></li>
|
22 |
+
<li class="active"><a href="settings.html">Settings & Configure</a></li>
|
23 |
+
<li><a href="manage.html">Managing Reports</a></li>
|
24 |
+
</ul>
|
25 |
+
<h1>Navigate this Page</h1>
|
26 |
+
<ul>
|
27 |
+
<li><a href="#start">Start</a></li>
|
28 |
+
<li><a href="#general">General Settings</a></li>
|
29 |
+
<li><a href="#report">Report Settings</a></li>
|
30 |
+
<li><a href="#about">About</a></li>
|
31 |
+
<li><a href="#top">Go to Top</a></li>
|
32 |
+
</ul>
|
33 |
+
|
34 |
+
<h1>External Links</h1>
|
35 |
+
<ul>
|
36 |
+
<li><a href="http://seakecommerce.com/messagereports-extension">Product Page</a></li>
|
37 |
+
<li><a href="http://seakecommerce.com/support">Get Support</a></li>
|
38 |
+
<li><a href="http://seakecommerce.com/">Seak Ecommerce</a></li>
|
39 |
+
<li><a href="http://seakecommerce.com/contacts">Contact Us</a></li>
|
40 |
+
</ul>
|
41 |
+
</div>
|
42 |
+
<div id="scrollable">
|
43 |
+
<div id="content">
|
44 |
+
<a name="top"></a>
|
45 |
+
<div>
|
46 |
+
<h1><a name="">Settings — Message Reports Extension</a></h1>
|
47 |
+
|
48 |
+
<h5>Navigate this Page</h5>
|
49 |
+
<ul>
|
50 |
+
<li class="small-txt"><a href="#start">Start</a></li>
|
51 |
+
<li class="small-txt"><a href="#general">General Settings</a></li>
|
52 |
+
<li class="small-txt"><a href="#report">Report Settings</a></li>
|
53 |
+
<li class="small-txt"><a href="#about">About</a></li>
|
54 |
+
<li class="small-txt"><a href="#top">Go to Top</a></li>
|
55 |
+
</ul>
|
56 |
+
|
57 |
+
<a name="start"></a>
|
58 |
+
<h2><a href="#">Navigate to the Settings Page</a></h2>
|
59 |
+
<p>You can use the menu link provided to easily and quickly access the settings tabs
|
60 |
+
<br class="clear" />
|
61 |
+
<a href="img/screenshots/admin-menu-settings.jpg" target="_blank"><img class="image-screenshot" src="img/screenshots/admin-menu-settings.jpg" title="Accessing the settings tab quickly using the menu link" /></a>
|
62 |
+
<br class="clear" />
|
63 |
+
</p>
|
64 |
+
<div style="height:10px;"></div>
|
65 |
+
<hr />
|
66 |
+
<div style="height:20px;"></div>
|
67 |
+
|
68 |
+
<a name="general"></a>
|
69 |
+
<h2><a href="#">Set you General Settings</a></h2>
|
70 |
+
<p>Configure your settings to match your requirements. Below is an example of a general setup using the default magento platform settings. Click the <img style="margin-bottom:-2px;" src="img/screenshots/save-config-button.jpg" /> to save the information.
|
71 |
+
<br class="clear" />
|
72 |
+
<a href="img/screenshots/general-settings.jpg" target="_blank"><img class="image-screenshot" src="img/screenshots/general-settings.jpg" title="Example of a general setup using the default magento platform settings" /></a>
|
73 |
+
<br class="clear" />
|
74 |
+
<h2>
|
75 |
+
<a>Settings Descriptions</a>
|
76 |
+
</h2>
|
77 |
+
|
78 |
+
<ul>
|
79 |
+
<li style="font-weight:bold;">Enable/Disable — Enabling will add the extension functionality accross your platform</li>
|
80 |
+
<ul style="margin:0px 0px 0px 30px;">
|
81 |
+
<li>Enable or Disable the frontend reporting functionality</li>
|
82 |
+
</ul>
|
83 |
+
<br>
|
84 |
+
<li style="font-weight:bold;">Allow Update Check — Enable to have the extension check for updates automatically (<a href="#about">see here</a>)</li>
|
85 |
+
<ul style="margin:0px 0px 0px 30px;">
|
86 |
+
<li>Check on the config page settings in the admin menu for message about update status of extension. Disable to stop checking.</li>
|
87 |
+
</ul>
|
88 |
+
<br />
|
89 |
+
</ul>
|
90 |
+
</p>
|
91 |
+
<div style="height:10px;"></div>
|
92 |
+
<hr />
|
93 |
+
<div style="height:20px;"></div>
|
94 |
+
|
95 |
+
<a name="report"></a>
|
96 |
+
<h2><a href="#">Message Reports Settings</a></h2>
|
97 |
+
<p>Select your settings for the message types to be recorded & to suit your requirements. Below is an example of a general setup using the default magento platform settings. Click the <img style="margin-bottom:-2px;" src="img/screenshots/save-config-button.jpg" /> to save the information.
|
98 |
+
<br class="clear" />
|
99 |
+
<a href="img/screenshots/report-settings.jpg" target="_blank"><img class="image-screenshot" src="img/screenshots/report-settings.jpg" title="Example of a general setup using the default magento platform settings" /></a>
|
100 |
+
<br class="clear" />
|
101 |
+
<h2>
|
102 |
+
<a>Message Reports Settings Descriptions</a>
|
103 |
+
</h2>
|
104 |
+
<ul>
|
105 |
+
<li style="font-weight:bold;">Success Reporting — Adding value will enabled recording of Success messages</li>
|
106 |
+
<ul style="margin:0px 0px 0px 30px;">
|
107 |
+
<li>Enables reporting of success messages</li>
|
108 |
+
<li>Enabled by Default</li>
|
109 |
+
</ul>
|
110 |
+
<br />
|
111 |
+
|
112 |
+
<li style="font-weight:bold;">Error Reporting — Adding value will enabled recording of Error messages</li>
|
113 |
+
<ul style="margin:0px 0px 0px 30px;">
|
114 |
+
<li>Enables reporting of error messages</li>
|
115 |
+
<li>Enabled by Default</li>
|
116 |
+
</ul>
|
117 |
+
<br />
|
118 |
+
|
119 |
+
<li style="font-weight:bold;">Notice Reporting — Adding value will enabled recording of Notice messages</li>
|
120 |
+
<ul style="margin:0px 0px 0px 30px;">
|
121 |
+
<li>Enables reporting of notice messages</li>
|
122 |
+
<li>Enabled by Default</li>
|
123 |
+
</ul>
|
124 |
+
<br />
|
125 |
+
|
126 |
+
<li style="font-weight:bold;">Warning Reporting — Adding value will enabled recording of Warning messages</li>
|
127 |
+
<ul style="margin:0px 0px 0px 30px;">
|
128 |
+
<li>Enables reporting of warning messages</li>
|
129 |
+
<li>Enabled by Default</li>
|
130 |
+
</ul>
|
131 |
+
<br />
|
132 |
+
</ul>
|
133 |
+
</p>
|
134 |
+
<div style="height:10px;"></div>
|
135 |
+
<hr />
|
136 |
+
<div style="height:20px;"></div>
|
137 |
+
|
138 |
+
<a name="about"></a>
|
139 |
+
<h2><a href="#">About Section</a></h2>
|
140 |
+
<p>The About section will include the most latest information about the extension and any messages releating to extension updates that are available.
|
141 |
+
<br class="clear" />
|
142 |
+
<a href="img/screenshots/admin-about-section.jpg" target="_blank"><img class="image-screenshot" src="img/screenshots/admin-about-section.jpg" title="Example of the About Section included at the top of the settings page" /></a>
|
143 |
+
<br class="clear" />
|
144 |
+
</p>
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
<a href="manage.html">Next ></a>
|
149 |
+
</div>
|
150 |
+
|
151 |
+
</div>
|
152 |
+
</div>
|
153 |
+
</body>
|
154 |
+
</html>
|
media/seak/images/error.png
ADDED
Binary file
|
media/seak/images/i_msg-note.gif
ADDED
Binary file
|
media/seak/images/loader.gif
ADDED
Binary file
|
media/seak/images/ok.png
ADDED
Binary file
|
package.xml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Seak_Messagereports</name>
|
4 |
+
<version>1.0.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license>Open Software License (OSL)</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>Easily record global message reports and easily manage in the admin panel of your Magento Platform.</summary>
|
10 |
+
<description>Easily record global message reports and easily manage in the admin panel of your Magento Platform.
|
11 |
+
<br />
|
12 |
+
<br />
|
13 |
+
<h2>Features</h2>
|
14 |
+
<ul>
|
15 |
+
<li>Easily review error, success & warning messages from the frontend</li>
|
16 |
+
<li>Config Settings & Magento ACL</li>
|
17 |
+
<li>Extended custom Magento grid</li>
|
18 |
+
</ul>
|
19 |
+
<br />
|
20 |
+
<a href="http://mage.seakecommerce.com/mage/1.9/admin?user=demo_messagereports&pass=demo_messagereports1">Backend Demo</a>
|
21 |
+
<br /></description>
|
22 |
+
<notes>— initial Release</notes>
|
23 |
+
<authors><author><name>Seak Ecommerce</name><user>SeakEcommerce</user><email>seakecommerce@gmail.com</email></author></authors>
|
24 |
+
<date>2015-09-14</date>
|
25 |
+
<time>01:22:54</time>
|
26 |
+
<contents><target name="magecommunity"><dir name="Seak"><dir name="Messagereports"><dir name="Block"><dir name="Adminhtml"><dir name="Messagereports"><dir name="Edit"><file name="Form.php" hash="67adb54a1f0cb11e3bf4de7d85293329"/><dir name="Tab"><file name="Main.php" hash="b72b6c0fe8c0bbe10605910b890e51f9"/></dir><file name="Tabs.php" hash="60847c96fbd52a880d597dc8cf65ddb7"/></dir><file name="Edit.php" hash="9054902c3d129c27870b794dc2716f1c"/><file name="Grid.php" hash="7025e582cb91d40ba6f3c396405bee31"/></dir><file name="Messagereports.php" hash="de2a035bef13d3b7982626b13adcf52a"/><dir name="Renderer"><file name="Customer.php" hash="5835c4836ea6501f2ae4fb8ec553b674"/><file name="Type.php" hash="434224acd9507747fa24123923f1c752"/></dir></dir><file name="Extensiondescription.php" hash="3fbd97a0ba172805bcfd5c3d82353a8f"/><file name="Messages.php" hash="eae3481df7034f1b4905176934af85b4"/></dir><dir name="Helper"><file name="Data.php" hash="35bcb2b531d013b13fc95fd57ca0e248"/></dir><dir name="Model"><file name="Messagereports.php" hash="b5d035eb32329e30d88b8fcf2a480827"/><dir name="Mysql4"><dir name="Messagereports"><file name="Collection.php" hash="b73f7e824626dd0a1d171174fbe83b62"/></dir><file name="Messagereports.php" hash="46c5ccd1917d4508825f61ad96619d18"/></dir><file name="Observer.php" hash="b162103a67cbf1df14a5f6d35091593c"/><file name="Session.php" hash="1bb7c8171f84243a14088c9cf91330fa"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MessagereportsController.php" hash="0309470d621a4d9018269c9ac7e2e01e"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="987c43e304aa20c77cb616247465d39a"/><file name="config.xml" hash="1e23a7bc6d51dcbd74a674e121c8e91a"/><file name="system.xml" hash="da7c1c0ebe7db26f6e488e628c6316cb"/></dir><dir name="sql"><dir name="messagereports_setup"><file name="mysql4-install-1.0.0.php" hash="78cebb269ae8372c88e39f4180d13d9e"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Seak_Messagereports.xml" hash="1aa788cc0d734d6b1806338147017e70"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="seak"><dir name="extensions"><dir name="messagereports"><file name="messagereports.xml" hash="ee7b2b95888ef2ba8b3eb17fe65eb4e1"/></dir></dir></dir></dir><dir name="template"><dir name="seak"><dir name="extensions"><dir name="messagereports"><file name="extensiondescription.phtml" hash="b2538f3d861ba5595c0894f1a0290a23"/><file name="info.phtml" hash="a5ec9375e61b72874ec76df2207f3132"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="seak"><dir name="extensions"><dir name="messagereports"><file name="messagereports.xml" hash="25d50e653026c23c323b0a756eaab9e1"/></dir></dir></dir></dir><dir name="template"><dir name="seak"><dir name="extensions"><dir name="messagereports"><file name="messagereports.phtml" hash="650d133419d72db2830e66317cbff93b"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="seak"><dir name="images"><file name="error.png" hash="40bf553d23db65a7045e382f81670a68"/><file name="i_msg-note.gif" hash="e774ee481a2820789c1a77112377c4e0"/><file name="loader.gif" hash="e2a38f1e23288e315af3c55416bc1ce7"/><file name="ok.png" hash="99fcbf1f0442db070429187263bb30e6"/></dir><dir name="extensions"><dir name="docs"><dir name="messagereports"><file name="about.html" hash="4ea17e914ec99b3d6e115518e5f7fd52"/><dir name="img"><file name="ajax-loader.gif" hash="e2a38f1e23288e315af3c55416bc1ce7"/><file name="error.png" hash="bce909cf6220a52a5e727e34630860c1"/><file name="green-bg.jpg" hash="d366731d6f0e1f2c5dad14d2a06ff79d"/><file name="grey-bg.jpg" hash="a72efd38f040ccd870429374294e9e6f"/><file name="ok.png" hash="99fcbf1f0442db070429187263bb30e6"/><dir name="screenshots"><file name="admin-about-section.jpg" hash="72117a186fa2054bd7d70e92f6149fda"/><file name="admin-menu-settings.jpg" hash="a1b1e9255205ed2020d60d480f8e8bc9"/><file name="admin-menu.jpg" hash="33895b00c655082a8ccd9f0b994481f0"/><file name="change-satus.jpg" hash="d0e38cfee0c0931b69379ff98786b34b"/><file name="collection-grid-page.jpg" hash="bbd456a7a003c397939c92a1c9655a7e"/><file name="delete-checkbox.jpg" hash="0ce0f59ebd45b22072cf02b44a6db12d"/><file name="delete-submit.jpg" hash="142dfbb8d3347cdac7699aca8c7bec2a"/><file name="edit-grid.jpg" hash="39e0b5a188309dce7293813f7f8439f7"/><file name="edit-item-page-a.jpg" hash="9731a496049a978a6c7a17cdae82480d"/><file name="general-settings.jpg" hash="d63fb1f1ecf00b3d92d67d76dbeff783"/><file name="report-settings.jpg" hash="8c46ec053a35519882faa6edf92654c5"/><file name="save-button.jpg" hash="e7683d2335d85db9a71e8ab54d24107a"/><file name="save-config-button.jpg" hash="e670d87a69077770431709706a1767e9"/><file name="submit-button.jpg" hash="fc2399e0fab4ceabad97a6eabac94364"/><file name="update-button.jpg" hash="c1872fb1bc4ce2ff6c94296cdad74230"/></dir><file name="seakecommerce.png" hash="fe15934ca09fec8e4f6c791fb3cce7c7"/><file name="white-bg.jpg" hash="0fbe6a335fce3e7e9712ffda9a0eaca7"/></dir><file name="index.css" hash="70a69f95c645977c91d2f7a420577b4e"/><file name="index.html" hash="bc4e501b3baa123eff9d65be49168be9"/><file name="install.html" hash="bf2376d7d9013680edda9ebcd40fb479"/><file name="manage.html" hash="d33dd8a5303110aaf129e0d073c4cece"/><file name="settings.html" hash="95f6cd153356c6f0fdd65f3ed4e55cfa"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="seak"><dir name="css"><dir name="messagereports"><file name="error.png" hash="40bf553d23db65a7045e382f81670a68"/><file name="messagereports.css" hash="1a162df4a06874665c58234345d81dfc"/><file name="messagereports.png" hash="1d71998a336fece6d0269773588ca2d2"/><file name="ok.png" hash="99fcbf1f0442db070429187263bb30e6"/></dir></dir></dir></dir></dir></dir></target></contents>
|
27 |
+
<compatible/>
|
28 |
+
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
29 |
+
</package>
|
skin/adminhtml/default/default/seak/css/messagereports/error.png
ADDED
Binary file
|
skin/adminhtml/default/default/seak/css/messagereports/messagereports.css
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
.messagereports-seak-tab-message {
|
3 |
+
background: url("messagereports.png") no-repeat top left #fff;
|
4 |
+
border: 1px solid #eee;
|
5 |
+
margin:0px 0px 10px 0px;
|
6 |
+
padding: 30px 5px 35px 220px;
|
7 |
+
-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
|
8 |
+
-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
|
9 |
+
box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
|
10 |
+
-webkit-border-radius: 3px;
|
11 |
+
-moz-border-radius: 3px;
|
12 |
+
border-radius: 3px;
|
13 |
+
|
14 |
+
}
|
15 |
+
.messagereports-seak-tab-message h4,.messagereports-seak-tab-message p {
|
16 |
+
margin: 0 auto;
|
17 |
+
}
|
18 |
+
.messagereports-seak-tab-message h4
|
19 |
+
{
|
20 |
+
font-size:22px;
|
21 |
+
}
|
22 |
+
.messagereports-seak-tab-message p {
|
23 |
+
|
24 |
+
font-size:12px;
|
25 |
+
}
|
26 |
+
|
27 |
+
.messagereports-seak-tab-news {
|
28 |
+
background: #fff;
|
29 |
+
border: 1px solid #eee;
|
30 |
+
margin:0px 0px 10px 0px;
|
31 |
+
padding: 30px 5px 35px 60px;
|
32 |
+
-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
|
33 |
+
-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
|
34 |
+
box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
|
35 |
+
-webkit-border-radius: 3px;
|
36 |
+
-moz-border-radius: 3px;
|
37 |
+
border-radius: 3px;
|
38 |
+
border-left:5px solid #03897e;
|
39 |
+
|
40 |
+
}
|
41 |
+
.messagereports-seak-tab-news h4,.messagereports-seak-tab-news p {
|
42 |
+
margin: 0 auto;
|
43 |
+
}
|
44 |
+
.messagereports-seak-tab-news h4
|
45 |
+
{
|
46 |
+
font-size:22px;
|
47 |
+
}
|
48 |
+
.messagereports-seak-tab-news p {
|
49 |
+
|
50 |
+
font-size:12px;
|
51 |
+
}
|
52 |
+
|
skin/adminhtml/default/default/seak/css/messagereports/messagereports.png
ADDED
Binary file
|
skin/adminhtml/default/default/seak/css/messagereports/ok.png
ADDED
Binary file
|