Jump to content

zdcloud

Member
  • Posts

    4
  • Joined

  • Last visited

Everything posted by zdcloud

  1. Special thanks to you! It worked as expected.
  2. When I write the following code in header.tpl, it only shows on the home page and announcement page, I want it to show on all pages, can anyone help me? {foreach $announcements as $announcement} {if $announcement@index < 1} <li class="nav-item"> <a class="nav-link" aria-current="page" href="{routePath('announcement-view', $announcement.id, $announcement.urlfriendlytitle)}"> <span>{$announcement.title}</span> </a> </li> {/if} {/foreach}
  3. Hello friends, what is the variables that gets the current page URL?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated