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

BookLibary Component Support

Go to bottom Favoured: 0

Language dropdown menu

prefalch (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Language dropdown menu 12 Years, 11 Months ago
Karma: 0  
Is it posible to ad danish to language in backend/books.

We have most danish laungauge books in our libery
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:Language dropdown menu 12 Years, 11 Months ago
Karma: 102  
Hello,

Possible

For that you need in file:
{yours site}/components/com_booklibrary/language/english.php
find row like:
DEFINE('_BOOKLIBRARY_LANGUAGE_RUS', 'Russian';
and below it add row like
DEFINE('_BOOKLIBRARY_LANGUAGE_DAN', 'Danish';

in file;
{yours site}/administrator/components/com_booklibrary/admin.booklibrary.class.others.php

find row like:
array_push($retVal, array("Russian", _BOOKLIBRARY_LANGUAGE_RUS));
and below it add row like
array_push($retVal, array("Danish", _BOOKLIBRARY_LANGUAGE_DAN));

Thanks,
Ordasoft team
Logged Logged
The administrator has disabled public write access.
prefalch (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Language dropdown menu 12 Years, 11 Months ago
Karma: 0  
Thanks a lot
Logged Logged
The administrator has disabled public write access.
prefalch (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Language dropdown menu 12 Years, 11 Months ago
Karma: 0  
but it dont woork, I get this error:


Parse error: syntax error, unexpected T_STRING in /home/www/test0.dk/components/com_booklibrary/language/danish.php on line 184
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:Language dropdown menu 12 Years, 11 Months ago
Karma: 102  
Please check yours file danish.php on line 184

Row what you added must be full like as row before !!!
Please check all quota and ; - signs

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
prefalch (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Language dropdown menu 12 Years, 11 Months ago
Karma: 0  
Yes, I forgot an ), so now it works

Thanks for the quick help
Logged Logged
The administrator has disabled public write access.
Go to top
»