Jump to content

[deprecated] Howto: Use RockFrontend's footerlinks


bernhard
 Share

Recommended Posts

Note: This feature has been moved to RockSettings

vbJPD3A.png

---------

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

  • 1 year later...

@bernhard I only found this post here in the forum - and not realising this had changed - went looking for it in the RockFrontend config settings.  Pehaps the title of this thread could be changed to reflect that this is no longer available in RockFrontend?

Link to comment
Share on other sites

  • bernhard changed the title to [deprecated] Howto: Use RockFrontend's footerlinks

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...