File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,11 @@ public function __construct()
2424 }
2525
2626 public function getSubmitAction () {
27- $ url = Mage::helper ('adminhtml ' )->getUrl ('*/sso/login ' , array ("return_url " => Mage::helper ('core ' )->urlEncode ("http:// " .Mage::getStoreConfig ('zendesk/general/domain ' )."/requests/new " )));
27+ if (!$ return_url = Mage::getStoreConfig ('zendesk/sso_frontend/new ' )) {
28+ $ return_url = "http:// " .Mage::getStoreConfig ('zendesk/general/domain ' )."/requests/new " ;
29+ }
30+ $ url = Mage::helper ('adminhtml ' )->getUrl ('*/sso/login ' , array ("return_url " => Mage::helper ('core ' )->urlEncode ($ return_url )));
31+
2832 return $ url ;
2933 }
3034}
Original file line number Diff line number Diff line change 170170 <show_in_website >1</show_in_website >
171171 <show_in_store >1</show_in_store >
172172 </token >
173+ <new translate =" label comment" >
174+ <label >New Ticket Link</label >
175+ <frontend_type >text</frontend_type >
176+ <sort_order >3</sort_order >
177+ <show_in_default >1</show_in_default >
178+ <show_in_website >1</show_in_website >
179+ <show_in_store >1</show_in_store >
180+ <comment ><![CDATA[ https://yourdomain.zendesk.com/requests/new will be used by default]]> </comment >
181+ </new >
173182 </fields >
174183 </sso_frontend >
175184 <frontend_features translate =" label comment" >
Original file line number Diff line number Diff line change 110110"Show "All" tab on dashboard","Show "All" tab on dashboard"
111111"Generate New Token","Generate New Token"
112112"Token cannot be empty","Token cannot be empty"
113+ "New Ticket Link","New Ticket Link"
You can’t perform that action at this time.
0 commit comments