Search Forums
Forums
Kiwitrees on Twitter
    Tags

    spam, errors, flags, Histo, themes, source, footer, surname, image, Georgian, users, pages, blocks, set link, chart, partner, relationships, 3.3.0, php 5.6, place, time, danish, pending, github, Extra menus, dates, simpl_pages, 2.0, zend, validation, re-order, advanced, 3.2.0, 2.0.2, locked out, calendar.php issue, charts, BURI, latest version, prefix, margin, ckeditor, event, multiple marriages, living, Add a wife, administration pages, index, version, lists individuals families, F.A.B., 7.2, advent, name, resources, roadmap, theme, My Page, Search and replace, googlemap. modified

    Tagged: ,

    Topic:   Menu icons  

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

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

      jacoline
      Participant

      479 posts

      I noticed that I did not update the (userdefined) extra menu I made. So I just did that and decided to move 2 menu links from the standard “extra menu” to this userdefined menu I have. But the icon image files will not show.

      In the module I changed 3 lines (enclosed zip) and it actually works with the earlier links. But not with the 2 I moved!

      What did I do wrong?

      P.S. Only available in danish

      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:
      #6359
      kiwi
      kiwi
      Keymaster

      1595 posts

      Hi
      Not much time right now, but looking at your attached image it seems you have used different css for that image compared to all the others. Apart from the icon file name the rest should be the same as the ones around it.

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

      jacoline
      Participant

      479 posts

      You lost me! 🙁

      I copied the 2 image css lines from “extra_menu” to the userdefined “extra_menu_faq” in the (my)stylesheet!

      No rush Nigel!

      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:
      #6363
      kiwi
      kiwi
      Keymaster

      1595 posts

      Ah, then I can understand the problem.
      The current version of extra-menus has NO css included in the module. I suspect you are looking at old files that should have been deleted. They are wrong, and not used anywhere by kiwitrees code now. An extra-menus module folder should only contain two files, module.php and a help file (which will also be removed soon).

      Copy your css for the images from the main colors theme /css/style.css file. Look at about line 1813.

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

      jacoline
      Participant

      479 posts

      No I do not have any old css files in the module folder! The css I attached is from my style css!

      1) I uploaded a folder named extra_menus_faq (see enclosed)
      2) I edited this in the module.php in this new folder
      line 32:
      class extra_menus_WT_Module extends WT_Module implements WT_Module_Menu, WT_Module_Block, WT_Module_Config {
      to this:
      class extra_menus_faq_WT_Module extends WT_Module implements WT_Module_Menu, WT_Module_Block, WT_Module_Config {
      line 41:
      return /* I18N: Description of the “Extra menus” module */ WT_I18N::translate(‘Provides links to custom defined pages.’);
      to this:
      return /* I18N: Description of the “Extra menus” module */ WT_I18N::translate(‘Userdefined FAQ.’);
      line 114:
      $default_title = WT_I18N::translate(‘Menu’);
      to this:
      $default_title = WT_I18N::translate(‘FAQ’);

      3) I added 2 menu links in the modules administration page
      4) I edited mystyle.css where I just moved the 2 lines from the extra menu css to further down in the extra menu faq css (see enclosed image file)

      The result is as you can see in the encl. image file. Can only see 2 of the 4 icons.

      I did not add anything in the core css.

      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:
      #6369
      kiwi
      kiwi
      Keymaster

      1595 posts


      4) I edited mystyle.css where I just moved the 2 lines from the extra menu css to further down in the extra menu faq css (see enclosed image file)

      Maybe I made a wrong assumption. But the advice remains the same

      Copy your css for the images from the main colors theme /css/style.css file. Look at about line 1813.

      Nigel
      My personal kiwitrees site is www.our-families.info
      #6370
      kiwi
      kiwi
      Keymaster

      1595 posts

      OK.

      Now I can look not just on my phone 🙂 Yesterday I missed your ps:

      P.S. Only available in danish

      So now I can look at it and actually see what is happening. What I see is this:
      Screenshot-2016-05-09-07.50.56

      So, unless you have changed something since yesterday, the problem is not the icons, it is the two new FAQs. They are not appearing at all, at least not in Dutch language.

      Or have you set them to only show to members, or higher?
      ============================================================

      A separate issue, not major and not related to this problem. Above you say you changed line 114 of the file module.php. I can see that also in the copy you sent. You do not need to do this. Just set the name you want to use in the modules configuration (first tab).

      Nigel
      My personal kiwitrees site is www.our-families.info
      Attachments:
      #6373
      kiwi
      kiwi
      Keymaster

      1595 posts

      FINALLY – I can see the problem!!! A very small mistake, but very important. Use underscore (_) not dash/hyphen ()

      Screenshot-2016-05-09-08.10.04

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

      jacoline
      Participant

      479 posts

      /Sigh I am blind!

      I knew it could not be done in any other ways! But old eyes that is another thing 😛 .

      Thank you for your time! As allways you are so kind! 🙂

      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.