marec33 wrote:
1. Is possible to search in subtemplate(second table), If yes what I have to do? For example I have table publications and table authors using index table with relationship n:m. The main table is publications. When I type author name in searchbox It can't find anything.
Not for a n:m relation because Autors can be related to more than one book.
The next version will have the possibility to choose the fields you want to search in.
Meanwhile you could add a field with the authors names to your table or generate a second Database with your authors.
marec33 wrote:
How to change formatting of output from subtemplate? For example In catalog-template I have this: "{joodb subtemplate|author1}{joodb subtemplate|author2} but on output it looks like:
Why "{joodb subtemplate|author1}{joodb subtemplate|author2}?
If you linked the second table correctly you need only on subtemplate. The template will be repeated for every author of the book.
The problem might be the comma. Maybe you can take a List for it.
<ul class="authors">{joodb subtemplate|AUTHORS}<ul>
Make sure that your editor does not change the code an you have only a <li>{joodb field:AUTORNAME}</li> into your subtemplate.
If you do like this you can make a inline-list with a separator using CSS.
#taglist {
display: inline;
list-style: none;
}
#taglist li {
display: inline;
list-style: none;
background: none;
padding: none;
}
#taglist li:after {
content: ", ";
}
#taglist li:last-child:after {
content: ""
}