Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

.js and css view in signed in

i will edit class... php

İ will do ;

    $this->addJsFile('jquery.autosize.min.js');
    $this->addJsFile('autosave.js');
    $this->addJsFile('discussion.js');

I want these codes to be active when user login to the forum
this code;
if ( $User.SignedIn) {
$this->addJsFile('jquery.autosize.min.js');
$this->addJsFile('autosave.js');
$this->addJsFile('discussion.js');
}
Where am I doing wrong? what is the truth? thnk you... sorry bad eng.

Comments

Sign In or Register to comment.