OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to hide some element in the book presentation (0 viewing) 
BookLibary Component Support
Go to bottom Favoured: 0
TOPIC: How to hide some element in the book presentation
gilfio83 (Visitor)
Posts: 0
graphgraph
User Offline
How to hide some element in the book presentation 9 Years, 1 Month ago
Karma: 0  
I want to hide the book ID, the ISBN, the number of page and the button to lend a book please.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 7430
graph
User Offline Click here to see the profile of this user
Re:How to hide some element in the book presentation 9 Years, 1 Month ago
Karma: 90  
Hello,

First of all any field what you leave empty - will not show at frontend

Please open file booklibrary.htpml.php and in it find function "displaybook"

Please find in it all "book ID, the ISBN, the number of page" and comment that.

But first please backup that file.

"button to lend" - you may hide with help Booklibrary settings

Thanks,
Ordasoft team
Logged Logged
The administrator has disabled public write access.
gilfio83 (Visitor)
Posts: 0
graphgraph
User Offline
Re:How to hide some element in the book presentation 9 Years, 1 Month ago
Karma: 0  
admin wrote:
Hello,

First of all any field what you leave empty - will not show at frontend

Please open file booklibrary.htpml.php and in it find function "displaybook"

Please find in it all "book ID, the ISBN, the number of page" and comment that.

But first please backup that file.

"button to lend" - you may hide with help Booklibrary settings

Thanks,
Ordasoft team

Hello, Ifind the langage, but not the ID, the ISBN and the number of page
I can't disable the lending button
Cant you help me more please ?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 7430
graph
User Offline Click here to see the profile of this user
Re:How to hide some element in the book presentation 9 Years, 1 Month ago
Karma: 90  
Hello,

Do you checked file
{yours site}/components/com_booklibrary/booklibrary.html.php

and function "displaybook" ?

For remove "book ID", find and remove below code:
Code:

<tr>
<td nowrap="nowrap" width="20%" align="right">       
<strong><?php echo _BOOKLIBRARY_LABEL_BOOKID; ?>:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong>
</td>
<td>
<?php echo $book->bookid; ?>
</td>
</tr>



For remove "ISBN", find and remove below code:
Code:

<tr>
<td nowrap="nowrap" align="right">
<strong><?php echo _BOOKLIBRARY_LABEL_ISBN; ?>:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong>
</td>
<td>
<?php echo $book->isbn; ?>
</td>
</tr>




For remove "number of page", find and remove below code:
<tr>
<td nowrap="nowrap" align="right">
<strong><?php echo _BOOKLIBRARY_LABEL_NUMPAGES; ?>:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong>
</td>
<td>
<?php echo $book->numberOfPages; ?>
</td>
</tr>



For Hide Rent Request button, you need check BookLibrary Setting "Allow Lend Requests:" , but in yours version - that will only check who has permission for lend request, for hide that you will need download from ours site last version book librrary and upgrade on yours site below file.
{yours site}/components/com_booklibrary/booklibrary.html.php

But first please back up it

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