Part at what page reads the categories name

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-12-2009, 05:32 PM
New Pligger
 
Join Date: Nov 2008
Posts: 28
In what page and what section, Pligg read the categories name to output them to the page, because I want to precent-encode them prior to their output. Right now, if I write the category URL in different language other then English, I get the same letters un-encoded.


Can you please tell me where I can find the right place in code that is responsible for the category read.

Best Regards,

Idan.
Reply With Quote
  #2 (permalink)  
Old 10-12-2009, 07:18 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
1. What language are you trying to use? Could you provide an example category name?
2. You might want to try editing /languages/translit.txt which is used to automatically convert UTF characters into Latin ones. If there are characters in there that you don't want it to convert, just remove the lines you don't like. We suggest that you don't do this though, translit.txt is used to make Pligg more compatible with a broader range of servers.
3. I'm not sure if we added this in version 1.0.1 or after, but you should be able to manually edit the URL from the Admin > Manage > Categories page. There is a "Category URL" field where you can enter in custom URLs, and this input should not be sanitized by anything.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
Reply

Tags
category, code, encoding, read

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Variables Yankidank Wiki Articles 3 05-19-2011 09:21 AM
How to display multiple categories in index page thequestionboy Questions and Comments 5 07-22-2009 02:34 AM
Pligg Categories Yankidank Wiki Articles 1 12-17-2008 11:10 AM
Pligg Categories on top of the page with drop downs! arkasun Questions and Comments 2 10-19-2008 11:26 AM
Categories on EVERY page ewallach Questions and Comments 5 02-23-2007 03:48 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development