OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
direct link via menu to "add book" directly (0 viewing) 

BookLibary Component Support

Go to bottom Favoured: 0

Direct link via menu to "add book" directly

decrea (Visitor)
Posts: 0
graphgraph
User Offline
direct link via menu to "add book" directly 13 Years, 9 Months ago
Karma: 0  
Hi,
is there a way to add a direct link via the main menu to add a book directly?

beacause i really need that

greetz
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8280
graph
User Offline Click here to see the profile of this user
Re:direct link via menu to "add book" directly 13 Years, 9 Months ago
Karma: 101  
Hi,

For BookLibrary you may try some thing like that URL:

Code:

{yourshost}index.php?option=com_booklibrary&Itemid=0&catid=162&task=add_book_fe

where
Itemid and catid take from yours site booklibrary URL also catid define default category for add book

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
decrea (Visitor)
Posts: 0
graphgraph
User Offline
Re:direct link via menu to "add book" directly 13 Years, 9 Months ago
Karma: 0  
thank you very much , that link works .

the only thing you can't choose is the category.
Is there also a way to fix that ?

thanx
Logged Logged
Last Edit: 2010/10/11 09:53 By .
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8280
graph
User Offline Click here to see the profile of this user
Re:direct link via menu to "add book" directly 13 Years, 9 Months ago
Karma: 101  
Hello,

That was do special for you possibility set through BookLibrary setting - exactly category where to you USERs will can add books

For change that you need go to booklibrary.php find function "add_book_fe" and change below code

Code:

$clist = mosHTML :: selectList($categories, 'catid', 'class="inputbox" size="1" disabled="disabled"', 'value', 'text',$catid);


to
Code:

$clist = mosHTML :: selectList($categories, 'catid', 'class="inputbox" size="1" ', 'value', 'text',$catid);


Thanks,
Odesk team
Logged Logged
The administrator has disabled public write access.
MiD-AwE (Visitor)
Posts: 0
graphgraph
User Offline
Re:direct link via menu to "add book" directly 13 Years, 6 Months ago
Karma: 0  
I cannot make the link work.

index.php?option=com_booklibrary&Itemid=0&catid=162&task=add_book_fe

* And I cannot find any "add_book_fe" in booklibrary.php.

What must I do? Please help.
Logged Logged
The administrator has disabled public write access.
decrea (Visitor)
Posts: 0
graphgraph
User Offline
Re:direct link via menu to "add book" directly 13 Years, 6 Months ago
Karma: 0  
hi ,

first of all you tried the link :www.yoururl.com/index.php?option=com_boo...amp;task=add_book_fe

is that correct?

second open the file booklibrary.php

and go to line 359 in booklibrary.php.

change this line : $clist = mosHTML :: selectList($categories, 'catid', 'class="inputbox" size="1" disabled="disabled"', 'value', 'text',$catid);

to this :

$clist = mosHTML :: selectList($categories, 'catid', 'class="inputbox" size="1" ', 'value', 'text',$catid);

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