Viewing 15 posts - 1 through 15 (of 38 total)
  • Author
    Posts
  • nagata Friend
    #913356

    Hello,
    I just started using "JA Magz II".

    Under the Menu Item Type "Category Blog", all the leading text in Japanese characters are not displayed.

    • Japanese titles: displayed correctly
    • Leading text in Japanese characters: nothing displayed
    • Leading text in roman characters: displayed correctly
    • Main text in Japanese characters: displayed correctly

    Do you have any idea how I can solve the issue?

    Thank you

    Ichiro Nagata

    Ninja Lead Moderator
    #917321

    Hi,

    If possible, send me the URL & admin login info via your reply and SET IT AS PRIVATE reply so I will check for you.

    Regards

    nagata Friend
    #917868
    This reply has been marked as private.
    Ninja Lead Moderator
    #918214

    Try to apply my solution with the problem on your site.

    Open templates/ja_magz_ii/html/com_content/category/blog_item.php file

    find and change

    <?php 
        $this->item->introtext = substr(strip_tags($this->item->introtext), 0, 200);
        $this->item->introtext = substr($this->item->introtext, 0, strrpos($this->item->introtext, ' ')) . " ...";
        echo $this->item->introtext;
    ?>

    to

    <?php 
        $this->item->introtext = substr(strip_tags($this->item->introtext), 0, 200);
        $this->item->introtext = substr(strip_tags($this->item->introtext), 0, strrpos(strip_tags($this->item->introtext), ' ')) . " ...";
        echo $this->item->introtext;
    ?>
    nagata Friend
    #918254

    Thank you very much for the prompt reply.
    Unfortunately it did not help.

    • PHP changed accordingly.
    • Cash deleted
    • Menu, Categories, Articles reloaded.
      Still the same.
      For me it is a very serious issue.
      If this problem won’t be solved or it takes a long time to solve I have no choice, but change the template.
      I wonder if this is a Japanese specific issue or CJK-languages?
      Best regards,
      Ichiro Nagata
    Ninja Lead Moderator
    #918276

    Kindly give me a screenshot and the description on that. It would help to understand the problem on your site.

    nagata Friend
    #918293

    Thank you.
    Here is a screenshot of the corresponding page, but all other pages look same when it is configured;
    Menu Item Type: Category Blog (configuration as defalut), Text in Japanese characters
    enter link description here

    Other URL: please see that I sent you yesterday.

    Best regards,
    Ichiro Nagata


    1. screenshot-www.euro-japan.net_
    nagata Friend
    #919207

    Hello,
    I’d like to send you two more screenshots which I set based on Purity III and T3 Blank.
    On both templates Japanese are displayed correctly.
    It does not work only with ja_magz_ii.
    Furthermore, Fonts (Roman and Japanese) which I chose are not reflected with ja_magz_ii.
    These fonts are correctly reflected on Purity and T3 Blank.
    I hope you can help me soon.
    Best regards,
    Ichiro Nagata


    1. t3blank
    2. purity
    Ninja Lead Moderator
    #919650

    I got this bug on your site, please send me FTP account of your hosting via your reply and set as private reply. I will help you to check this directly on your site.

    nagata Friend
    #919697

    Hello again,
    sorry to rush you, but is it worth to wait for your answer (solution) ?
    Even if yon can’t give me a solution right away I will be a bit relieved to hear from you, if you are working for it or not.
    For your information: I installed the quickstart-template.
    Thank you
    Best regards,
    Ichiro Nagata

    nagata Friend
    #920038
    This reply has been marked as private.
    nagata Friend
    #920041

    P.S.
    I forgot to give you the related URL (Blog Category page) as the screenshots which were sent.

    http://www.euro-japan.net/index.php/jp/travel-jp

    Thank you
    Ichiro Nagata

    Ninja Lead Moderator
    #920940

    I fixed the problem directly on your site with solution below

    Open templates/ja_magz_ii/html/com_content/category/blog_item.php file
    find and change

    <?php 
        $this->item->introtext = substr(strip_tags($this->item->introtext), 0, 200);
        $this->item->introtext = substr(strip_tags($this->item->introtext), 0, strrpos(strip_tags($this->item->introtext), ' ')) . " ...";
        echo $this->item->introtext;
    ?>

    to

    <?php 
        $this->item->introtext = substr(strip_tags($this->item->introtext), 0, 200);
        // $this->item->introtext = substr($this->item->introtext, 0, strrpos($this->item->introtext, ' ')) . " ...";
        echo $this->item->introtext." ...";
    ?>

    Now, you can see it’s working as well on your site


    1. Screen-Shot-2016-04-21-at-17.59.39
    nagata Friend
    #921028

    Hello Mr. Lead,
    Very happy and appreciated for your great work and effort.
    I thank you very much.
    Best regards,
    Ichiro Nagata

    nagata Friend
    #921100

    Hello again,
    Maybe I’ve been too early pleased.
    Now "category colour" does not work any more.
    As I set colours with logos according your documentation two weeks ago all colours worked perfect.
    Did this change affect in some ways or did I do something wrong since?
    I have no idea. Folder: imagesjoomlart and category colour setting must be OK.
    I don’t know where should be checked otherwise.
    Following pages should have background colours:
    http://www.euro-japan.net/index.php/jp/life-jp/colour-test
    http://www.euro-japan.net/index.php/jp/life-jp/business
    http://www.euro-japan.net/index.php/jp/life-jp/berlin
    Could you please give me some tips?
    Thank you.
    Ichiro Nagata

Viewing 15 posts - 1 through 15 (of 38 total)

This topic contains 37 replies, has 2 voices, and was last updated by  nagata 8 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum