-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix for 'did you mean' html, release 1.6.1-beta
- Loading branch information
1 parent
b3930cf
commit 03a7822
Showing
8 changed files
with
62 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
app/design/frontend/base/default/template/jeroenvermeulen/solarium/suggest.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php if ($suggestions = Mage::registry('solarium_suggest')): ?> | ||
<ul class="messages"> | ||
<li class="notice-msg"> | ||
<ul> | ||
<li><span> | ||
<?php echo Mage::helper('jeroenvermeulen_solarium')->__('Did you mean: '); ?> | ||
<?php $counter = 0; ?> | ||
<?php foreach ($suggestions as $suggestion => $result_count): ?> | ||
<?php $counter++; if ( 1 < $counter ): ?> <?php endif; ?> | ||
<a title="<?php echo $this->__('Results').':'.$result_count; ?>" | ||
href="<?php echo Mage::getUrl('catalogsearch/result', array('q' => $suggestion)); ?>"> | ||
<?php echo $suggestion ?></a> | ||
<?php endforeach; ?> | ||
</span></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<?php Mage::unregister('solarium_suggest'); ?> | ||
<?php endif; ?> |
17 changes: 0 additions & 17 deletions
17
app/design/frontend/base/default/template/solarium/suggest.phtml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,45 @@ | ||
## JeroenVermeulen_Solarium Extension - Solr search for Magento CE | ||
|
||
# Magento User Interface - File == Frontend layout | ||
# ---- Frontend layout | ||
# Magento User Interface - File - frontend/base/default/layout/jeroenvermeulen/solarium.xml | ||
app/design/frontend/base/default/layout/jeroenvermeulen/solarium.xml app/design/frontend/base/default/layout/jeroenvermeulen/solarium.xml | ||
|
||
# Magento User Interface - File == Backend layout | ||
# ---- Frontend layout | ||
# Magento User Interface - Recursive Dir - frontend/base/default/template/jeroenvermeulen/solarium | ||
app/design/frontend/base/default/template/jeroenvermeulen/solarium/ app/design/frontend/base/default/template/jeroenvermeulen/solarium/ | ||
|
||
# ---- Backend layout | ||
# Magento User Interface - File - adminhtml/default/default/layout/jeroenvermeulen/solarium.xml | ||
app/design/adminhtml/default/default/layout/jeroenvermeulen/solarium.xml app/design/adminhtml/base/default/layout/jeroenvermeulen/solarium.xml | ||
|
||
# Magento Global Config - File == Module enable XML | ||
# ---- Module enable XML | ||
# Magento Global Config - File - modules/JeroenVermeulen_Solarium.xml | ||
app/etc/modules/JeroenVermeulen_Solarium.xml app/etc/modules/JeroenVermeulen_Solarium.xml | ||
|
||
# Magento Other web accessible - Recursive Dir == JavaScript libraries | ||
# ---- JavaScript libraries | ||
# Magento Other web accessible - Recursive Dir - js/solarium | ||
js/solarium/ js/solarium/ | ||
|
||
# Magento PHP Library file - Recursive Dir == The Solarium Library, by Bas de Nooijer | ||
# ---- The Solarium Library, by Bas de Nooijer | ||
# Magento PHP Library file - Recursive Dir - Solarium | ||
lib/Solarium/ lib/Solarium/ | ||
|
||
# Magento PHP Library file - Recursive Dir == The EventDispatcher component from the Symfony framework | ||
# ---- The EventDispatcher component from the Symfony framework | ||
# Magento PHP Library file - Recursive Dir - Symfony/Component/EventDispatcher | ||
lib/Symfony/Component/EventDispatcher/ lib/Symfony/Component/EventDispatcher/ | ||
|
||
# Magento Theme Skin - File == Backend CSS file | ||
# ---- Backend CSS file | ||
# Magento Theme Skin - File - adminhtml/default/default/css/jeroenvermeulen/solarium.css | ||
skin/adminhtml/default/default/css/jeroenvermeulen/solarium.css skin/adminhtml/default/default/css/jeroenvermeulen/solarium.css | ||
|
||
# Magento Theme Skin - Recursive Dir == Backend image files | ||
# ---- Backend image files | ||
# Magento Theme Skin - Recursive Dir - adminhtml/default/default/images/jeroenvermeulen/solarium | ||
skin/adminhtml/default/default/images/jeroenvermeulen/solarium/ skin/adminhtml/default/default/images/jeroenvermeulen/solarium/ | ||
|
||
# Magento Community Module - Recursive Dir == Extension code dir | ||
# ---- Extension code dir | ||
# Magento Community Module - Recursive Dir - JeroenVermeulen/Solarium | ||
app/code/community/JeroenVermeulen/Solarium/ app/code/community/JeroenVermeulen/Solarium/ | ||
|
||
# Magento Locale language - File == Dutch translation | ||
# ---- Dutch translation | ||
# Magento Locale language - File - nl_NL/JeroenVermeulen_Solarium.csv | ||
app/locale/nl_NL/JeroenVermeulen_Solarium.csv app/locale/nl_NL/JeroenVermeulen_Solarium.csv |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<_> | ||
<form_key>F1ORDmSGZQ9dcoTC</form_key> | ||
<form_key>mvNLLfGbn8YS6sdV</form_key> | ||
<name>JeroenVermeulen_Solarium</name> | ||
<channel>community</channel> | ||
<version_ids> | ||
|
@@ -22,21 +22,23 @@ Report bugs: https://github.com/jeroenvermeulen/magento-solarium/issues | |
</description> | ||
<license>OSL-3.0</license> | ||
<license_uri>http://opensource.org/licenses/osl-3.0.php</license_uri> | ||
<version>1.5.0</version> | ||
<stability>stable</stability> | ||
<notes> * The first "stable" version | ||
* Added "Test Connection" button to configuration | ||
* Added logos to configuration - Thanks @toonvd | ||
* Added Dutch translations</notes> | ||
<version>1.6.1</version> | ||
<stability>beta</stability> | ||
<notes>WARNING: Beta version, do not use on production without extensive testing. | ||
|
||
* Bugfix for "Did you mean" html</notes> | ||
<authors> | ||
<name> | ||
<name>Jeroen Vermeulen BVBA</name> | ||
<name>Toon van Dooren</name> | ||
</name> | ||
<user> | ||
<user>jeroenvermeulen</user> | ||
<user>toonvd</user> | ||
</user> | ||
<email> | ||
<email>[email protected]</email> | ||
<email>[email protected]</email> | ||
</email> | ||
</authors> | ||
<depends_php_min>5.3.0</depends_php_min> | ||
|
@@ -56,7 +58,7 @@ Report bugs: https://github.com/jeroenvermeulen/magento-solarium/issues | |
<max/> | ||
</max> | ||
<files> | ||
<files> </files> | ||
<files> </files> | ||
</files> | ||
</package> | ||
<extension> | ||
|
@@ -76,6 +78,7 @@ Report bugs: https://github.com/jeroenvermeulen/magento-solarium/issues | |
<target>magecommunity</target> | ||
<target>magedesign</target> | ||
<target>magedesign</target> | ||
<target>magedesign</target> | ||
<target>mageetc</target> | ||
<target>mageweb</target> | ||
<target>magelib</target> | ||
|
@@ -88,6 +91,7 @@ Report bugs: https://github.com/jeroenvermeulen/magento-solarium/issues | |
<path> | ||
<path>JeroenVermeulen/Solarium</path> | ||
<path>frontend/base/default/layout/jeroenvermeulen/solarium.xml</path> | ||
<path>frontend/base/default/template/jeroenvermeulen/solarium</path> | ||
<path>adminhtml/default/default/layout/jeroenvermeulen/solarium.xml</path> | ||
<path>modules/JeroenVermeulen_Solarium.xml</path> | ||
<path>js/solarium</path> | ||
|
@@ -101,6 +105,7 @@ Report bugs: https://github.com/jeroenvermeulen/magento-solarium/issues | |
<type> | ||
<type>dir</type> | ||
<type>file</type> | ||
<type>dir</type> | ||
<type>file</type> | ||
<type>file</type> | ||
<type>dir</type> | ||
|
@@ -123,6 +128,7 @@ Report bugs: https://github.com/jeroenvermeulen/magento-solarium/issues | |
<include/> | ||
<include/> | ||
<include/> | ||
<include/> | ||
</include> | ||
<ignore> | ||
<ignore/> | ||
|
@@ -136,6 +142,7 @@ Report bugs: https://github.com/jeroenvermeulen/magento-solarium/issues | |
<ignore/> | ||
<ignore/> | ||
<ignore/> | ||
<ignore/> | ||
</ignore> | ||
</contents> | ||
</_> |