Search in all articles

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
art777
Posts: 34
Joined: Wed 12. Nov 2003, 03:07

Search in all articles

Post by art777 »

I create new article with content part SEARCH.
I want search in ALL articles.
What I set EXACTLY in form: template? :?: I don't understand this...

Please example.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

http://www.studmed.dk Portal for doctors and medical students in Denmark
art777
Posts: 34
Joined: Wed 12. Nov 2003, 03:07

Post by art777 »

OK
but ... <form action="###search_input_action:XX###" method="post"> ...

XX=ID - what ID for ALL articles??
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

art777 wrote:OK
but ... <form action="###search_input_action:XX###" method="post"> ...

XX=ID - what ID for ALL articles??
The id is not for which articel you want to search in - else it wouldn´t make any sence.. the id is the id of the search content - you have to make one
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

ID is kind a link to internal search form (this article/page is used to handle your search query).

The search itself searchs in all active articles and relevant content parts.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
art777
Posts: 34
Joined: Wed 12. Nov 2003, 03:07

Post by art777 »

Now I understand :D

and 2nd problem (bug?):

When I set "results: 5 per page" - page with search result display ALL articles (>5). Bug?
art777
Posts: 34
Joined: Wed 12. Nov 2003, 03:07

Post by art777 »

upsss... results with content part "text /w image" are looooong - in one line (eg < table >, < ul >) - layout is crash...
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

can you send me an screenshot or link to that page /result
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

count results does not work at the moment ;-)
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply