Version Notes
Ticket Support
Download this release
Release Info
Developer | iMedia inc. |
Extension | Imedia_TicketSupport |
Version | 1.0.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.0.1 to 1.0.0.2
- app/code/community/Imedia/TicketSupport/etc/config.xml +12 -0
- app/code/community/Imedia/TicketSupport/etc/system.xml +18 -0
- app/design/frontend/base/default/template/imedia/im_ticket.phtml +13 -9
- app/locale/en_US/template/email/imedia/ticket_customer_replied_notification.html +1 -1
- package.xml +3 -3
app/code/community/Imedia/TicketSupport/etc/config.xml
CHANGED
@@ -114,4 +114,16 @@
|
|
114 |
</updates>
|
115 |
</layout>
|
116 |
</adminhtml>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
</config>
|
114 |
</updates>
|
115 |
</layout>
|
116 |
</adminhtml>
|
117 |
+
<default>
|
118 |
+
<ticketsupport>
|
119 |
+
<ticketsupport>
|
120 |
+
<departments>Sales, Support, Customer Support</departments>
|
121 |
+
</ticketsupport>
|
122 |
+
</ticketsupport>
|
123 |
+
<ticketsupport>
|
124 |
+
<ticketsupport>
|
125 |
+
<priority>Minor, Major, critical</priority>
|
126 |
+
</ticketsupport>
|
127 |
+
</ticketsupport>
|
128 |
+
</default>
|
129 |
</config>
|
app/code/community/Imedia/TicketSupport/etc/system.xml
CHANGED
@@ -42,6 +42,24 @@
|
|
42 |
<show_in_website>1</show_in_website>
|
43 |
<show_in_store>1</show_in_store>
|
44 |
</enable_ticket>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
</fields>
|
46 |
</ticketsupport>
|
47 |
</groups>
|
42 |
<show_in_website>1</show_in_website>
|
43 |
<show_in_store>1</show_in_store>
|
44 |
</enable_ticket>
|
45 |
+
<departments translate="label">
|
46 |
+
<label>Departments</label>
|
47 |
+
<frontend_type>text</frontend_type>
|
48 |
+
<sort_order>2</sort_order>
|
49 |
+
<show_in_default>1</show_in_default>
|
50 |
+
<show_in_website>1</show_in_website>
|
51 |
+
<show_in_store>1</show_in_store>
|
52 |
+
<comment>Please enter the departments to show on frontend eg: Sales, Support, Customer Support, etc. </comment>
|
53 |
+
</departments>
|
54 |
+
<priority translate="label">
|
55 |
+
<label>Priority</label>
|
56 |
+
<frontend_type>text</frontend_type>
|
57 |
+
<sort_order>3</sort_order>
|
58 |
+
<show_in_default>1</show_in_default>
|
59 |
+
<show_in_website>1</show_in_website>
|
60 |
+
<show_in_store>1</show_in_store>
|
61 |
+
<comment>Please enter the Priority options to show on frontend eg: Minor, Major, etc. </comment>
|
62 |
+
</priority>
|
63 |
</fields>
|
64 |
</ticketsupport>
|
65 |
</groups>
|
app/design/frontend/base/default/template/imedia/im_ticket.phtml
CHANGED
@@ -10,19 +10,23 @@
|
|
10 |
<label for="department">Department</label>
|
11 |
<div class="input-box">
|
12 |
<select name="t_department_id" id="t_department_id" title="Department " class="input-text">
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
17 |
</div>
|
18 |
<label for="priority">Priority</label>
|
19 |
<div class="input-box">
|
20 |
<select name="t_priority_id" id="t_priority_id" title="Priority " class="input-text">
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
<option value="
|
|
|
26 |
</select>
|
27 |
</div>
|
28 |
<label for="content" class="required">Message<em>*</em></label>
|
10 |
<label for="department">Department</label>
|
11 |
<div class="input-box">
|
12 |
<select name="t_department_id" id="t_department_id" title="Department " class="input-text">
|
13 |
+
<?php
|
14 |
+
$department = Mage::getStoreConfig('ticketsupport/ticketsupport/departments');
|
15 |
+
foreach(explode(',',$department) as $dept):
|
16 |
+
?>
|
17 |
+
<option value="<?php echo $dept; ?>"><?php echo $dept; ?></option>
|
18 |
+
<?php endforeach; ?>
|
19 |
+
</select>
|
20 |
</div>
|
21 |
<label for="priority">Priority</label>
|
22 |
<div class="input-box">
|
23 |
<select name="t_priority_id" id="t_priority_id" title="Priority " class="input-text">
|
24 |
+
<?php
|
25 |
+
$priority = Mage::getStoreConfig('ticketsupport/ticketsupport/priority');
|
26 |
+
foreach(explode(',',$priority) as $Prty):
|
27 |
+
?>
|
28 |
+
<option value="<?php echo $Prty; ?>"><?php echo $Prty; ?></option>
|
29 |
+
<?php endforeach; ?>
|
30 |
</select>
|
31 |
</div>
|
32 |
<label for="content" class="required">Message<em>*</em></label>
|
app/locale/en_US/template/email/imedia/ticket_customer_replied_notification.html
CHANGED
@@ -47,7 +47,7 @@
|
|
47 |
<tr>
|
48 |
<td valign="top" style="padding:20px 10px">
|
49 |
<h2 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;">Dear Admin</h2>
|
50 |
-
<p>
|
51 |
<p>Ticket Id<strong>{{var ticketId}}</strong></p>
|
52 |
<h3>Customer Commented : {{var customerComment}}</h3>
|
53 |
</td>
|
47 |
<tr>
|
48 |
<td valign="top" style="padding:20px 10px">
|
49 |
<h2 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;">Dear Admin</h2>
|
50 |
+
<p>You have received comment on following ticket id by customer <strong>"{{var customerName}}"</strong></p>
|
51 |
<p>Ticket Id<strong>{{var ticketId}}</strong></p>
|
52 |
<h3>Customer Commented : {{var customerComment}}</h3>
|
53 |
</td>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Imedia_TicketSupport</name>
|
4 |
-
<version>1.0.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSLv3.0</license>
|
7 |
<channel>community</channel>
|
@@ -11,8 +11,8 @@
|
|
11 |
<notes>Ticket Support</notes>
|
12 |
<authors><author><name>iMedia inc.</name><user>imedia</user><email>info@imediadesigns.org</email></author></authors>
|
13 |
<date>2015-07-30</date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Imedia"><dir name="TicketSupport"><dir name="Block"><dir name="Adminhtml"><file name="Customform.php" hash="676fdb9a20faf9357b6ff10020284cc5"/><dir name="Support"><dir name="Edit"><file name="Form.php" hash="7c5bd69e541caea2365f6a0eb2aba1eb"/><file name="Tab.php" hash="7163f1557e9add3b66b573a392b2feb3"/></dir><file name="Edit.php" hash="677cfed04ee75b8477f81a07ed760a06"/><file name="Grid.php" hash="df90a1cc09c0b2287194076959a523d5"/></dir><file name="Support.php" hash="e537a1ba0a398b2b93c17871b43e91da"/></dir><file name="Tickets.php" hash="8dea21fa40a39c358c1b7f2e83e47f8b"/><file name="Viewticket.php" hash="a2e977eb55c4cfda62d0f6466b1eadf4"/></dir><dir name="Helper"><file name="Data.php" hash="853e6d21026b308f7b20049a2cc62c5c"/></dir><dir name="Model"><file name="Details.php" hash="0791110fc1c7a781a20eacd2758f7111"/><dir name="Mysql4"><dir name="Details"><file name="Collection.php" hash="d19b1d2a88c790079260587f957a37aa"/></dir><file name="Details.php" hash="230f566a8cbce8696f4c3cdc15e67eae"/><dir name="Support"><file name="Collection.php" hash="9b1ca4ae091d600aa069cdf2a791fd24"/></dir><file name="Support.php" hash="387095b11aeb599d8c38d261eae1ec02"/></dir><file name="Support.php" hash="14d6048114c392a88f1179955d5c7b24"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="SupportController.php" hash="3778a9a1f85ebc2d558364449c83565d"/></dir><file name="IndexController.php" hash="4ea0b5489c2ca05dae3444c72d6a35a7"/></dir><dir name="etc"><file name="adminhtml.xml" hash="86ada126d3956438bb7e7f552f632f7f"/><file name="config.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Imedia_TicketSupport</name>
|
4 |
+
<version>1.0.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSLv3.0</license>
|
7 |
<channel>community</channel>
|
11 |
<notes>Ticket Support</notes>
|
12 |
<authors><author><name>iMedia inc.</name><user>imedia</user><email>info@imediadesigns.org</email></author></authors>
|
13 |
<date>2015-07-30</date>
|
14 |
+
<time>11:37:58</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Imedia"><dir name="TicketSupport"><dir name="Block"><dir name="Adminhtml"><file name="Customform.php" hash="676fdb9a20faf9357b6ff10020284cc5"/><dir name="Support"><dir name="Edit"><file name="Form.php" hash="7c5bd69e541caea2365f6a0eb2aba1eb"/><file name="Tab.php" hash="7163f1557e9add3b66b573a392b2feb3"/></dir><file name="Edit.php" hash="677cfed04ee75b8477f81a07ed760a06"/><file name="Grid.php" hash="df90a1cc09c0b2287194076959a523d5"/></dir><file name="Support.php" hash="e537a1ba0a398b2b93c17871b43e91da"/></dir><file name="Tickets.php" hash="8dea21fa40a39c358c1b7f2e83e47f8b"/><file name="Viewticket.php" hash="a2e977eb55c4cfda62d0f6466b1eadf4"/></dir><dir name="Helper"><file name="Data.php" hash="853e6d21026b308f7b20049a2cc62c5c"/></dir><dir name="Model"><file name="Details.php" hash="0791110fc1c7a781a20eacd2758f7111"/><dir name="Mysql4"><dir name="Details"><file name="Collection.php" hash="d19b1d2a88c790079260587f957a37aa"/></dir><file name="Details.php" hash="230f566a8cbce8696f4c3cdc15e67eae"/><dir name="Support"><file name="Collection.php" hash="9b1ca4ae091d600aa069cdf2a791fd24"/></dir><file name="Support.php" hash="387095b11aeb599d8c38d261eae1ec02"/></dir><file name="Support.php" hash="14d6048114c392a88f1179955d5c7b24"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="SupportController.php" hash="3778a9a1f85ebc2d558364449c83565d"/></dir><file name="IndexController.php" hash="4ea0b5489c2ca05dae3444c72d6a35a7"/></dir><dir name="etc"><file name="adminhtml.xml" hash="86ada126d3956438bb7e7f552f632f7f"/><file name="config.xml" hash="9836e9ca4abec9aa0ff4dae04f215d8b"/><file name="system.xml" hash="84f2617a82375452ff61788ef155c094"/></dir><dir name="sql"><dir name="imedia_ticketsupport_setup"><file name="mysql4-install-0.0.1.php" hash="55385e4aaaafe3d51450823d2757cb76"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="imedia"><file name="ticketsupport.xml" hash="4a35b24f42f8baf14989dbb84ed406b9"/></dir></dir><dir name="template"><dir name="imedia"><file name="tickets.phtml" hash="456f2d831d0c2343747fbb96ac377c5d"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="imedia"><file name="imedia_ticketsupport.xml" hash="fb4d235fcd1c607d0c0d53393e48e1bf"/></dir></dir><dir name="template"><dir name="imedia"><file name="im_ticket.phtml" hash="07e5fff10123dfd6f917db6e609fc6bd"/><file name="tickets.phtml" hash="f6fa4231fa368a714d697734ac0277ae"/><file name="viewticket.phtml" hash="9c9c1476d51495740c44ae35e433fc8c"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Imedia_TicketSupport.xml" hash="94ff663417e8ecc083e03067b2a70fea"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><file name="ticketsupport.css" hash="6f52f89b8c6d78d28bf5bc6c43eac2cc"/></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="imedia"><file name="ticket_admin_notification.html" hash="87f117f9ecf0f92ad450eb6c4ce9d3d0"/><file name="ticket_customer_notification.html" hash="9e7178a4a0258d3742765e54274fdac6"/><file name="ticket_customer_replied_notification.html" hash="c86db4978d007557eae08368460d4466"/></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|