This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

corymillz40435183
corymillz40435183

I dont know if this is possible because the documentation says component and pages but i am trying to use some javascript files in a partial, injecting it in the partial's onStart function like so

==
<?php
function onStart(){

$this->addJs('/themes/rusty-rustybootstrap4blank/assets/js/payments/payment-verification.js');
$this->addJs('/themes/rusty-rustybootstrap4blank/assets/js/payments/payment-settlement.js');

?>
==

but it does not work.

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.