Contributions > Plugins, tips, and tricks
How to change javascript code
(1/1)
Inspirer:
Here is the structure of Javascript in Mibew:
js/
163/ - minified version of javascript (folder name is Mibew version)
.....
source/ - original sources
users.js - list of awaiting visitors page
chat.js - chat script
build.xml - ant script to minify sources
JSO.java - js minifier
......
Change files only in js/source folder.
To create minified version of all scripts (copies your changes to the production):
1. Download Apache Ant (http://ant.apache.org/)
2. Ensure you have installed Java 2 Platform, v1.4+ (http://java.sun.com/j2se/1.5.0/download.html)
3. Go to js/source folder, run "ant" from the command-line.
-OR-
1. copy all javascript files from js/source into js/163 (Note: it will reduce the performance of your site)
atsel:
Thank you, very helpful
micro:
Man, can you make it more simple, like just edit the php source code without recompile again via apache ant? :(
carlitosp71:
this work in mibew 1.64 too?
Navigation
[0] Message Index
Go to full version