Pada Tutorial kali ini saya membagikan bagaimana cara, agar script java dapat berjalan ketika membuat sebuah custom block manager pada ojs open journal system. javascript pada ojs customblock manager biasanya akan diblok oleh system OJS, untuk menangani masalah tersebut kita akan menggunakan sebuah plugin Custom Header Plugin. Custom Header Plugin membolehkan kita menyisipkan url script kode javascript kedalam header ojs sehingga customblock manager dapat memanfaatkan script tersebut secara internal. jangan lupa kunjungi juga Youtube Channel kami : http://youtube.com/c/acahyachannel Untuk Script yang pertama adalah script java yang akan kita tempelka di Plugins CustomHeader

1
2
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script src="http://jurnal.htp.ac.id/script.js"></script>

Script selanjutnya adalah script untuk membuat Menu Sidebar HTML pastekan kode berikut pada CustomBlock Manager.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<div id="cssmenu">
<ul>
    <li><a href="#">MENU</a></li>
    <li class="active has-sub"><a href="#">ADDITIONAL MENU</a>
<ul>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/about/editorialTeam">Editorial Team</a></li>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/reviewers">Peer Review</a></li>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/reviewers">Peer Reviewers</a></li>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/review">Peer Review Process</a></li>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/focusandscope">Focus and Scope</a></li>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/ethic ">Publication Ethics</a></li>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/onlinesubmission">Online Submission</a></li>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/guideline">Online Submission Guidelines</a></li>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/plagiarism ">Plagiarism Check</a></li>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/apcs ">Article Proccessing Charge</a></li>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/openaccess ">Open Access Statement</a></li>
    <li><a href="http://jurnal.htp.ac.id/index.php/keskom/licence">Licence Term</a></li>
</ul>
</li>
    <li class="active has-sub"><a href="#">SUPLEMENTARY FILES</a>
<ul>
    <li><a href="https://drive.google.com/file/d/0B0KJITuOYogVb2ZWNDZjX09scDg/view?usp=sharing" target="_blank" rel="noopener">COI Disclosure</a></li>
    <li><a href="https://drive.google.com/file/d/0B0KJITuOYogVZFVfay0zOFU2ekE/view?usp=sharing" target="_blank" rel="noopener">ICMJE Recommendation</a></li>
    <li><a href="https://drive.google.com/file/d/0B0KJITuOYogVSHhMU1F3dHhhb28/view?usp=sharing" target="_blank" rel="noopener">STROBE Guidelines</a></li>
    <li><a href="https://drive.google.com/file/d/0B0KJITuOYogVTE5hZXhEZ1B2ZkU/view?usp=sharing" target="_blank" rel="noopener">SRQR Guidelines</a></li>
    <li><a href="https://drive.google.com/file/d/0B0KJITuOYogVdlhoNFlYdmYycFE/view?usp=sharing" target="_blank" rel="noopener">Free Plagiarism Statement</a></li>
    <li><a href="https://drive.google.com/file/d/0B0KJITuOYogVQXhEMDAycXZHSEE/view?usp=sharing" target="_blank" rel="noopener">Covering Letter and Statement Form</a></li>
</ul>
</li>
    <li><a href="#">Template</a></li>
    <li class="last"><a href="#">Histori Jurnal</a></li>
</ul>
</div>

