OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to change data in the table list of books ? (0 viewing) 

BookLibary Component Support

Go to bottom Favoured: 0

How to change data in the table list of books ?

Vincent (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
How to change data in the table list of books ? 12 Years, 3 Months ago
Karma: 0  
About booklibrary for Joomla
In the table with the list of books, i prefer to show in order on each line :
Book’s cover – Book’s title – Publication date

So, in the file “booklibrary.html.php”, I changed “authors” by “release_Date”, but the date doesn’t appear (the author’s name has disappeared).
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8348
graph
User Offline Click here to see the profile of this user
Re:How to change data in the table list of books ? 12 Years, 3 Months ago
Karma: 102  
Hello,

I am sorry, I nut full understand what you mean.

Below small customization manual to ours component:

First of all, You may do that self, or you may hire us for that.
ours component have Open source,

it have two parts admin and frontend.

in admin you will see two files:
{yours
site}/administrator/components/com_booklibrary/admin.booklibrary.html.php
site}/administrator/components/com_booklibrary/admin.booklibrary.php


admin.booklibrary.html.php - responsible for show data
admin.booklibrary.php - responsible for prepare data

exactly for frontend
{yours site}/components/com_booklibrary/booklibrary.html.php
site}/components/com_booklibrary/booklibrary.php

booklibrary.html.php - responsible for show data
booklibrary.php - responsible for prepare data

Also all fields what you leave empty - will not show at frontend

All connection between what user press in Browser - do wit help TASK variable.

also if you wish all Joomla class methods work. E.g when you create new Book
with help
mosbooklibrary class. you need also edit file
site}/components/com_booklibrary/booklibrary.class.php

and add to class definition all new fields what you added to database

If you give full details what exactly you wish, we will self create that for
you.

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Vincent (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:How to change data in the table list of books ? 12 Years, 3 Months ago
Karma: 0  
here there are 2 printscreans.
The first one = what i see on the screen from the website (frontend) and the second is the php file
Thanks for your help.

First one:

Logged Logged
The administrator has disabled public write access.
Vincent (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:How to change data in the table list of books ? 12 Years, 3 Months ago
Karma: 0  
second print screan:

Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8348
graph
User Offline Click here to see the profile of this user
Re:How to change data in the table list of books ? 12 Years, 3 Months ago
Karma: 102  
hello

Please in file
{yours file}/components/com_booklibrary/booklibrary.php

find function showCategory

there are find row:
Code:

SELECT id, isbn, authors, rating, title, catid, fk_lendid, date, hits, URL,imageURL FROM #__booklibrary



and replace that to some like below:
Code:

SELECT id, isbn, release_Date, authors, rating, title, catid, fk_lendid, date, hits, URL,imageURL FROM #__booklibrary


and also as on yours last image you need replace "author" to "release_Date"

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Vincent (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:How to change data in the table list of books ? 12 Years, 2 Months ago
Karma: 0  
Thanks a lot.
It works very well !

Logged Logged
The administrator has disabled public write access.
Go to top
»