OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Hide Book Category in component header (0 viewing) 

BookLibary Component Support

Go to bottom Favoured: 0

Hide Book Category in component header

RobertFSeibel (Visitor)
Posts: 0
graphgraph
User Offline
Hide Book Category in component header 12 Years, 9 Months ago
Karma: 0  
Hello,

this is for Book Library Pro.
Maybe this is a joomla topic, Is there a way to hide the the first part of the component heading while display the book categories as it says: Book Kategorie:name of category in H1 style with every category displayed.(comparable to breadcrumbs) There are no subcategories.
see here:www.celibri.net/index.php?option=com_boo...tid=36&Itemid=30

thanks very much
Robert
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Hide Book Category in component header 12 Years, 9 Months ago
Karma: 101  
You need open file:
{yours host}/components/com_booklibrary/booklibrary.html.php

find function displayBooks

and in it remove or edit below code:
Code:

    <div class="componentheading<?php echo $params->get( 'pageclass_sfx' ); ?>">
      <?php echo $currentcat->header; ?>
    </div>
    <table border="0" cellpadding="4" cellspacing="0" width="100%">
      <tr>        
        <?php
        if($currentcat->img != null && $currentcat->align == 'left' && $params->get( 'show_cat_pic') ){
        ?>
        <td>
      <img src="<?php echo $currentcat->img; ?>" align="<?php echo $currentcat->align; ?>" alt="Ctegory image"/>
              </td>
            <?php
        }
        ?>
        <td width="100%">
          <?php echo $currentcat->descrip; ?>
        </td>
            <?php
          if($currentcat->img != null && $currentcat->align == 'right'){
        ?>
        <td>
                <img src="<?php echo $currentcat->img; ?>" align="<?php echo $currentcat->align; ?>" alt="?" />
              </td>
            <?php
        }
        ?>
          </tr>
       </table>



But first please back up file

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