- Posts: 2
- Thank you received: 0
Using the Guestbook Search Feature for the whole site
9 years 10 months ago #13888
by zain123
aliiii
Using the Guestbook Search Feature for the whole site was created 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
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.
9 years 10 months ago - 9 years 10 months ago #13889
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic Using the Guestbook Search Feature for the whole site
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:
You would then update the search page to also pull in entries from this new data file when searching.
Pete
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 10 months ago by Pete.
Please Log in or Create an account to join the conversation.
Time to create page: 0.115 seconds