OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Can't delete invalid e-book link (0 viewing) 

BookLibary Component Support

Go to bottom Favoured: 0

Can't delete invalid e-book link

andriusb (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Can't delete invalid e-book link 1 Year, 11 Months ago
Karma: 0  
Hello.

I've added e-book by this scenario:
1. E-book is quite big, therefore I uploaded it via FTP.
2. When adding e-book I specified relative URL in e-book URL field, i.e. /tradicija/biblioteka/knygos/my-book.pdf
3. Saved book.

It appears that link is dead - after clicking it in front-end I'm presented with error "File not found or inaccessible!".
That's ok - I managed to create correct link by specifying absolute link to PDF.

But the problem is that I can't delete the first, incorrect link - I select checkbox "Delete e-book", but after saving book it remains and is not removed. Additionaly, it can be seen that absolute link remained unchanged, while relative link was somehow changed to "components/com_booklibrary/ebooks//tradicija/biblioteka/e-knygos/Kuraitis_Ontologija_t_1_1931.pdf"

From this path I can understand that manually uploaded e-books should be placed in "components/com_booklibrary/ebooks/" and then it should work, but I think nevertheless it should be possible to remove wrong e-book link from the list.

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:Can't delete invalid e-book link 1 Year, 11 Months ago
Karma: 102  
sorry, impossible fore cast how client may wish use our [ur=https://ordasoft.com/book-libraryl]Joomla books[/url] component

we have only 2 ways
1. You upload ebook as file, so, when you delete this, we can remove as record in DataBase connected to this book in Books website and remove self file with eBook
2. You upload ebook as link some like: booklibrary.org/hew-year-book.pdf, so, when you delete this, we can remove only record in DataBase connected to this book in Books website and we can't remove self file with eBook - because we think this another website.

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
andriusb (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Re:Can't delete invalid e-book link 1 Year, 11 Months ago
Karma: 0  
I guess removing only record in DB would do at the very least.
If link is "dead" (which is possible to check, at least local link) there is no sense to keep it.
And in any case, if "Delete e-book" does nothing, what's the purpose of it?
On my part I deleted in manually in DB, but doing it directly while editing book is more logical.
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:Can't delete invalid e-book link 1 Year, 11 Months ago
Karma: 102  
Please check now

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