0
Welcome Guest! Login
0 items Join Now

Home Menu Link

  • Home Menu Link

    Posted 15 years 5 days ago
    • Hello,

      I'm working with the Afterburn template and would like to make the Home link appear only on pages other than Home. Is this possible?

      Thanks,

      Jamie Jensen
  • Re: Home Menu Link

    Posted 15 years 4 days ago
    • Maybe yes. Open your template index.php at:
      <Joomla Root>/templates/<your template name>/index.php

      I assume your home itemid is 1 (if not, you can replace the 1 below with the actual itemid)

      Find below codes:
      </head>

      Change the codes to:
      <?php if   (JRequest::getVar('Itemid') == '1'): ?>
       <style type="text/css">
          ul.menu li.item1 {display: none;}
       </style>
      <?php endif; ?>
      </head>
  • Re: Home Menu Link

    Posted 15 years 3 days ago
    • Arifin,

      I added the code just above the "nav" div section and it worked. Does it matter where I put the code? Though it might help later if I keep it near the 'nav' section to make it easy to find.

      Thanks,

      Jamie Jensen
  • Re: Home Menu Link

    Posted 15 years 2 days ago
    • Yes, actually you can add it there too, but to make it valid with the w3c validation, the css declaration should be put before </head>

Time to create page: 0.062 seconds