Inability to enter urdu digits in year and page

Started by mrizwan, 19 June 2011, 06:50:43

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

The file <your_site>/components/com_abook/views/book/tmpl/default.php shows the book on the front-end side, after the modify you are able to show both pag and year urdu numbers.

Send me the url where you want show the urdu number.
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

mrizwan

Thanks for the reply. Here is the link. The page number and year are displayed in english. The books not showing the page number and year of publication are those in which i have written  urdu numbers

http://nubuwat.org/qadianis/

federica

Hello mrizwan,
what extension are you using in this link? Plugin, component or module? I have difficulty understanding urdu language :-) Are you using the plugin?
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

mrizwan

Thanks. I solved the problem by installing the joomla plugin gNumber.

On the page i am using loadbook plugin.

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

ok, but if you want show urdu number without gNumber plugin you have to make the follow changes.

<your_site>/plugins/content/abook_loadbook.php
row 212
from
if ($book->pag!=0){
to
if ($book->pag!=""){

row 230
from
if ($book->year!=0){
to
if ($book->year!=""){
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

mrizwan

It is now working. Thanks for all of the help. I appreciate it