RTTSoftware Support Forum

PDF Explorer => General => Topic started by: Markus on May 12, 2009, 10:13:00 AM

Title: Webinterface logo
Post by: Markus on May 12, 2009, 10:13:00 AM

is it possible zu take a customer logo to the webserver ?
Title: Re: Webinterface logo
Post by: RTT on May 12, 2009, 03:27:46 PM
Hello Markus,
Yes, it's very easy to replace that logo. If you don't want to mess-up with the html templates, just create a 329x60 flash animation, or a same aspect ration one, and use it to replace the logoani.swf you can find at the WebServ\Images sub-folder, where PDF Explorer is installed.
If html edit is not a problem, you can change the .html templates, found at the WebServ sub-folder, and replace the flash <object></object> by a simple <img> of the logo image you want to use.

if you need further explanation, don't hesitate to ask.
Title: Re: Webinterface logo
Post by: Markus on May 13, 2009, 12:54:46 PM
I have edit the Login page with an HTML Editor and take my Logo in
when I open the login.html mauel the logo is in.
now I start the server and go to the log in an the logo gif cant be load.
is there something to configer on the webserver ?
thank you Markus

Title: Re: Webinterface logo
Post by: RTT on May 13, 2009, 03:46:59 PM
Make sure your gif image logo is in the WebServ\Images sub-folder, if you are linking to it using a relative image src URL.
If using an absolute image src URL,  make sure it is from another domain, or will fail also.

Check if you are not experiencing some browser cache behavior. Check page source after loaded on the browser to see if your changes are there.

If problems persist, please email me that edited html so I can check it. Check also,  in the program about box, what PDF Explorer patch version you have installed.
Title: Re: Webinterface logo
Post by: Torschmied on May 14, 2009, 09:42:59 AM
Ihave checked all this and the problem perists.
I have send the files by mail to you
Title: Re: Webinterface logo
Post by: RTT on May 14, 2009, 03:31:49 PM
I checked your html and indeed it's a bug in PDF Explorer code.
The code is checking request target folder using case-sensitive compare function against a lowercased 'images' hard-coded word. Because your html image src ="Images/logo.gif", server refuse to send that image because "Images" is different than "images"
To fix it, just set that logo image src url to src="images/logo.gif". I'm going also to fix the code so this nonsense compare stop to be a problem.

I also noted that you moved the html template specific </multilang> tag from place. Not a problem in this case, but if you are trying to set the country flags, used as language selectors, better use the server "Additional Options>General" "Multi Language" option.

Title: Re: Webinterface logo
Post by: Zainob on August 06, 2009, 07:34:41 PM
I'm about to get all the pdf files on the web server in order to allow others to access it, so here is my question, is there a way to change the interface for everything? Logo, font, font size, background color, background texture...make it look more sophisticated?

Also, is it possible to create an index page?
This way the key words used to categorize pdf files can be used without confusion by outside users.

Good job with what you've done so far.
Title: Re: Webinterface logo
Post by: RTT on August 08, 2009, 12:13:00 AM
You can easily edit the basic PDFE Web interface html template files, present at the "WebServ" sub-folder where PDF Explorer is installed, usually "C:\Program Files\PDF Explorer\WebServ".
You only need to maintain the html filenames, and its non-standard html tags (and, in some cases, these tags nested hierarchy). You need to keep also the var strings of the type %SomeIdStr% used, mostly, to enable text language translations insertions, but also to present search variables.

Also, if you need to use additional resource files (images, css, javascript,...),  place them inside that WebServ folder, or sub-folder, but make sure all the additional external resources used by the Login.html page are inside the images sub-folder.

I'm also working in a simple API, with XML search query responses, enabling the possibility to present data in custom pages, or on, not web, interfaces.

Regarding the Index page. Yes, you can add an Index page, and even run a complete web site (with php, perl, ISAPI or CGI interfaced applications, MySQL, etc. , support), from the PDFE HTML Server.

Just create your site additional pages at some local disk folder, and point the PDFE WebServer, Additional Options, Web Server root directory, under the General Tab, to that folder. Look at attached image.
If you put a Index.html page at that root folder, it will be the first page to be load, if guest users are enabled.

If you are a experienced web developer, you will not have big difficulties, but, if any, just post it here. Or drop me a PM if you need to send an example, not public, file.
Title: Re: Webinterface logo
Post by: RTT on August 10, 2009, 11:18:38 PM
If you put a Index.html page at that root folder, it will be the first page to be load, if guest users are enabled.
Sorry, but this is not quite correct for current version. This is how it will work in build 59, but, right now, there is the need to edit the
%appdata%\PDF Explorer\Websvr.ini file to set the DefaultPage variable, at the [cfg] section, to the name of the file we want to make the default page.

So, if a index.html page is at the C:\MySite\wwwroot, and this folder is set as the site rood folder, as explained above, the DefaultPage must be set to:


if the index.html page is at the same folder where the generic web interface html's templates are, the DefaultPage must be set to: