bernhard Posted January 5 Share Posted January 5 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: 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> ย 1 Link to comment Share on other sites More sharing options...
wbmnfktr Posted January 5 Share Posted January 5 In version 2.9.1 I have to manually enable this feature and others. Will this be enabled by default now? 1 Link to comment Share on other sites More sharing options...
bernhard Posted January 5 Author Share Posted January 5 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 ๐ย 1 Link to comment Share on other sites More sharing options...
wbmnfktr Posted January 5 Share Posted January 5 Ok, that's perfect this way. Especially in existing projects in which everything is already defined and in place. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now