Search
Forums
Bug filter
Topic Information
ForumBug reporting
Authorkiwi
Last activity1 year, 8 months ago
StatusOpen
Replies5
Voices2
Participantskiwi, jacoline
Tags

3.1.1, 3.3.6, kiwitrees 2.0.2, request, save settings, menus, Extra menus, google, REFN, latest, json, new feature, upload, I18N, drag, Themes change, Favourites 3.0.0, 2.0, relationships, descendants, internal messaging, dates, MAC, Install, styles, HTML variables, BURI, access level, installation, duplicates, footer, update, name, statistics, partner, errors, gender change, icons, hover, media, css, release, users, married, gettext, resources, themes, server, transifex, https, edit interface, re-order, shared note, add missing death, Fancy imagebar, block, beta, new, NCHI, fact

Kiwitrees on Twitter

    Topic:   Userdefined html   [Fix released]

    Viewing 6 posts - 1 through 6 (of 6 total)
    • Author
      Posts
    • #10462
      kiwikiwi
      Keymaster

      1894 posts

      I can call this #gedcomFavorites# in a block. What about modules? Like this one: top10_pageviews ?

      Nigel
      My personal kiwitrees site is www.our-families.info
      #10463
      kiwikiwi
      Keymaster

      1894 posts

      I might have misunderstood what you want, but I think the answer is in this FAQ:

      HTML block variables

      Look for the paragraph about the “multipurpose variable” #callBlock………

      Nigel
      My personal kiwitrees site is www.our-families.info
      #10464
      Avatarjacoline
      Participant

      563 posts

      I want to call the module in same block as I call #gedcomFavorites#

      Source:
      #gedcomFavorites#
      #callBlock:top10_pageviews_KT_Module#

      And this does not work 🙁

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.jaconelli.dk/johnsen (familien-johnsen.dk)

      #10465
      kiwikiwi
      Keymaster

      1894 posts

      Don’t include the “_KT_MODULE” text.
      Check the pageviews module is enabled in admin.

      If still not working I will look at it tomorrow. It should work.

      Nigel
      My personal kiwitrees site is www.our-families.info
      #10466
      Avatarjacoline
      Participant

      563 posts

      I tried with and without. And it does not work. I allready have it enable.

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.jaconelli.dk/johnsen (familien-johnsen.dk)

      1 user thanked author for this post.
      #10473
      kiwikiwi
      Keymaster

      1894 posts

      I found a bug in that part of the code that must have been there for quite a few versions!! So I have moved your topic to this bug area.

      The bug was not specific to the “top10_pageviews” module. Any module you tried to embed in an HTML block could have the same issue. But the fix was simple.

      Replace the file …/library/KT/Stats.php with the one from the attached zip folder.

      Nigel
      My personal kiwitrees site is www.our-families.info
      Attachments:
      1 user thanked author for this post.
    Viewing 6 posts - 1 through 6 (of 6 total)
    • You must be logged in to reply to this topic.