rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: gkerr4400 on September 22, 2009, 02:34:49 PM

Title: Using Diff Template
Post by: gkerr4400 on September 22, 2009, 02:34:49 PM
 I use EXE ver 2.2f and you can assign a different template for different folders. Right click on any folder ( under expert  ) go to advance and choose Diff Template and a template that is different from the main page can be applied to that folder. I've looked in the Beta versions and can't find that switch. Am I missing it or is it not incorporated yet ??
 I would like to use my template for the main page and maybe TOG or maybe a RAWR for a media streaming folder. And those templates only want to work on 2.3 , not 2.2
Title: Re: Using Diff Template
Post by: SilentPliz on September 22, 2009, 02:43:58 PM
Welcome gkerr4400  :)

The option you seek is here:

Right click on a folder in VFS > Properties... and you find the tab Diff template

You can also rename your template as hfs.diff.tpl and put it in the folder of your choice.

 ;)
Title: Re: Using Diff Template
Post by: rejetto on September 24, 2009, 10:07:30 AM
many things have been moved into "properties".
if you prefer to keep the other template in a separate file instead of pasting it into the "diff template" text field, you can type the name of the file (with full path) in the text field.
Title: Re: Using Diff Template
Post by: Patrick on February 21, 2010, 10:01:34 AM
many things have been moved into "properties".
if you prefer to keep the other template in a separate file instead of pasting it into the "diff template" text field, you can type the name of the file (with full path) in the text field.
I tried on Live-3.0.0 template on Diff template (with full path) but it is not displayed the page correctly - all of the icons are not displayed?  Please help to check.  Thank you.
Title: Re: Using Diff Template
Post by: rejetto on February 21, 2010, 12:55:17 PM
that's because that template uses other files for icons, and those files must be put in the virtual file system.

a possible way to solve this is to put the "template" folder you find near "Live-3.0.0.tpl" on the virtual file system. (and i guess you'll like to hide it)
Title: Re: Using Diff Template
Post by: Patrick on February 21, 2010, 02:06:58 PM
Thanks.  I can make it work now with one "Template" in Virtual File System", but it cannot work on two "Template" in Virtual File System (because I have two and more diff templates for folders) .  Could you please help me to check?  Thank you.
Title: Re: Using Diff Template
Post by: rejetto on February 22, 2010, 11:07:34 AM
what are these 2 templates you are trying to live together?
Title: Re: Using Diff Template
Post by: Patrick on February 23, 2010, 11:51:44 AM
1.  Live-3.0.0.tpl
2.  RAWR-Template-0.1.2.tpl
3.  Gallery.tpl
4.  Terayon v1.3.3.tpl
and more templates for different folders
Title: Re: Using Diff Template
Post by: rejetto on February 23, 2010, 12:20:51 PM
the best would be for those templates to have a configurable folder name.
since they don't, you should edit the templates and replace every "template/" with "template-rawr/".
of course you should also rename the "template" folder to "template-rawr".
this applies to rawr template, and should be done for every template.
Title: Re: Using Diff Template
Post by: patrick on February 24, 2010, 01:43:35 AM
I have replaced all the "template/" to "template-RAWR/" in the template file, and also changed the folder to "template-RAWR" and put it in the VFS.  It is working with folders displayed but not the files.  Please check.
Title: Re: Using Diff Template
Post by: rejetto on February 25, 2010, 01:49:08 PM
there were some errors in your modifications.
i'm attaching you a working version.
Title: Re: Using Diff Template
Post by: Patrick on March 07, 2010, 08:00:32 AM
I tested with your attached template; however, it is the same problem.  It is only display the folders but not the files.  Please help.  Thank you.