Script Berikutnya adalah file css yang akan kita upload di setting/appearance style

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300);
#cssmenu {
position: relative;
margin: 0;
font-family: 'Roboto Condensed';
line-height: 1;
width: 250px;
}
.align-right {
float: right;
}
#cssmenu ul {
margin: 0;
padding: 0;
list-style: none;
display: block;
}
#cssmenu ul li {
position: relative;
margin: 0;
padding: 0;
}
#cssmenu ul li a {
text-decoration: none;
cursor: pointer;
}
#cssmenu &gt; ul &gt; li &gt; a {
color: #dddddd;
text-transform: uppercase;
display: block;
padding: 20px;
border-top: 1px solid #000000;
border-left: 1px solid #000000;
border-right: 1px solid #000000;
background: #222222;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
letter-spacing: 1px;
font-size: 16px;
font-weight: 300;
-webkit-transition: all 0.25s ease-in;
-moz-transition: all 0.25s ease-in;
-ms-transition: all 0.25s ease-in;
-o-transition: all 0.25s ease-in;
transition: all 0.25s ease-in;
position: relative;
}
#cssmenu &gt; ul &gt; li:first-child &gt; a {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
#cssmenu &gt; ul &gt; li:last-child &gt; a {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom: 1px solid #000000;
}
#cssmenu &gt; ul &gt; li:hover &gt; a,
#cssmenu &gt; ul &gt; li.open &gt; a,
#cssmenu &gt; ul &gt; li.active &gt; a {
background: #151515;
color: #ffffff;
}
#cssmenu ul &gt; li.has-sub &gt; a::after {
content: "";
position: absolute;
display: block;
width: 0;
height: 0;
border-top: 13px solid #000000;
border-botom: 13px solid transparent;
border-left: 125px solid transparent;
border-right: 125px solid transparent;
left: 0;
bottom: -13px;
bottom: 0px;
z-index: 1;
opacity: 0;
-webkit-transition: all .2s ease;
-moz-transition: all .2s ease;
-ms-transition: all .2s ease;
-o-transition: all .2s ease;
transition: all .2s ease;
}
#cssmenu ul &gt; li.has-sub &gt; a::before {
content: "";
position: absolute;
display: block;
width: 0;
height: 0;
border-top: 13px solid #151515;
border-botom: 13px solid transparent;
border-left: 125px solid transparent;
border-right: 125px solid transparent;
left: 0;
bottom: -12px;
bottom: -1px;
z-index: 3;
opacity: 0;
-webkit-transition: all .2s ease;
-moz-transition: all .2s ease;
-ms-transition: all .2s ease;
-o-transition: all .2s ease;
transition: all .2s ease;
}
#cssmenu ul &gt; li.has-sub::after {
content: "";
display: block;
position: absolute;
width: 0;
height: 0;
border: 7px solid transparent;
border-top-color: #dddddd;
z-index: 2;
right: 20px;
top: 24.5px;
pointer-events: none;
}
#cssmenu ul &gt; li:hover::after,
#cssmenu ul &gt; li.active::after,
#cssmenu ul &gt; li.open::after {
border-top-color: #ffffff;
}
#cssmenu ul &gt; li.has-sub.open &gt; a::after {
opacity: 1;
bottom: -13px;
}
#cssmenu ul &gt; li.has-sub.open &gt; a::before {
opacity: 1;
bottom: -12px;
}
#cssmenu ul ul {
display: none;
}
#cssmenu ul ul li {
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
}
#cssmenu ul ul li a {
background: #f1f1f1;
display: block;
position: relative;
font-size: 15px;
padding: 14px 20px;
border-bottom: 1px solid #dddddd;
color: #777777;
font-weight: 300;
-webkit-transition: all 0.25s ease-in;
-moz-transition: all 0.25s ease-in;
-ms-transition: all 0.25s ease-in;
-o-transition: all 0.25s ease-in;
transition: all 0.25s ease-in;
}
#cssmenu ul ul li:first-child &gt; a {
padding-top: 18px;
}
#cssmenu ul ul ul li {
border: 0;
}
#cssmenu ul ul li:hover &gt; a,
#cssmenu ul ul li.open &gt; a,
#cssmenu ul ul li.active &gt; a {
background: #e4e4e4;
color: #666666;
}
#cssmenu ul ul &gt; li.has-sub &gt; a::after {
border-top: 13px solid #dddddd;
}
#cssmenu ul ul &gt; li.has-sub &gt; a::before {
border-top: 13px solid #e4e4e4;
}
#cssmenu ul ul ul li a {
padding-left: 30px;
}
#cssmenu ul ul &gt; li.has-sub::after {
top: 18.5px;
border-width: 6px;
border-top-color: #777777;
}
#cssmenu ul ul &gt; li:hover::after,
#cssmenu ul ul &gt; li.active::after,
#cssmenu ul ul &gt; li.open::after {
border-top-color: #666666;
}

Untuk file css diatas dapat kita kombinasikan dengan css yang sudah ada sebelumbya untuk pemformatan style halaman OJS, intinya gabung  kode css yang anda pakai dengan css untuk sidebar menu ini.

Download Script

Silahkan ketik pertanyaan dikolom komentar jika anda mengalami kesulitan