-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Most up-to-date combination of code to get your fruition site working! #258
Comments
Works perfectly for me. Thank you for sharing! 🙏 |
you saved my site |
This is awesome! :) Thank you! Has anyone figured out how to make the favicons and meta tags work? |
Hmm, not working. Returns 301as an original JS code. |
@D8mbSniper preview on cloudflare not works, also make sure to put your site id and domain at the top. Also cloudflare can take some time to update. i recommend to purge cloudflare cache and try again |
@joaco05 Thanks for the help! I've set A record of Am i missing something? |
It worked after 30 mins and purging cache both locally and on cloudflare |
works perfectly.how can i just add search tab on |
Cool. thanks for your help. function enableConsoleEffectAndSetMode(mode){
if (__console && !__console.isEnabled) {
__console.enable();
window.location.reload(); <-- this
} else {
__console.environment.ThemeStore.setState({ mode: mode });
localStorage.setItem('newTheme', JSON.stringify({ mode: mode }));
}
} |
Thank you |
Hey @DudeThatsErin thanks for the code, and the second part that removing the topbar items. But next to the dark mode toggle there is still a three-dot menu item that appears, can we remove that too? |
Thanks for your code, it's very useful to me! |
Yes, just change this: to this: |
Thanks @DudeThatsErin but I think you misunderstood, I do not want to remove the dark mode toggle. I was trying to remove the 3dot Notion menu. I managed to get it done, removing all but keeping the dark mod toggle, both on desktop and mobile.
|
Thanks a lot to everyone for amazing fixes to Fruition. See #274 :) |
I wish I could use it but I don't have access to npm via my hosting provider where my domain is registered. |
Maybe I am not understanding you correctly, but the idea is that you install notehost and create worker repo with it on your LOCAL machine. And then you configure it locally and deploy it to Cloudflare. |
I have it working here: https://appseeker.org
I wanted to share this cause it took me 4 hours tonight to get my website working on Firefox, Brave, and Chrome with the dark/light toggle and everything else.
This is the code I'm using:
Remember to replace MYDOMAIN with your domain URL and YOURPAGEID with the page IDs you would like.
This code WILL show everything on the top bar. If you want to hide everything on the top bar find the
class HeadRewriter()
and replace the code with this:I want to note that I am showing everything cause I like to have comments on my sites and it was a troubleshooting step cause the dark/light mode button was not showing for me in any browser though the rest of the website was working perfectly. The code above does not hide the toggle at all (in fact, it makes sure it is showing) but for some reason that wasn't working for me.
Anyway, I wanted to share others so they didn't have to hassle.
One thing this code does not fix is the issue where when you press the back button it wants you to login to Notion. #237
I'm not sure how to fix it. The solutions in that issue do not work for me. I don't get the same errors as that BUT I also don't get a website that works when I try to combine this stuff.
The text was updated successfully, but these errors were encountered: