Using the Guestbook Search Feature for the whole site

More
9 years 4 months ago #13888 by zain123
Hello,

In de guestbook there is a search function. Is it possible to use it for the complete site (only the search part)?
I have no experiance with php!

tnx

aliiii

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago - 9 years 4 months ago #13889 by Pete
Theoretically yes you could do that, but in order to do that you would have to store the data of every page of your site as a serialized object in a text file. Here is an example:

Code:
O:7:"gbClass":4:{s:6:"gbDate";s:20:"Tue 02/12/13 10:57AM";s:6:"gbFrom";s:4:"Pete";s:7:"gbEmail";s:20:"webmaster@digioz.com";s:9:"gbMessage";s:147:"Welcome to the DigiOz Guestbook Demo! <br> <br>We delete entries in this guestbook on a regular basis. Remember, this is only a DEMO. <br> <br>Pete";}<!-- E -->

You would then update the search page to also pull in entries from this new data file when searching.

Pete

DigiOz Webmaster
www.digioz.com
Last edit: 9 years 4 months ago by Pete.

Please Log in or Create an account to join the conversation.

Time to create page: 0.114 seconds
Powered by Kunena Forum