Search
Forums
Topic Information
ForumBug reporting
Authorjacoline
Last activity1 year ago
StatusOpen
Replies5
Voices2
Participantsjacoline, kiwi
Actions
Tags

GDBR, seo, sanity checker, fancy tree view, theme, last change date, Default record, blank, google, simpl_pages, relationships, save settings, census assistant, children, getClientIp, gender change, access level, pdf, custom, pop-ups, photo, 500, spouse, .mo, https, php 5.6, formatting, edit menu, 3.3.1, transifex, follow, 3.2.2, notes, update, internal messaging, danish, My Page, css, blocks, birth, duplicates, ID facts, edit interface, support, contact links, IE11, title, responsive menus, click, BAPM, Histo, sitemap, image, beta, add missing death, random_media, HTML block, ASSO, prison, future

Kiwitrees on Twitter

    Topic:   Userdefined html   [Fix released]

    • This topic has 5 replies, 2 voices, and was last updated 1 year ago by kiwikiwi.
    Viewing 6 posts - 1 through 6 (of 6 total)
    • Author
      Posts
    • #10462
      Avatarjacoline
      Participant

      561 posts

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

      Regards,
      Jamie Jaconelli

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

      #10463
      kiwikiwi
      Keymaster

      1846 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

      561 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

      1846 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

      561 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

      1846 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.