Fork me on GitHub

Help with "pages_user_view.htm" and JIS language support.  Bottom

  • 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
  • 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
  • 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.
  • 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... icon_biggrin

    --
    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...
  • 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 '-'

This list is based on users active over the last 60 minutes.