Version Notes
*Fixed problem with prefixed database tables
*Fixed image uploads
Download this release
Release Info
Developer | Magento Core Team |
Extension | Kreativkonzentrat_Glossary |
Version | 0.5.3 |
Comparing to | |
See all releases |
Code changes from version 0.5.2 to 0.5.3
app/code/community/Kreativkonzentrat/Glossary/Block/Adminhtml/Glossary/Edit/Tab/Form.php
CHANGED
@@ -61,13 +61,17 @@ class Kreativkonzentrat_Glossary_Block_Adminhtml_Glossary_Edit_Tab_Form extends
|
|
61 |
),
|
62 |
),
|
63 |
));
|
|
|
|
|
|
|
|
|
64 |
|
65 |
$fieldset->addField('glossary_content', 'editor', array(
|
66 |
'name' => 'glossary_content',
|
67 |
'label' => Mage::helper('cms')->__('Content'),
|
68 |
'title' => Mage::helper('cms')->__('Content'),
|
69 |
'style' => 'width:700px; height:500px;',
|
70 |
-
'config' =>
|
71 |
'required' => true,
|
72 |
));
|
73 |
|
61 |
),
|
62 |
),
|
63 |
));
|
64 |
+
|
65 |
+
$config = Mage::getSingleton('cms/wysiwyg_config')->getConfig();
|
66 |
+
$config['files_browser_window_url'] = $this->getBaseUrl() . 'admin/cms_wysiwyg_images/index/';
|
67 |
+
$config->setData($config);
|
68 |
|
69 |
$fieldset->addField('glossary_content', 'editor', array(
|
70 |
'name' => 'glossary_content',
|
71 |
'label' => Mage::helper('cms')->__('Content'),
|
72 |
'title' => Mage::helper('cms')->__('Content'),
|
73 |
'style' => 'width:700px; height:500px;',
|
74 |
+
'config' => $config,
|
75 |
'required' => true,
|
76 |
));
|
77 |
|
app/code/community/Kreativkonzentrat/Glossary/Block/Glossary/Navigation.php
CHANGED
@@ -30,7 +30,7 @@ class Kreativkonzentrat_Glossary_Block_Glossary_Navigation extends Mage_Core_Blo
|
|
30 |
foreach($conn->fetchAll("SELECT DISTINCT letter
|
31 |
FROM `$glossaryTable`INNER JOIN `$storeTable`
|
32 |
ON $glossaryTable.glossary_id = $storeTable.glossary_id
|
33 |
-
WHERE (
|
34 |
ORDER BY letter;
|
35 |
") as $letter){
|
36 |
$results[] = $letter['letter'];
|
30 |
foreach($conn->fetchAll("SELECT DISTINCT letter
|
31 |
FROM `$glossaryTable`INNER JOIN `$storeTable`
|
32 |
ON $glossaryTable.glossary_id = $storeTable.glossary_id
|
33 |
+
WHERE ($storeTable.store_id IN (0, $store2))
|
34 |
ORDER BY letter;
|
35 |
") as $letter){
|
36 |
$results[] = $letter['letter'];
|
app/design/adminhtml/default/default/layout/glossary.xml
CHANGED
@@ -5,4 +5,7 @@
|
|
5 |
<block type="glossary/adminhtml_glossary" name="glossary" />
|
6 |
</reference>
|
7 |
</glossary_admin_adminhtml_glossary_index>
|
|
|
|
|
|
|
8 |
</layout>
|
5 |
<block type="glossary/adminhtml_glossary" name="glossary" />
|
6 |
</reference>
|
7 |
</glossary_admin_adminhtml_glossary_index>
|
8 |
+
<glossary_admin_adminhtml_glossary_edit>
|
9 |
+
<update handle="editor" />
|
10 |
+
</glossary_admin_adminhtml_glossary_edit>
|
11 |
</layout>
|
package.xml
CHANGED
@@ -1,18 +1,19 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Kreativkonzentrat_Glossary</name>
|
4 |
-
<version>0.5.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Adds a glossary to your store</summary>
|
10 |
<description>The Glossary plugin for Magento allows you to easily add a glossary to your shop and links directly to glossary entries.</description>
|
11 |
-
<notes
|
|
|
12 |
<authors><author><name>Felix Moche</name><user>auto-converted</user><email>felix@kreativkonzentrat.de</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>17:
|
15 |
-
<contents><target name="magecommunity"><dir name="Kreativkonzentrat"><dir name="Glossary"><dir name="Block"><dir name="Adminhtml"><dir name="Glossary"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Kreativkonzentrat_Glossary</name>
|
4 |
+
<version>0.5.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Adds a glossary to your store</summary>
|
10 |
<description>The Glossary plugin for Magento allows you to easily add a glossary to your shop and links directly to glossary entries.</description>
|
11 |
+
<notes>*Fixed problem with prefixed database tables
|
12 |
+
*Fixed image uploads</notes>
|
13 |
<authors><author><name>Felix Moche</name><user>auto-converted</user><email>felix@kreativkonzentrat.de</email></author></authors>
|
14 |
+
<date>2013-02-18</date>
|
15 |
+
<time>17:45:52</time>
|
16 |
+
<contents><target name="magecommunity"><dir name="Kreativkonzentrat"><dir name="Glossary"><dir name="Block"><dir name="Adminhtml"><dir name="Glossary"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="81d0d6a301bd1c2ae6bfd8fd06e10601"/></dir><file name="Form.php" hash="0fdbefdb7ae7a994c7c72481b0596b1f"/><file name="Tabs.php" hash="f2245c1684628bc56c471f60e9ef9a71"/></dir><file name="Edit.php" hash="d94e1d46e467aae746321a4fd1c95bd7"/><file name="Grid.php" hash="083d4fe4260a9a35fe2b75dd1a8304dc"/></dir><file name="Glossary.php" hash="9df63fd00059bdf3b8eae7f9be4a73ba"/></dir><dir name="Glossary"><file name="Navigation.php" hash="21b10b0dcf11b21787e638737787dc6c"/><file name="Toolbar.php" hash="73caf33dad188d868b3c329993526963"/></dir><file name="Glossary.php" hash="9290dc4835357fb0bbe9e1bb0ab6178b"/></dir><dir name="Controller"><file name="Router.php" hash="e46ea43594c1e76d7d12418cbf2e3d90"/></dir><dir name="Helper"><file name="Data.php" hash="0bb8245a37153b5280bec9db389f9f32"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Select.php" hash="ecf281379224f71b0a4ec2b24ab43da3"/></dir><dir name="Mysql4"><dir name="Glossary"><file name="Collection.php" hash="cb83b8dbc16e09d5506ad8cd9c2b8dd0"/></dir><file name="Glossary.php" hash="a0c7c07d246c22210b3b2bd5c2629432"/></dir><file name="Glossary.php" hash="c8766453bf025c1eac3674b00e78ac0f"/><file name="Page.php" hash="c507a9ff530939df51f0748ab1f64430"/><file name="Product.php" hash="4c15e30ad5fd5e0ad63e51ce712d9e16"/><file name="Status.php" hash="5a52b7fc5946f45425b85fa0ef86adce"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="GlossaryController.php" hash="e6f16cdf8faeab2e821508104262f1df"/></dir><file name="IndexController.php" hash="28ee4946d858b480f567b6323f5c3e8c"/><file name="ViewController.php" hash="1427f3caf03620289ff2b70cc102a8bd"/></dir><dir name="etc"><file name="config.xml" hash="54ad711ec5955e8b7ca7d1944e09f9b7"/><file name="system.xml" hash="1d4e42aaccfd13d388056eb2938916a8"/></dir><dir name="sql"><dir name="glossary_setup"><file name="mysql4-install-0.5.1.php" hash="d19900a2c03411fcf4fb559007060134"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="glossary.xml" hash="56345facbc8a81b026d64fadbc6dafd1"/></dir><dir name="template"><dir name="glossary"><dir name="letter"><file name="view.phtml" hash="5bb0b80c315e17942c4326d9a77cc9c7"/></dir><file name="glossary.phtml" hash="a365c2b18a2fc8c322a453b387c4489d"/><file name="glossary_letter.phtml" hash="c734250b896932aacfb7ff8289436bde"/><file name="glossary_popup.phtml" hash="854f07d8fcea7ef649450e37cae4c199"/><file name="glossary_single.phtml" hash="afd557f0b958be793a57ad831f891756"/><file name="pager.phtml" hash="ff614fd4956d1fe352dda1fe8af5219c"/><file name="toolbar.phtml" hash="dfe367561f9513a79ddc61854e5f62a7"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="glossary.xml" hash="4bf01fb8f662e970b12186ed7f6388ad"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Kreativkonzentrat_Glossary.xml" hash="ae9bb531254247fcd1d628ae582e8b17"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Kreativkonzentrat_Glossary.csv" hash="f3f9ef70ef94af8f133f7abf56e5c1df"/></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies/>
|
19 |
</package>
|