Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Replace core script
how to?
smth like
$Sender->Head->DeleteJsFile('jquery.popup.js');
or
$Sender->Head->Body = str_ireplace("jquery.popup.js", "plugins/../jquery.popupx.js", $Sender->Head->Body);
?
thanx in advance
0
Best Answer
-
peregrine MVP
don't know if it is a good idea, or why you want to do it, but this will in a plugin
public function Base_Render_Before(&$Sender) { $Sender->RemoveJsFile('jquery.popup.js'); $Sender->AddJsFile('/plugins/yourpluginname/js/jquery.popup.js'); }
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
0
Answers
don't know if it is a good idea, or why you want to do it, but this will in a plugin
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.