-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with messages blocks #112
Comments
Turpentine doesn't currently support Magento EE 1.10, and I haven't tested it on that version at all. That said, I will try to find some time to get EE 1.10 installed and look into this. |
This is not a Nexcess Turpentine issue, but rather a bug in Magento core (CE and EE both have the same bug). @@ -213,7 +213,7 @@ class Mage_Core_Block_Messages extends Mage_Core_Block_Template
$html = '<' . $this->_messagesFirstLevelTagName . ' id="admin_messages">';
foreach ($this->getMessages($type) as $message) {
$html.= '<' . $this->_messagesSecondLevelTagName . ' class="'.$message->getType().'-msg">'
- . ($this->_escapeMessageFlag) ? $this->htmlEscape($message->getText()) : $message->getText()
+ . ( ($this->_escapeMessageFlag) ? $this->htmlEscape($message->getText()) : $message->getText() )
. '</' . $this->_messagesSecondLevelTagName . '>';
}
$html .= '</' . $this->_messagesFirstLevelTagName . '>'; |
hi, |
@Gorkyman Thanks for the info, closing this since it's not a bug in Turpentine. |
FYI: Fix added to the Magento 2 tree. |
Hi A review submission success message should not be a After a bit of investigation it looks as though The call stack shows that the turpentine module is directing these messages to the wrong method. |
I agree @chevli. Even you correct that Magento core file some pages are not showing error message correctly. For example Order and Returns. It still shows admin_messages. As I understand there is a place to add helpers or something in Magento for messages. But I not such advanced to point it. In this case adding 'sales' could work. |
We are using Magento Enterprise 1.10 with the latest Varnish version. We have encoutered some problems with the message blocks:
The messageblock loads a ajax message block with
<ul id="admin_messages"></ul>
The content is empty but on the site the block is visible because of the default margin on ul's.
On a product page when a review is placed varnish loads the succes message in the block. The response from ajax is
<ul id="admin_messages">Your review has been accepted for moderation</ul>
here the li is missing.
Also the class messages is missing. The problem here is that the ajax message block doesnt have the right styling and the li is missing.
Hope someone can help us out.
On the home page, the turpentine messages block looks like this:
The text was updated successfully, but these errors were encountered: