@huseyinfiliz Is it possible to add links in the <a href></a> footer?
It would be interesting to be able to put 2-3 images of sponsors or game publishers for example with links. The location could be between the links and the footer. But this would require a new addition
Modern Footer Extension (Responsive & Compatible)
Amarok You’ve made an interesting suggestion! Just to clarify, are you requesting to replace the current "links" block with a custom HTML area where you can include clickable images (e.g., sponsors’ logos)?
Or are you asking for an additional custom HTML section to be added below the existing links in the footer?
- Edited
huseyinfiliz Or are you asking for an additional custom HTML section to be added below the existing links in the footer?
For an additional customisable HTML zone added between the footer links and the "copyright" field
Amarok Roger that, sir!
I came across the following visual randomly on the internet, and I believe it serves as a good example. I'm confident it will offer different use cases.
I'm working on the 0.7 update and including this as well (of course, I’m open to suggestions regarding this area)
- Edited
huseyinfiliz that's the idea
huseyinfiliz
That's exactly the concept. I think having custom HTML in this section would be more than enough to implement various ideas, promotions, or ads, etc. Perhaps you could even consider directly replacing the "foot-bottom" area.
- Edited
Subarist yes, I think so too. Let me work on the design a bit.
I’ve added some really interesting features, and I’m already excited about introducing the 0.7 update!
- Edited
huseyinfiliz Hello again. I don’t usually write things like this, but I want to say that you’ve created a very useful extension. It seems to me that it has a chance to make it to the 1st or 2nd page of the most popular Flarum extensions if it stays free. I would definitely buy your future extensions, seeing how well you work
huseyinfiliz
Additionally, I think it might not be necessary to have a separate custom JS code feature.
This is quite an important functionality in native Flarum and is also present in V2.
Keeping it integrated within the admin panel might reduce confusion. Of course, the native backend’s description could emphasize the purpose of JS in this context.
Capybara hello! Thank you so much for your kind words and encouragement. I’m really glad to hear that you find the extension useful! Your support means a lot, and it motivates me to keep improving and creating. I’ll do my best to live up to your expectations, and who knows, maybe we’ll see it on those pages soon!
To be honest, I’m currently spending more than 5 hours a day developing this extension. This is, of course, because I’m still new to Flarum and have been away from software development for quite a while.
I don’t have any plans to make the extension paid directly, but I am considering different options. My goal is to make the footer as easily customizable as it is in WordPress. For that, I might need a sponsor or consider a paid "pro" version.
However, this isn’t something I’m focused on right now. My priority is to make the extension more useful and quickly reach the 1.0 update.
Subarist I thought it might be useful for adding Google Analytics code. Additionally, the custom-footer extension also had a custom JS field. I decided to keep this feature for those who want to transition from the custom-footer extension to the modern-footer extension.
Instead of placing it in a separate menu, I could move it to a less visible area, but I’m not considering removing it entirely.
Thank you for your suggestions! I’m looking forward to hearing more from you!
huseyinfiliz
Don’t worry too much about my perspective on custom JS—it’s just my personal opinion.
I don’t have the ability to contribute to Flarum through coding. Most of the things discussed by the experts here are beyond my understanding. However, I know they’re incredibly passionate, and their goal is very clear: to make Flarum better.
For an average user like me, the biggest challenge with Flarum is that it’s really hard to make it look even slightly unique. It’s truly difficult. Not everyone has the talent for playing with colors and design like @Capybara
It took me about six months of exploration and learning just to barely achieve the style I wanted to present. But even then, it’s not easy to quickly replicate or adapt it for other projects. I love Flarum’s spirit, but when it comes to websites that emphasize distinctiveness, I still struggle to choose it.
For people like you who are willing to develop extensions to enhance Flarum’s appearance—honestly, I’m very grateful. It takes all kinds of talents to make Flarum more complete.
Subarist i am grateful for your contributions and suggestions. Please feel free to share with me any thoughts that come to your mind. I want you to know that I will always be open to criticism and suggestions and I will be happy about it
- Edited
Subarist meihuak codeX I have developed a feature that allows the footer to be displayed or hidden only on specific pages, taking your requests and needs into account. I would like to hear your thoughts before releasing this feature.
Do you think this functions will be sufficient, or do you have any other suggestions?
Show on all pages: The footer will be visible on every page of the website.
Hide on all pages: The footer will be hidden on every page of the website. I thought you might want to hide it while adjusting the extension settings.
Hide on discussions: The footer will be hidden only on the discussions pages.
Hide on all pages except the index page: The footer will be visible on the homepage (index page) but hidden on all other pages.
Custom: Allows you to set specific rules for when and where the footer is shown or hidden, based on your preferences. I'm not sure if I'll be able to release this soon, but why not in the future?
What do you think?
Finally, I have one more question. Do you think there should be a permission setting for displaying the footer?
For example, would you want to hide it from visitors or members? Or would that be unnecessary and pointless?
- Edited
First of all thank you for your efforts. It looks great the way it is, I don't see the need to hide the feature for visitors, but it can still be added.
huseyinfiliz I installed the Pallet theme and noticed that it doesn’t affect the footer.
Great ! Thank you for your work
huseyinfiliz Afterward, I plan to introduce widgets like "recent discussions," "hot discussions," and "statistics."
Speaking of compatibility.... Existing widgets aren't compatible with Pallet Theme. I don't want to bother you with this today, but if one day you make your own version of widgets, it would be nice to think about it
codeX Thank you for your contributions to the development of the extension and your kind wishes. Version 0.7 will be introduced soon. Since it hasn’t been requested, no improvements related to permissions will be included in this version.
There’s one more thing I forgot to ask. When "hide everywhere except the homepage" is selected, elements like "tags, categories, subscriptions," which appear to belong to the homepage but don’t, will also be hidden. I'm not sure what to do about this because managing so many elements requires a "custom settings" option. For now, I will likely leave it as is, and in the future, with the introduction of "custom settings," I can offer detailed customization for where and to whom the footer is displayed. This could include allowing users to hide specific blocks of the footer separately rather than hiding the entire footer.
Wlork So far, I haven’t encountered any issues with themes or plugins.
As for the widget topic, it’s really too early to discuss this, and I’m not entirely sure how far I want to develop this extension. For now, the development process continues based on your valuable suggestions. Thank you for your support.
fakruzaruret Xkyer Amarok Subarist meihuak codeX Wlork Capybara i mentioned contributors for the 0.7 update. Apologies for any inconvenience; I just thought you might find this interesting.
IMPORTANT!
I know this won’t surprise you, but the extension has been rewritten so extensively that it’s almost like starting from scratch. After updating the extension:
- Clear your cache.
- Deactivate and reactivate the modern footer extension.
Failure to do so will result in visual bugs.
v0.7 is LIVE!
A highly requested feature has been added: the ability to hide the footer on specific pages with the new:
Footer Display Mode!
- Show on all pages: The footer will be visible on every page of the website.
- Hide on all pages: The footer will be hidden on every page of the website. I thought you might want to hide it while adjusting the extension settings.
- Hide on discussions: The footer will be hidden only on the discussions pages.
- Hide on all pages except the index page: The footer will be visible on the homepage (index page) but hidden on all other pages.
- Custom: Allows you to set specific rules for when and where the footer is shown or hidden based on your preferences. I'm not sure if I'll be able to release this soon, but why not in the future?
Another highly requested feature has been added:
Custom HTML
I’ve even prepared a sample custom HTML for you:
<div class="sponsor-container">
<div class="sponsor-logo">
<img src="https://flarum.org/img/brands/github.png" alt="Github Logo">
</div>
<div class="sponsor-logo">
<img src="https://flarum.org/img/brands/1password.png" alt="1Password Logo">
</div>
<div class="sponsor-logo">
<img src="https://flarum.org/img/brands/jetbrains.png" alt="Jetbrains Logo">
</div>
<div class="sponsor-logo">
<img src="https://flarum.org/img/brands/ohdear.png" alt="Ohdear Logo">
</div>
<div class="sponsor-logo">
<img src="https://flarum.org/img/brands/styleci.svg" alt="Styleci Logo">
</div>
<div class="sponsor-logo">
<img src="https://nlnet.nl/logo/banner.png" alt="Nlnet Logo">
</div>
</div>
<style>
.sponsor-container {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.sponsor-logo {
margin: 10px 20px;
}
.sponsor-logo img {
max-height: 50px;
object-fit: contain;
}
</style>
Details
There are also many details I didn’t mention here. Let me quickly summarize:
- The gap between the discussion list on the homepage and the footer on mobile has been removed.
- In the settings menu, instead of showing “Links #1,” it will now display the title you set for the block.
- Changes made in the Blocks section will now reflect in the menu and general settings page before saving.
- The forum-side code has been completely rewritten, improving performance.
- Components hidden in the footer will no longer load statically.
- The language file, which was removed in version 0.6, has been reintroduced with a completely new one. Unfortunately, your previous custom translations have been deleted.
- Design consistency has been ensured in the settings, and some options have been relocated to more logical sections.
Additionally, many small changes or updates I can’t recall right now have also been made.
Feedback & Suggestions
I’m always happy to hear more requests and suggestions!