Hello Enrique,
First of all save backup all files what you will change.
Next this variant if you agree lost field "Edition"
1. Go to {yours site}/component/com_booklibrary/language/english.php
please change:
Code: |
DEFINE('_BOOKLIBRARY_LABEL_EDITION', 'Edition');
|
to
Code: |
DEFINE('_BOOKLIBRARY_LABEL_EDITION', 'Share by');
|
2. Go to {yours site}/component/com_booklibrary/booklibrary.php
find function "save_book_fe"
please change:
Code: |
//remove escaped slashes
if(get_magic_quotes_gpc()) {
$book->title = stripslashes($book->title);
}
|
to
Code: |
//remove escaped slashes
if(get_magic_quotes_gpc()) {
$book->title = stripslashes($book->title);
}
$book->edition = $my->username;
$book->published = 1 ;
|
3. Go to {yours site}/administrator/component/com_booklibrary/admin.booklibrary.php
find function "saveBook"
please change:
Code: |
//remove escaped slashes
if(get_magic_quotes_gpc()) {
$book->title = stripslashes($book->title);
}
|
to
Code: |
//remove escaped slashes
if(get_magic_quotes_gpc()) {
$book->title = stripslashes($book->title);
}
$book->edition = $my->username;
$book->published = 1 ;
|
And all what you asked for you must start work
For more fine implementation, please order custom version through this site "Contact form"
Thanks,
OrdaSoft team