Search Forums
Forums
Kiwitrees on Twitter
    Tags

    partner, Histo, 2.0.2, name, search, Export/Import, calendar.php issue, batch update, session, simpl_pages, language, xmas, styles, family fact, spouse, immigration, dropbox. token, resources, advanced, installation, googlemaps, googlemap, timeout, dead, merge, library, Themes change, updates, birth, backup, repo, shared notes, version, roadmap, tabs, flags, age, login, Administration, danish, latest version, design, 3.3.2, blocks, permissions, dates, margin, fatal error, php 5.6, prison, index, 7.1, Default record, error, theme, address, custom, tags, help, style

    Tagged: 

    Topic:   Statitstics  

    This topic contains 8 replies, has 2 voices, and was last updated by  jacoline 2 years, 7 months ago.

    Viewing 9 posts - 1 through 9 (of 9 total)
    • Author
      Posts
    • #4338

      jacoline
      Participant

      479 posts

      The graphic image for media objects is too small. (the frame for other)

      If I use all media “types” the static graphic can not contain all the types! It is a minor problem but not very pretty ๐Ÿ™‚

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      Attachments:
      #4364
      kiwi
      kiwi
      Keymaster

      1595 posts

      Hi

      Sorry, but I thought I had replied to this a few moments after you sent it yesterday. But now I don’t see my reply!! No idea what I did wrong (on my own web site too ๐Ÿ™ ), but I was on my mobile phone, so thats probably the mistake.

      Anyway, the answer is:

      Go to your theme’s ‘theme.php’ file and find these two entries (near the bottom):

      $WT_STATS_S_CHART_X=440;
      $WT_STATS_S_CHART_Y=125;

      Change them to:
      $WT_STATS_S_CHART_X = 550;
      $WT_STATS_S_CHART_Y = 200;

      I have now made this change in all the themes for the next release.

      Nigel
      My personal kiwitrees site is www.our-families.info
      #4365

      jacoline
      Participant

      479 posts

      Hi Nigel,
      And thank you ๐Ÿ™‚

      $WT_STATS_S_CHART_X=490;
      $WT_STATS_S_CHART_Y=175;

      Is enough! Otherwise it is very very large!

      Any need to be your suggested size?

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      #4367
      kiwi
      kiwi
      Keymaster

      1595 posts

      Any need to be your suggested size?

      Only that it makes all the texts a little easier to read.

      Nigel
      My personal kiwitrees site is www.our-families.info
      Attachments:
      #4370

      jacoline
      Participant

      479 posts

      Depending of the monitor I guess. It looks fine at my place: http://www.jaconelli.dk/webtrees/statistics.php?ged=Sl%C3%A6gtsdatabase

      So I suggest the smaller one – since it goes way to big imo ๐Ÿ™‚

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      #4371
      kiwi
      kiwi
      Keymaster

      1595 posts

      So I suggest the smaller one โ€“ since it goes way to big imo :)

      Can you show a picture like mine comparing the two sizes. Only for me your size is still too small. The data all shows, but the text is too small. I don’t know what “way too big” means in pixels ๐Ÿ™‚

      Nigel
      My personal kiwitrees site is www.our-families.info
      #4372

      jacoline
      Participant

      479 posts

      Way to big /doh

      Enclosed find how it looks at my monitor

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      Attachments:
      #4376
      kiwi
      kiwi
      Keymaster

      1595 posts

      The charts that are full page width look better to me, even on your site, at the higher dimensions (550/200). I rate ‘readability’ higher than “way too big” ๐Ÿ™‚

      So, I will set all themes to use 550/200.

      BUT ( I think you will like this):

      In the next release (soon now), if you want to use a standard theme, but with just a few “tweaks” you will be able to do that easily with no need to change the standard theme files.

      All you will need is to create either or both of two new files, ‘mystyle.css’ and ‘mytheme.php’ and include them in the standard theme folder of your choice. Also, inside mytheme.php you could include a reference to your own header.php and / or footer.php files. Whatever these new files contain will be used instead of the same entries in the standard files, and your files will never be replaced or deleted by an upgrade (except possibly on a MAC, I think). I will provide examples in an FAQ when the next release is ready.

      But a simple example for this statistics issue would be a mytheme.php like:

      <?php
      if [!defined[‘WT_WEBTREES’]] {
      	header[‘HTTP/1.0 403 Forbidden’];
      	exit;
      }
      $WT_STATS_S_CHART_X = 490;
      $WT_STATS_S_CHART_Y = 175;

      Of course you can still create a completely new theme, but this way will be better for minor ‘tweaks’.

      Nigel
      My personal kiwitrees site is www.our-families.info
      #4377

      jacoline
      Participant

      479 posts

      That sounds interessting! ๐Ÿ™‚
      As you know I use a mod. color theme and edit css file everytime! So yes it will be easier not to modify the file when I upgrade!

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

    Viewing 9 posts - 1 through 9 (of 9 total)

    You must be logged in to reply to this topic.