Home | Products | Consulting | Hosting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
Admin templates and encoding problem

 

 


maksim
User

Nov 3, 2006, 10:23 AM

Post #1 of 5 (485 views)
Shortcut
Admin templates and encoding problem Can't Post

Hi

I'm trying to create couple of placeholders that I will use throughout my website but every time I enter non-english letters and save the placeholder, the non-english letters change to @#$@#%@ etc. I need to know how I can change the encoding of the admin templates.....which template in the cgi-bin/template folder should I change and where should I place the meta tag?

txn


Theo
Project Manager / Moderator


Nov 3, 2006, 10:46 AM

Post #2 of 5 (482 views)
Shortcut
Re: [maksim] Admin templates and encoding problem [In reply to] Can't Post

Hey, Maksim, thanks for posting.

The header of the interface is generated by templates/admin/menus/_wrapper.html, so you should be able to add your tags there - that will affect the whole interface.

Note that when you make interface changes, you might want to log them somewhere in case you ever need to overwrite that file in the future when upgrading. Also, we may ask you to revert to the default templates if we're trying to track down a support issue.

Hope that helps, let us know if you need any further assistance! :)


Theo Wiersma
Project Manager


maksim
User

Nov 3, 2006, 3:46 PM

Post #3 of 5 (476 views)
Shortcut
Re: [Theo] Admin templates and encoding problem [In reply to] Can't Post

Hi Theo

When I change default charset encoding (line 46 in _wrapper.html) I get this error:





Only one top level element is allowed in an XML document. Error processing resource 'http://www.maksimalno.com/cgi-bin/artm...

<table border="0" cellspacing="0" cellpadding="0" width="100%">-^



What could be the problem. I tried different ways of inserting my encoding (windows-1250) but it never works. I tried both meta tag and the method above and no luck.

To clarify. I do not want to "translate" the interface I just want to have properly displayed text on my website when I use placeholders. If I enter non-english letter in the my.placeholder field after saving it, it automaticly reverses to some random caracters (example: instead æ - it shows %u0107). Just so you know all my templates are properly encoded and I do not have this problem with regular articles, just with custom placeholders.

Txn


(This post was edited by maksim on Nov 3, 2006, 6:07 PM)


maksim
User

Nov 3, 2006, 4:05 PM

Post #4 of 5 (473 views)
Shortcut
Re: [maksim] Admin templates and encoding problem [In reply to] Can't Post

One more thing relating to encoding problem.

When I try to run rss.xml file i get this error due to non-english character

An invalid character was found in text content. Error processing resource

Txn


Dave
Staff / Moderator


Nov 3, 2006, 6:09 PM

Post #5 of 5 (464 views)
Shortcut
Re: [maksim] Admin templates and encoding problem [In reply to] Can't Post

Sounds like you just need to set your encoding to the right value.

Can you attach the document that is being generated that gives you the XML error? That will allow us to get to the bottom of things much quicker.

Dave Edis - Senior Developer
interactivetools.com

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Hosting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4