aMule Forum

English => aMule Help => Topic started by: boutros on March 03, 2005, 08:30:00 PM

Title: Webserver templates
Post by: boutros on March 03, 2005, 08:30:00 PM
It seems that aMule-cvs-20050302 at least has different behaviour with the aMule.tmpl and webserver directories.

I run with a modified webserver template with darker colours and different images. Since I upgraded to this CVS version, these are all *ignored* by amuleweb.  The webinterface now runs with the default template and images, and even if I remove aMule.tmpl and the webserver subdirectory, the webinterface is still set to the default.

Probably I have to replace the template and images in the source, and recompile amuleweb. I'll give that a try and report
Title: Re: Webserver templates
Post by: boutros on March 03, 2005, 08:48:09 PM
No, the old template seems hard coded. Any idea how to change it?
Title: Re: Webserver templates
Post by: GonoszTopi on March 03, 2005, 09:12:01 PM
boutros,

the template isn't hard-coded. It's just that webserver's template finding mechanism has changed from CVS 2005.02.27. Read more in the wiki: http://www.amule.org/wiki/index.php/Webserver

You can install your template to $HOME/.aMule/webserver//, and run webserver as amuleweb -t . If == "default", then you may omit the -t thing. Note, that all files must be under the above directory, and the .tmpl file must have the name aMule.tmpl.

Btw, amuleweb -v will show you where it tries to find the template...

I hope I could help you.
Title: Re: Webserver templates
Post by: boutros on March 03, 2005, 09:25:54 PM
Thank you, that has solved my problem  :baby:
Title: Re: Webserver templates
Post by: stefanero on March 04, 2005, 09:36:59 AM
boutros, since you made this nice theme a couple months ago, can you maybe have a look at the changed aMule.tmpl and update your theme?
since i really like it, but things have changed a lot, and I doubt that it still works completly

thnx
stefanero
Title: Re: Webserver templates
Post by: boutros on March 05, 2005, 12:19:35 AM
stefanero: Sure! Which bits don't work?
Title: Re: Webserver templates
Post by: stefanero on March 05, 2005, 12:26:14 AM
you did already updaet it? i havent tryed in a while
but i know pretty sure that for example search has changed, since the time you posted your tmpl files...
if search still works for ya, everything importand shoudl be fine :)
Title: Re: Webserver templates
Post by: boutros on March 05, 2005, 12:39:34 AM
damn! you're right - search doesn't work. Or server selection.

I'd better fix it then :tongue:
Title: Re: Webserver templates
Post by: stefanero on March 05, 2005, 12:42:03 AM
hehe thnx very much :)
i will see if we maybe can inclue your tmpl aswell in src folder ;) have 2tmpl is much nicer for people

if Kry or someone else dont ahve a problem with it ;)
Title: Re: Webserver templates
Post by: boutros on March 28, 2005, 09:49:22 PM
Well I got most things working.

Something seemed to have broken the feature where currently downloading files are highlighted in yellow. That's fixed.

Search now works, which is nice.

Most things seem to work, apart from Server selection (i.e changing servers from the web interface). Perhaps someone could take a look? I'll keep looking at it tonight.

New tarball available at

http://amule.no-ip.org:10001/amule/aMule-CTemplate.tar.bz2
Title: Re: Webserver templates
Post by: stefanero on March 29, 2005, 08:23:48 AM
thnx very much...I will talk to Kry and we might include it into cvs as 2nd theme for amuleweb,
if that is ok with you :)
Title: Re: Webserver templates
Post by: boutros on March 30, 2005, 11:02:39 AM
Wel of course, but test it first  8)