 | |  | |
January 27th, 2006, 10:39 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 14
| Arabic language prob in admin cp
Hi,
I have a problem with the Arabic charachters in the admin cp page only when I click on edit categories and also after selecting a cetegory then editing it..
It shown for example as: السيارات instead of السيارات
there is no problem in viewing it in the main classifieds page..
Regards
|
| |
January 27th, 2006, 10:45 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,741
|
Hello well the main site loads a different character meta for arabic. Your admin is still operating on english right. This would inturn be the issue.
You can edit your adm-inc.php file to include the arabic character set Code: Content visible to verified customers only.
|
| |
January 27th, 2006, 10:57 AM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 14
|
Thank you for your fast reply, but I have done this allready which fixed showing my name in arabic..
another example, when I click on edit Ad types, I have changed them all to arabic and no problem..
This is why I mentioned I get the problem only when I click on the link edit categories..
Regards
|
| |
January 27th, 2006, 04:04 PM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 14
|
Hi,
sorry, any clues..
Regards
|
| |
January 27th, 2006, 04:07 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,741
|
Well our admin panel is not written for arabic language.
You might now show html in arabic but you are going to show in edit boxes what is stored in the mysql database directly which is more than likely what you see when you look at the input box. The html will show converted but not something that is pulled directly from the database.
|
| |
January 27th, 2006, 04:23 PM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 14
| Quote: |
Originally Posted by Ghanem another example, when I click on edit Ad types, I have changed them all to arabic and no problem.. | This is why I mentioned this in my prev reply..
if in the same file with this shortcut:
adm-misc.php?admact=adtypes send arabic characters and can read them..
why is it only when I click this link
adm-misc.php?admact=admcats&ppaction=cats to edit categories the problem accoures |
| |
January 27th, 2006, 05:49 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,741
|
Could be the routines we run on that variable to convert html that can exist in this variable which is a normal function of the program. Maybe your arabic does not like it.
You can try removing these lines from adm-misc.php other than that I do not know what else to say. Code: Content visible to verified customers only.
You can discuss any code modifications you wish in the modifications forums. However as a company we can not support any modification from our default code.
Last edited by Chuck S; January 27th, 2006 at 07:36 PM.
|
| |
January 27th, 2006, 06:41 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 14
|
Thank you very much, that have solved half the problem..
After I change to: Code: Content visible to verified customers only.
The part after I click the edit link is read correctly.
So what about the part before, which is when I click Edit Categories please..
screenshot attached for it.
|
| |
January 27th, 2006, 07:36 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,741
|
HMM possibly this in adm-inc.php Code: Content visible to verified customers only.
|
| |
January 28th, 2006, 05:37 AM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 14
| Quote: |
Originally Posted by Chuck S HMM possibly this in adm-inc.php | woundefull, working fine now
Thank you very much
Kind Regards
|
| |
May 27th, 2010, 02:10 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Aug 2005
Posts: 82
| Quote:
Originally Posted by Chuck S Hello well the main site loads a different character meta for arabic. Your admin is still operating on english right. This would inturn be the issue.
You can edit your adm-inc.php file to include the arabic character set Code: Content visible to verified customers only.
| hi i did not found this in my version so where can i found it
i can view arabic correct in the admin but when i edit it is not shown correct
|
| |
May 27th, 2010, 03:06 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,741
|
How about POST 8 |
| |
May 28th, 2010, 12:43 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Aug 2005
Posts: 82
|
hi in the adm-inc.php
i just remove the
$subcatname = htmlentities($subcatname);
$subcatdesc = htmlentities($subcatdesc);
but i did not found what is written in post 8 in my page !
|
| |
May 28th, 2010, 10:04 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,741
|
The file would be adm-cats.php as this is a very old discussion the file use to be adm-misc.php as the post states
|
| |
June 16th, 2010, 07:05 AM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Aug 2005
Posts: 82
|
thx a lot for u it's work fine now and this thread is a reference for arabic user so nice to update it
now every thing is shown great in the site accept the box of random and most recent photos at the left hand of the site so any file i should edit to fix that
this is the link and a photo is attached DA8C5873 - faisalq8photo
note that the problem appeare when i click on any of the links
Most Recent · Most Popular · Random
Last edited by majed; June 16th, 2010 at 07:16 AM.
|
| |
June 18th, 2010, 03:47 AM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Aug 2005
Posts: 82
|
any help for that
|
| |
June 18th, 2010, 09:15 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,741
|
well I think I would have to read up on the ajax because all that does is use ajax to load the new photos in the page your language encoding should be the same IMO.
|
| |
June 23rd, 2010, 01:32 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Aug 2005
Posts: 82
|
any solution for this Chuck ?
or i can stop the ajax in this time
|
| |
June 23rd, 2010, 04:28 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,741
|
You can alter the display_gallery function in pp-inc.php file to remove those ajax links if you wish.
Since the page header is not refreshed your meta encoding should still be fine to display arabic so I honestly cant guess why it would display like that.
|
| |
June 24th, 2010, 03:32 AM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Aug 2005
Posts: 82
|
aha can u plz tell me what to do exactly to stop it
i just remove the function form pp-inc but the page displayed without the photos just the sidebar
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 03:36 PM. | |