kalypha65 0 Posted July 26, 2013 Report Share Posted July 26, 2013 Not sure if this is even a possibility, but I am trying to add hyperlinks in the text of a feedback widget. However, it splits the paragraph at the start of the first <href and moves the rest of the paragraph out of the widget pop-up box and onto the main page. Here is what I am wanting to do, but have so far not been successful: <?php if(in_array($this->session->getSessionData('theme'), array("brandx"))): ?> <widget path="feedback/AnswerFeedback" label_dialog_title="<strong>PLEASE NOTE: Orders cannot be cancelled or modified and account issues cannot be resolved via this channel.</strong> Should you require immediate assistance with your order or your account, please <a href="http://callus.com" target="_new"><strong>Call Us</strong></a> or <a href="http://chatwithus.com" target="_blank"><strong>Call Us</strong></a>. Thank you for providing information related to answer content and site feedback only." dialog_width="375px" /> Any help with this would be greatly appreciated. Quote Link to post Share on other sites
justsomeguy 1,135 Posted July 26, 2013 Report Share Posted July 26, 2013 The quotes are breaking the string. It sees this as the label_dialog_title attribute, because of the quotes: label_dialog_title="<strong>PLEASE NOTE: Orders cannot be cancelled or modified and account issues cannot be resolved via this channel.</strong> Should you require immediate assistance with your order or your account, please <a href=" One solution would be to use single quotes instead of double quotes for either the attribute or the value inside the attribute. Otherwise you need to encode the quotes inside the attribute value so that they don't close the attribute. Quote Link to post Share on other sites
kalypha65 0 Posted July 26, 2013 Author Report Share Posted July 26, 2013 Thank you SO much. This was exactly what I needed and worked perfectly. Have searched all over the web and found no topics covering this. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.