eigenes Template erstellen

    • eigenes Template erstellen

      Hallo!

      ich bin versucht ein eigenes Template für Dolphin zu erstellen.
      Nun haben sich für mich einige Fragen auf getan.

      So wie ich es gesehen habe erzeugt dieser Dolph-Tag
      <bx_injection:injection_logo_after />
      das Benutzermenü.

      Wo genau kann man dieses bearbeiten?
      Ich meine Nicht in der Administration, denn das ist das Service-Menü, mir geht es eher um die anzeige des Avatar nach dem Login. Diesen würde ich an dieser Stelle gerne entfernen.

      Was gibt es dort für Möglichkeiten?


      MfG
      Kaos
    • Hallo zusammen!

      Schade das bisher noch niemand geantwortet hat.

      Nun bisher bin ich so weit das ich das Template etwas anpassen konnte.
      Was mir ganz und garnicht gefiel war, dass das Menü aus <table /> besteht.
      Jetzt wollte ich das ganze einfach als normale Listenelemente anlegen.

      Bearbeitet habe ich dafür folgende Dateien:
      templates/tmpl_uni/navigation_menu.html
      templates/tmpl_uni/navigation_menu_item.html

      Die veränderungen in der navigation_menu.html funktionieren tadelos.
      Allerdings macht die 2. Datei Probleme.

      Standard:

      Quellcode

      1. <td class="top __right__">
      2. <a href="javascript: void(0)" class="top_link">
      3. <span class="down bx-def-padding-sec-leftright">
      4. <img src="__icon_url__" />
      5. </span>
      6. <!--[if gte IE 7]><!--></a><!--<![endif]-->
      7. <!--[if lte IE 6]><table id="mmm"><tr><td><![endif]-->
      8. <div style="position:relative;display:block;">
      9. <ul class="sub">
      10. __element_content__
      11. <li class="li_last_round">&nbsp;</li>
      12. </ul>
      13. </div>
      14. <!--[if lte IE 6]></td></tr></table></a><![endif]-->
      15. </td>
      Alles anzeigen


      Mein Code:

      Quellcode

      1. <li>
      2. __element_content__
      3. </li>


      Raus kommt folgendes:

      Quellcode

      1. <ul id="mainnavi">
      2. <a href="http://localhost/dolph/index.php" class="top_link"><span class="down bx-def-padding-sec-leftright">Start</span>
      3. <!--[if gte IE 7]><!--></a><!--<![endif]-->
      4. <div class="sub"></div>
      5. <a href="http://localhost/dolph/browse.php" class="top_link"><span class="down bx-def-padding-sec-leftright">People</span>
      6. <!--[if gte IE 7]><!--></a><!--<![endif]-->
      7. <div class="sub"> <!--[if lte IE 6]><table id="mmm"><tr><td><![endif]-->
      8. <ul class="sub main_elements"><li>
      9. <a href="http://localhost/dolph/browse.php" target="_self" class="button more_ntop_element">All Members</a>
      10. </li><li>
      11. <a href="http://localhost/dolph/search.php?show=match" target="_self" class="button more_ntop_element">Match</a>
      12. </li><li>
      13. <a href="http://localhost/dolph/search.php?online_only=1" target="_self" class="button more_ntop_element">Online</a>
      14. </li><li>
      15. <a href="http://localhost/dolph/search.php?show=featured" target="_self" class="button more_ntop_element">Featured</a>
      16. </li><li>
      17. <a href="http://localhost/dolph/search.php?show=top_rated" target="_self" class="button more_ntop_element">Top Rated</a>
      18. </li><li>
      19. <a href="http://localhost/dolph/search.php?show=popular" target="_self" class="button more_ntop_element">Popular</a>
      20. </li><li>
      21. <a href="http://localhost/dolph/search.php?show=birthdays" target="_self" class="button more_ntop_element">Birthdays</a>
      22. </li><li>
      23. <a href="http://localhost/dolph/calendar.php" target="_self" class="button more_ntop_element">Calendar</a>
      24. </li><li>
      25. <a href="http://localhost/dolph/search.php" target="_self" class="button more_ntop_element">Search</a>
      26. </li></ul>
      27. <!--[if lte IE 6]></td></tr></table></a><![endif]--></div>
      28. <a href="http://localhost/dolph/search_home.php" class="top_link"><span class="down bx-def-padding-sec-leftright">Search</span>
      29. <!--[if gte IE 7]><!--></a><!--<![endif]-->
      30. <div class="sub"> <!--[if lte IE 6]><table id="mmm"><tr><td><![endif]-->
      31. <ul class="sub main_elements"><li>
      32. <a href="http://localhost/dolph/search_home.php" target="_self" class="button more_ntop_element">Search Home</a>
      33. </li><li>
      34. <a href="http://localhost/dolph/searchKeyword.php" target="_self" class="button more_ntop_element">Keyword Search</a>
      35. </li><li>
      36. <a href="http://localhost/dolph/search.php" target="_self" class="button more_ntop_element">People Search</a>
      37. </li></ul>
      38. <!--[if lte IE 6]></td></tr></table></a><![endif]--></div>
      39. <a href="http://localhost/dolph/help.php" class="top_link"><span class="down bx-def-padding-sec-leftright">Help</span>
      40. <!--[if gte IE 7]><!--></a><!--<![endif]-->
      41. <div class="sub"> <!--[if lte IE 6]><table id="mmm"><tr><td><![endif]-->
      42. <ul class="sub main_elements"><li>
      43. <a href="http://localhost/dolph/help.php" target="_self" class="button more_ntop_element">Help</a>
      44. </li><li>
      45. <a href="http://localhost/dolph/faq.php" target="_self" class="button more_ntop_element">FAQ</a>
      46. </li><li>
      47. <a href="http://localhost/dolph/contact.php" target="_self" class="button more_ntop_element">Contact</a>
      48. </li><li>
      49. <a href="http://localhost/dolph/advice.php" target="_self" class="button more_ntop_element">Advice</a>
      50. </li></ul>
      51. <!--[if lte IE 6]></td></tr></table></a><![endif]--></div>
      52. <a href="http://localhost/dolph/about_us.php" class="top_link"><span class="down bx-def-padding-sec-leftright">About</span>
      53. <!--[if gte IE 7]><!--></a><!--<![endif]-->
      54. <div class="sub"> <!--[if lte IE 6]><table id="mmm"><tr><td><![endif]-->
      55. <ul class="sub main_elements"><li>
      56. <a href="http://localhost/dolph/about_us.php" target="_self" class="button more_ntop_element">About</a>
      57. </li><li>
      58. <a href="http://localhost/dolph/terms_of_use.php" target="_self" class="button more_ntop_element">Terms of use</a>
      59. </li><li>
      60. <a href="http://localhost/dolph/privacy.php" target="_self" class="button more_ntop_element">Privacy Policy</a>
      61. </li></ul>
      62. <!--[if lte IE 6]></td></tr></table></a><![endif]--></div>
      63. </ul>
      Alles anzeigen



      Habe ich in der falschen Datei bearbeitet?
      Oder gibt es noch eine Datei in der ich Änderungen vornehmen muss?

      Cache ist abgeschaltet und ich leere ihn trotzdem noch nach jeder Veränderung.

      Bitte helft mir!