Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

How to add and remove search options?

Asked Modified Viewed 5,224 times
M
maoriorgnz
M
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 12 threads in the forums
  • Started this discussions
asked
Junior Member

Hi,

I need to be able to remove some of the search options, like downloads, faq's photos as I don't use them, but I also need to add in a search option called lists

Lists is basically all of the article files, functions, tables and table settings I could find duplicated then changed to be lists (for genealogy) - they are all working fine (add modify delete view etc), but I need to know how to hook it into the search page.

I do also use articles as is which is why it was not just a case of changing locales.

Thank you for your time.
0 replies

7 posts

R
Rolf Mayer
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

Quote

I do also use articles as is which is why it was not just a case of changing locales.


Could you please explain what you want to say?
0 replies
M
maoriorgnz
M
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 12 threads in the forums
  • Started this discussions
answered
Junior Member

as well as being able to search articles, I also need to add in a search for lists :)
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=28067&pid=153887#post_153838
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

It sounds like you could use a true copy of the in-built articles system:
http://www.php-fusion.co.uk/infusions...don_id=134
0 replies
M
maoriorgnz
M
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 12 threads in the forums
  • Started this discussions
answered
Junior Member

perfect - all working nicely now - thank you :D
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

And what solution did you use ?
0 replies
M
maoriorgnz
M
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 12 threads in the forums
  • Started this discussions
answered
Junior Member

I removed all the files in the search folder ( /includes/search )that I didn't want to use ie:
search_custompages_include.php
search_custompages_include_button.php

the first file removes the Custom Pages in the results
the second file removes the option to search in the Custom pages

Then I copied, changed and renamed the articles files to lists so I can search the lists also :D
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
S
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
R
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
M
M
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 12 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet