Jump to content

Howto: Use RockFrontend's footerlinks


bernhard
 Share

Recommended Posts

Every site that I create needs some kind of links in the footer. It's not much work to create a page reference field for that, but it's not much fun as well ๐Ÿ™‚ย 

That's why RockFrontend creates a "footerlinks" field and adds it to the home template for you:

iI2fbYb.png

With the latest commit you can easily access those pages in your template file:

<ul>
  <li n:foreach="$rockfrontend->footerlinks() as $link">
    <a href="{$link->url}">{$link->title}</a>
  </li>
</ul>

ย 

  • Like 1
Link to comment
Share on other sites

No, the idea is that RockFrontend is unobtrusive. That means you should be able to install it without any unwanted side effects happening. If you find anything that violates this concept let me know ๐Ÿ™‚ย 

But if you update and check that box for "footerlinks" you'll be able to call $rockfrontend->footerlinks() in your template files ๐Ÿ™‚ย 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
ร—
ร—
  • Create New...