Hello, in order to finish my site i need to resolve two issues. Please note that I have searched the forums, Wiki, and even went back through the last 100 threads in this forum trying to find answers first. I would really appreciate some help.
1. Pages/Categories/Display order.
Most of my categories in the "pages" have many sub categories. I'd like to have the category display page list each sub category separately, if the user has permission to see it, and in alphabetical order rather than by submission date. I've tried to look at Smarty documentation to figure out how to do it myself, but frankly... I don't recognize what is on Smarty's website as being the same thing zikula uses. I'm not a programmer... so it's beyond me I guess. If someone could point me to a Smarty as used in zikula documentation site, that would be great. I'd love to figure out how to do these things myself.
2. Japanese language support. Resolved
In some modules, Japanese characters will be recoded as a number for database entry, and then show up when parsed in HTML. In other modules, ????s appear instead of the words. I looked at the databases and noticed that they are all latin1-swedish and figured that might be the problem so i changed some to unicode instead, but it didn't resolve the issue in those modules. Specifically Dizukus. Anything in Japanese shows up as question marks. Any ideas on how to resolve this? (this issue is much less important than the first).
Please help!
edited by: imitateart, Sep 07, 2009 - 06:51 PM
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Help with "pages_user_view.htm" and JIS language support.
-
- Rank: Registered User
- Registered: Sep 07, 2009
- Last visit: Sep 08, 2009
- Posts: 5
-
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
imitateart
Most of my categories in the "pages" have many sub categories. I'd like to have the category display page list each sub category separately, if the user has permission to see it, and in alphabetical order rather than by submission date. I've tried to look at Smarty documentation to figure out how to do it myself, but frankly... I don't recognize what is on Smarty's website as being the same thing zikula uses. I'm not a programmer... so it's beyond me I guess. If someone could point me to a Smarty as used in zikula documentation site, that would be great. I'd love to figure out how to do these things myself.
The difference between Smarty & pnRender is primarily the code used to identify the tags is HTML Comment tags for pnRender, and {} for Smarty itself.
What you're going to need to do is look at how the template for the function that does what you want to do, and replicate that for the primary template.
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Registered User
- Registered: Sep 07, 2009
- Last visit: Sep 08, 2009
- Posts: 5
Thanks for the tip. I'll try and figure it out, but I think it'll take a while so if someone has the time to tell me what to put into the template page, that would be much appreciated. -
- Rank: Softmore
- Registered: Aug 12, 2003
- Last visit: Mar 08, 2010
- Posts: 111
imitateart
In some modules, Japanese characters will be recoded as a number for database entry, and then show up when parsed in HTML. In other modules, ????s appear instead of the words. I looked at the databases and noticed that they are all latin1-swedish and figured that might be the problem so i changed some to unicode instead, but it didn't resolve the issue in those modules. Specifically Dizukus. Anything in Japanese shows up as question marks. Any ideas on how to resolve this? (this issue is much less important than the first).
You need to change everything (connection to the DB, DB itself, all tables and content) to UTF-8. If you can afford it, try the upgrade to 1.2.0 on a separate instance, it includes a script to convert the database.
BTW, if you have Japanese language files or handle Japanese, that language is looking for translators...
--
And out of the chaos sounded a voice and spoke: "Be happy and smile, for it could have come worse."
And I was happy and smiled - and it came worse... -
- Rank: Registered User
- Registered: Sep 07, 2009
- Last visit: Sep 08, 2009
- Posts: 5
Awesome dl7und. I'll try that tomorrow and if I have time I'll help with the translation project as well.
still hoping for a fix for the pages module '-'
- Moderated by:
- Support
