Jump to content

Photo

[TODAYS TUTORIAL] Fixing SE5 Statistics Widget


  • Please log in to reply
1 reply to this topic

#1 Les

Les

    Blue Team Lima 1

  • Moderators
  • Level
  • 5,105 points
  • 3,414 posts
    • Gender:Male
    • Location:Westland, Michigan U.S.A.
    • Software:SE 4.8.x


Users Awards

Posted 07 April 2020 - 01:36 PM

Hello Everyone,

    As usual, you probably noticed that when you start adding modules or plugins, your statistics widget goes haywire and only displays a letter or something... Well, let us fix their **** again. This problem should have been caught in their QC Department but didn't! It is a good thing that we exist, huh? The whole issue is because of a double entry. This has been going on for years! I have been around awhile! LOL

 

Go to your core statistics widget and open folder that contains [2] files. Open the index.tpl file. This file in located in /application/modules/Core/widgets/statistics/

 

The fifth line up from bottom you will find this: 

        <div><?php echo $this->translate(array($key, $key, $value)) ?></div>

Remove one of the "$key, " so that it looks like this: 

        <div><?php echo $this->translate(array($key, $value)) ?></div>

"Save" the file and return back to your frontend of website. Refresh the page and your Statistics Widget should work properly! Cheers!


:emo: Please don't forget to  27-AwardsImgIcon.png "LIKE" if you like this post or if it is helpful to you. This is a way to show gratitude for the help that you received. After all, the "LIKE" costs you nothing. Don't you agree? Also, any and all modules, plug-ins, themes, widgets, or DB entries that are shared or posted by me are for educational purposes. Please visit the developers websites and purchase legitimately, if you like them. Thanks, Les

socialengine-experts.png

 

 


#2 Kronos

Kronos

    Level 4

  • Members
  • Level
  • 18 points
  • 124 posts
    • Gender:Not Telling
    • Software:SE 4.8.x

Posted 08 April 2020 - 02:59 PM

Nice thanks!! I did notice it going crazy






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


All the resources listed here are just for testing purpose and they shouldn't be used at any commercial environment without a valid license.
Those are for users who wants to try them before buy. Help the developer to build it better by purchasing them from original authors.