bernhard Posted January 5, 2023 Share Posted January 5, 2023 Note: This feature has been moved to RockSettings --------- 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, 2023 Share Posted January 5, 2023 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, 2023 Author Share Posted January 5, 2023 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, 2023 Share Posted January 5, 2023 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...
netcarver Posted April 9, 2024 Share Posted April 9, 2024 Is this still an option? If so, I can't seem to find this in the module config for RockFrontend. Also, the screenshots seem to be from RockPageBuilder? Link to comment Share on other sites More sharing options...
bernhard Posted April 9, 2024 Author Share Posted April 9, 2024 Hi @netcarver thx, this feature has been moved to RockSettings. Could you please let me know where you found the outdated info, so I can remove it? Link to comment Share on other sites More sharing options...
netcarver Posted April 9, 2024 Share Posted April 9, 2024 @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 More sharing options...
bernhard Posted April 9, 2024 Author Share Posted April 9, 2024 Thx, I've updated the first post and the thread title! 1 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