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
TOPIC: direct link via menu to "add book" directly
#1194
decrea (Visitor)
Fresh Boarder
Posts: 4
graphgraph
User Offline
direct link via menu to "add book" directly 5 Years, 11 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.
#1195
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:direct link via menu to "add book" directly 5 Years, 11 Months ago Karma: 61  
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.
#1204
decrea (Visitor)
Fresh Boarder
Posts: 4
graphgraph
User Offline
Re:direct link via menu to "add book" directly 5 Years, 11 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.
#1206
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:direct link via menu to "add book" directly 5 Years, 11 Months ago Karma: 61  
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.
#1472
MiD-AwE (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:direct link via menu to "add book" directly 5 Years, 9 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.
#1473
decrea (Visitor)
Fresh Boarder
Posts: 4
graphgraph
User Offline
Re:direct link via menu to "add book" directly 5 Years, 9 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
What are you looking for?
Anti-spam question: How many eyes has a typical person?