Announcement
Collapse
No announcement yet.
Need Categories Help
Collapse
X
-
So what exactly did you try, and what was the result? Can you post a link to your non working attempt and the configuration settings used.
-
Originally posted by wrensoft View PostBut if you were on the home page of your site, and not in a folder, which book is "this" book?
Originally posted by wrensoft View PostIgnoring this point, I woud suggest creating a category per folder using the folder name as the pattern. Then in each folder create a different custom search form with just the options you want in the category list.
Originally posted by wrensoft View PostZoom won't tell you how many times words appears on a page, nor in a category. What it will do is return a list of pages / documents that contain the word in question ranked by relevancy.
So, I'm still lost, and can't get this to work...
Leave a comment:
-
So what it really comes down to is that the option to "Search this book only" would mean to return results only from the folder of that book you are in...
Ignoring this point, I woud suggest creating a category per folder using the folder name as the pattern. Then in each folder create a different custom search form with just the options you want in the category list.
I wanted to know how many times the word "Farmer" appears in book 05 I'd select the option to "search this book only". It would return results from all of the fifteen "Chapter" files inside only the book05 folder.
Leave a comment:
-
Originally posted by wrensoft View PostHow do you define "this" book?
If you were on the home page of your site which book is "this" book?
The homepage of the site is a large "table of contents" where the chapters for all ten books are hotlinked. The visitor could scan through the list to go directly to any chapter within those ten books, but there are also links that only go to an index page for each book individually. For example:
HOMEPAGE:
==========================
book 01 | book 02 | book 03 | (etc...etc...)
::Table of Contents::
Book 01
Chapter 01
Chapter 02
Chapter 03
Book 02
Chapter 01
Chapter 02
Chapter 03
Book 03
Chapter 01
Chapter 02
Chapter 03
(etc...etc...)
==========================
Clicking on any link for "Book x" will take you to another "table of contents" page but only that book. Clicking on any of the "Chapter" links will take the visitor to the chapter which of course is the main text. For example:
BOOK PAGE:
==========================
book 01 | book 02 | book 03 | (etc...etc...)
::Contents of Book X::
Chapter 01
description
Chapter 02
description
Chapter 03
description
(etc...etc...)
==========================
Each "Book" is confined to its own directory. All of the "Chapters" for book 01 are in a folder named "book01"; all of the chapters for book 02 are in a folder named "book02", etc...
What I wish to do is to have a search form which provides only two options (1) search this book only and (2) search all books.
What is "this" book? Well, each "Book" is a folder with all the "Chapters" inside of it. So what it really comes down to is that the option to "Search this book only" would mean to return results only from the folder of that book you are in, while the option to "Search all books" would mean to return results that come from all of the ten "Book" folders together.
If I was, say, reading a chapter in book 05 and all of a sudden I wanted to know how many times the word "Farmer" appears in book 05 I'd select the option to "search this book only". It would return results from all of the fifteen "Chapter" files inside only the book05 folder. But if I then wanted to see how many times the word "Farmer" appeared in all of the ten books then I'd select the option to "search all books" and it would return results that were gathered from every "Chapter" file from all of the book folders.
Hopefully that helps.
Leave a comment:
-
How do you define "this" book?
If you were on the home page of your site which book is "this" book?
Leave a comment:
-
Need Categories Help
Greetings all.
I'm having trouble figuring out how to make Categories in the way in which I require them. Here is the scenario:
My website has 10 books. Each book has its own directory. (ie. mysite.com/book01/ch01.php, and /book01/ch02.php, etc... etc...) I want to have two category options, the first to be "search this book only", and the second to be "search all books".
Although having read the Zoom v6 User Guide several times, and experimenting with the configurations I still cannot figure out how to get this to work just right. The final search form I desire to have is only a search field, a button, and one radio button for each of the two category options, without any drop-down lists - not even for a "results per page".
Any help, guidance, suggestions, etc...would be greatly appreciated.
Thanks in advance!
~Eric~Tags: None
Leave a comment: