Website Search Custom Results Pages

Home » Forums » Website Search » Website Search Custom Results Pages


Senior Advisor
1,426 posts

Here are 2 walkthrough's for making a simple custom search results page, one is for HTML users and the other for VSD users.

You will be able to have any width logo or header and the actual results will be displayed below in a centered 670px bordered box. If at any time you want to change any of the colours you only need to edit the .css file and re-upload it.

Walkthrough for HTML

Walkthrough for VSD Users Jim
---------------------------
http://www.freebits.co.uk/


Registered User
3 posts

I think the simplest way to create your header and footer for your search page is to create a page like you create any other page, in your HTML editor or any other way you do it. Include "CUT HERE" or soemthing like that where you want the results inserted.
Name it my-search-template.html or something like that, and then simply copy and paste the source code of the bit above CUT HERE into the header section and the HTML source of the bit below in your footer section.
If you want to make any changes, just update your template and copy and paste again. WiZZ.to Travel Guide :: 2CV directory


Registered User
4 posts

I actually spent quite a bit of time messing around w/ this. I came to the same conclussion as John. I created a blank webpage and then inserted and object named "search here", published the page, put everything above "search here" into the php file directly above where the html results start, and put everything below "search here" into the php file directly below where the html results finish. (as a note, the webpage wasn't made w/ CC software, but all the flash/forms/search/etc are through CC software.

The effect I desired was created by this, feel free to test it out here:

http://www.legend-group.com/hazardousmaterials.html

Enter something like "legend" or "technical" so that you can view the pagination also.

Let me know what you guys think!

I also created the same effect in forms using this, try the unsubscribe link here:

http://legend-group.com/subscriptions.html

Do me a favor though, enter something like forum@cc.com as the email address so I know why all these fake unsubscribes are coming in.


Senior Advisor
7,579 posts

Nicely done William, you brought to my attention the need for the comments box when unsubscribing so people can say why which I should have thought of but just have been too busy I guess lol. Thanks for the heads up and very well done site :) Jo Ann

http://lbwebsites.com - Web Design & Web Hosting
http://cattownrescue.org ... Current project in the works, love cats! :)
http://northbaldwinliteracycouncil.org .... Our local Literacy Council

Due to spammers the below sites are not viewable outside the US, sorry guys :(
http://proudayou.com - My sons website for his music business
http://rockinwithmainstreet.com - My brother's band website


Registered User
4 posts

Ha, I didn't realize this particular thread still existed. Well, to whomever followed the link today to unsubscribe (thanks for using forums@cc.com) I got your comments. Nice, but its not bogus...


Senior Advisor
6,076 posts

I just followed, but it was probably JoAnn's entry you picked up. Nice thoughtful extra the request for reasons for your user unsubscribing. http://www.venicefromtheinside.com


Registered User
4 posts

Hi,

Using "ccsearch.css" in the walkthrough for html is great, and I have used it in the past. I have one question please, How do I change the colour of the url link results in the css, as changing them in CC html and results settings does not seem to change anything if you are also using "ccsearch.css".

I have a page background colour of Dark Blue (#1B3AA1) and would like a url link colour of White (#FFFFFF), hope you can please help me.


Senior Advisor
1,426 posts

You can add the code below into the ccsearch.css and change the colour values to whatever you want.

a:link {
color: #CC0000;
}
a:visited {
color: #003300;
}
a:hover {
color: #330066;
}


----------------------
By adding the above any existing links format may change. Jim
---------------------------
http://www.freebits.co.uk/


Registered User
4 posts

Thanks for your help.
That worked fine.


Senior Advisor
1,426 posts

No problem. Jim
---------------------------
http://www.freebits.co.uk/

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.