OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

BookLibary Component Support

Go to bottom Favoured: 4

Edit my book form

ketan (Visitor)
Posts: 0
graphgraph
User Offline
Re:edit my book form 11 Years, 1 Month ago
Karma: 0  
Thanku very much....
Logged Logged
The administrator has disabled public write access.
ketan (Visitor)
Posts: 0
graphgraph
User Offline
Re:edit my book form 11 Years, 1 Month ago
Karma: 0  
Hello,

I want to remove highlighted field of the form.
help me. plz look attached image.

only view Lent from: and Book return date:
Logged Logged
Last Edit: 2013/10/11 10:54 By .
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8366
graph
User Offline Click here to see the profile of this user
Re:edit my book form 11 Years, 1 Month ago
Karma: 102  
Hello,

In file:
{site}/components/com_booklibrary/booklibrary.html.php

you need find function:

displayBooks

There are you need edit code
Code:

function lend_request_submitbutton() {
var form = document.userForm;
if (form.user_name.value == "") {
alert( "<?php echo _BOOKLIBRARY_INFOTEXT_JS_LEND_REQ_NAME; ?>" );
} else if (form.user_email.value == "" || !isValidEmail(form.user_email.value)) {
alert( "<?php echo _BOOKLIBRARY_INFOTEXT_JS_LEND_REQ_EMAIL;?>" );
} else if (form.user_mailing == "") {       
alert( "<?php echo _BOOKLIBRARY_INFOTEXT_JS_LEND_REQ_MAILING;?>" );
} else if ((form.lend_until.value == "") || (form.lend_until.value < form.lend_from.value)) {  
alert( "<?php echo _BOOKLIBRARY_INFOTEXT_JS_LEND_REQ_UNTIL;?>" );
} else {
form.submit();
}
}



to some like:
Code:

function lend_request_submitbutton() {
var form = document.userForm;

form.submit();
}




and in this function you will need find form "userForm" and edit it

May be yet some thing, I not know how you will use that

Thnaks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
ketan (Visitor)
Posts: 0
graphgraph
User Offline
Re:edit my book form 11 Years, 1 Month ago
Karma: 0  
Hi,

I am changing the text of my front page Category text change to Our Favorite Books . what i do ..?
i m change text in english.php file but does't change in front page.
plz help its urgent. look attach image.


Thanks
Logged Logged
The administrator has disabled public write access.
ketan (Visitor)
Posts: 0
graphgraph
User Offline
Re:edit my book form 11 Years, 1 Month ago
Karma: 0  
plz reply urgent ......
Logged Logged
The administrator has disabled public write access.
ketan (Visitor)
Posts: 0
graphgraph
User Offline
Re:edit my book form 11 Years, 1 Month ago
Karma: 0  
Hi,
Please solution of my problem give me reply fast......i m tired.
Logged Logged
The administrator has disabled public write access.
Go to top
»