OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
BookLibary Component Support
Go to bottom Favoured: 0
TOPIC: Language dropdown menu
#3215
prefalch (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Language dropdown menu 4 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.
#3218
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Language dropdown menu 4 Years, 11 Months ago Karma: 61  
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.
#3219
prefalch (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Language dropdown menu 4 Years, 11 Months ago Karma: 0  
Thanks a lot
 
Logged Logged  
  The administrator has disabled public write access.
#3220
prefalch (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Language dropdown menu 4 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.
#3221
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Language dropdown menu 4 Years, 11 Months ago Karma: 61  
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.
#3222
prefalch (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Language dropdown menu 4 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
What are you looking for?
Anti-spam question: How many eyes has a typical person?