OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Categories and counting books (0 viewing) 

BookLibary Component Support

Go to bottom Favoured: 0

Categories and counting books

Simon Lutz (Visitor)
Posts: 0
graphgraph
User Offline
Categories and counting books 14 Years, 2 Months ago
Karma: 0  
HI outhere,

i categorise into type of books and then writers. now on the first page there are categories and also subcategories shown. is it possible to hide the sub-categories ? if yes, how ?

as i assign books only to the sub-categories (the writers) there is always 0 shown at number of books at the parent-category. i want to have there the number of all books which are in the assigned sub-categories - is this possible? maybe you can show me how ?

link to my books to check out what i mean: www.liveundinfarbe.at/index.php?option=c...ibrary&Itemid=55

thx for that
kr Simon
Logged Logged
Last Edit: 2010/09/24 06:27 By .
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Categories and counting books 14 Years, 2 Months ago
Karma: 102  
Hi,

i categorise into type of books and then writers. now on the first page there are categories and also subcategories shown. is it possible to hide the sub-categories ? if yes, how ?
In backend setting you have option "Show subcategory" - please check that

i want to have there the number of all books which are in the assigned sub-categories - is this possible?
For that need do component reduild. You can ask custom version from "Contact form"


Thanks,
Ordasoft team
Logged Logged
The administrator has disabled public write access.
Simon Lutz (Visitor)
Posts: 0
graphgraph
User Offline
Re:Categories and counting books 14 Years, 2 Months ago
Karma: 0  
Hi,
sorry for the stupid question, i found now the subcategory-off.

is it possible to hide the number of books on frontpage ? - what to change on the booklibrary.html ?

thx,
kr simon
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Categories and counting books 14 Years, 2 Months ago
Karma: 102  
Hi,

In BookLibrary free you can hide books number:

File booklibrary.html.php function listCategories

Before any change please backup file

Below code show books count caption
Code:

      <td height="20" width="10%" class="sectiontableheader<?php echo $params->get( 'pageclass_sfx' ); ?>">
      <?php echo _BOOKLIBRARY_LABEL_BOOKS;?> 
      </td>       




function showInsertSubCategory

Below code responsible for show books number
Code:

 <td  align="left" width="10%">        
          <?php if ($cat_all[$i]->books == '') echo "0";else echo $cat_all[$i]->books;?>
        </td>



Thanks?
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»