Edit the Home Page of web Server

Have a suggestion for "Everything"? Please post it here.
Post Reply
CaptNemo
Posts: 1
Joined: Wed Sep 16, 2009 8:55 pm

Edit the Home Page of web Server

Post by CaptNemo »

I was wondering if it was possible to edit the home page of Everything, so that I might put up a notice at my home page for users who might read about updates, and more things...
David
Developer
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: Edit the Home Page of web Server

Post by David »

Currently the layout is fixed.

Only the images and style sheet can be customized.
(See http://www.voidtools.com/Everything/wik ... HTTP_files).

I have added: "Make a customizable html template for the HTTP server" to my "Things to do" list.
lrt
Posts: 3
Joined: Fri Jan 22, 2010 3:20 pm

Re: Edit the Home Page of web Server

Post by lrt »

David wrote:Currently the layout is fixed.

Only the images and style sheet can be customized.
(See http://www.voidtools.com/Everything/wik ... HTTP_files).

I have added: "Make a customizable html template for the HTTP server" to my "Things to do" list.
The .png files and css file that are linked in this wiki page are linking to "localhost"... I want to be able to download these files so i can customize the search web page... (i'm a new user and these software is great btw!)
void
Developer
Posts: 17153
Joined: Fri Oct 16, 2009 11:31 pm

Re: Edit the Home Page of web Server

Post by void »

If you run a HTTP server you will be able to download these files from your own computer.

To run a HTTP server:
  • In "Everything", from the Tools menu, click Start HTTP Server.
Once you have started a HTTP server, click on the following links to download these files from your own computer:
lrt
Posts: 3
Joined: Fri Jan 22, 2010 3:20 pm

Re: Edit the Home Page of web Server

Post by lrt »

ok i see that now, thanks :)
avoidable
Posts: 2
Joined: Mon Mar 08, 2010 6:20 pm

Re: Edit the Home Page of web Server

Post by avoidable »

The wiki example is poorly written and frankly kind of confusing. I have created the "HTTP Server" folder in my programs, where "everything" is; and after restarting and loading "everything" again - I still don't see my edits. (changed logo/favicon, etc)

A screenshot or simply a zip file with all the necessary files would be a brilliant idea.

Love "everything", not liking the poor explanation so much.

Thanks
avoidable
Posts: 2
Joined: Mon Mar 08, 2010 6:20 pm

Re: Edit the Home Page of web Server

Post by avoidable »

void wrote:If you run a HTTP server you will be able to download these files from your own computer.

To run a HTTP server:
  • In "Everything", from the Tools menu, click Start HTTP Server.
Once you have started a HTTP server, click on the following links to download these files from your own computer:

What this really means is, go to the Everything program, go to Tools > Start HTTP Server
Then from your webbrowser, type in http://localhost
Once you see the icons, please do a right mouse button and save them in a directory called "HTTP Server".
You can also use Notepad and do a file > open to point to the css file, so that you can see it.

As far as getting it actually working with the HTTP Server folder in Program Files, is where you got me. (that is also unclear)
lrt
Posts: 3
Joined: Fri Jan 22, 2010 3:20 pm

Re: Edit the Home Page of web Server

Post by lrt »

So I installed Everything in C:\Everything and I created the folder in C:\Everything\HTTP Server. I downloaded the main.css file and put this file in C:\Everything\HTTP Server. I edited this file to change the look of the web interface, but none of my changes are visible. How can I customize the CSS file?
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Edit the Home Page of web Server

Post by therube »

Just posting the revised (current) link to Changing the HTTP files.

I created a "HTTP Server" subdirectory to the Everything directory.
Placed a revised file.png into that directory, refreshed my http://localhost/ web page, & it did show the revised file "icon".

Revised main.css:

Code: Select all

from: .maintable tr.d { background-color:#F7F7F7; }
  to: .maintable tr.d { background-color:#00BFFF; }
& that gave me blue/white banding on the filelist instead of gray/white banding.

So looks to be working. (Don't forget to <do a "hard"> refresh <of> the page.)
(And this is with HTTP Server running in Everything.)

Running .451a on my end.


Also note that a "Logs" subdirectory is automatically created.
In HTTP_Server_Log.txt (within Logs) you should see things like:

Code: Select all

04/22/2010 01:08:40 PM: [127.0.0.1] GET /main.css
04/22/2010 01:08:40 PM: [127.0.0.1] Sending file C:\Everything\HTTP Server\main.css
Post Reply