So the problem is simple:
Translated home page is not connected to any site. Everything is working kind of properly, I can open translated pages manually like this: /en/.... But for example there is no LIVE button on the translated page, to which i'm used to.
This is the main home page, my site defaults to.
And this is translated home page.
Also in the explorer, it shows a warning that this page is not connected to any site, which I think should not be.
Here in the red boxes it was written in what language each page is.
This is not a very big deal, but it's a little bit annoying and I'm planning to release this site in production soon, so editors may not understand which page to edit. How can I fix this? Maybe there is a way to change something in the database, so translated home pages are properly connected to the main home page?
I tried to delete database and remigrate everyting(which by the way gave me this error, I fixed it by adding locale_id=1 to the migration), nothing worked. I think this happened when I changed LANGUAGE_CODE from en-us to ru-ru, I'm not sure, but deleting and remigrating database should have fixed it but it didn't. :(
Somebody with 1500 reputation please create a wagtail-localize tag xD
Of course, posted a question, answer came up... Nevermind, I think many people will find this Q&A useful.
So the problem was in wagtail_localize.locales app, I changed it to wagtail.locales and everything is working now, I thought these apps are basically the same thing, but I was wrong.
.url function on pages was not working too because of this issue. Just replace the app!
Hope this helps! :P
Related
My website is https://tfnm11.blogspot.com based on the Blogger Dynamic Views MOSAIC theme.
This theme has a bug whereby when you are scrolling a page in the site, the page suddenly jumps back to the top. This bug is present only on mobile devices (Phone and Tablet). On Desktop /Laptops it is fine.
Two years ago a contributor on StackOverflow had kindly helped me fix the bug, and the site was working perfectly fine. However, In the last few months the site has stopped working - it doesn't load at all, and all one can see is a blank screen. I have not tampered with the site at all in the last two years, and in fact two other sites I have with the same coding also do not load.
I do not know whether Blogger has changed the coding of this Template recently, or whether there is some other reason the sites do not load.
The link to the StackOverflow page where that contributor had helped me fix the bug is How to stop a Page from auto-scrolling UP on Mobile devices? (using Blogger Dynamic Views “Mosaic” template)
Unfortunately the contributor who had originally helped me is no longer on StackOverflow, hence I am unable to ask for his help again.
I would be most grateful if someone else would kindly help me fix the site not loading issue. Thanks.
We recently upgraded one of our client sites to 09.01.01 to address a Telerik vulnerability, and then had to migrate the site from managed.com to Azure due to manage.com's outage. After the upgrade, a couple of pages on the site have been uneditable using the pencil icon in the persona bar, although the rest work fine. We're aware of the workaround of going into content > pages and clicking the pencil icon there, but even then not all of the areas on the page are editable. For example, there's one instance of the HTML module on the homepage where when you click on its pencil and then click "Edit Content," it just displays a pop-up with the text but no WYSIWYG or way to actually edit. Other instances of the HTML module work fine, on other pages and even other areas of the homepage.
What's more bizarre is that we just spun up another Azure VM and created a dev site from a clone of the live site so we could troubleshoot further, and this problem does NOT occur on that site even though it's an exact copy of the live site files and database and both sites are hosted in Azure.
Does anyone have advice on what might be causing this or how to troubleshoot? My original though was to clone the page and start removing modules one by one to see if anything made a difference, but it doesn't actually remove the module when I click delete. I've read about ways to do this directly in the database, but I'd prefer to avoid that if possible, especially since we're not seeing the same problem on the cloned site.
Thank you!
Could you please see if any error appearing on the logs folder? You can see the logs here. /Portals/_default/logs/2021.02.01.log.resources? The log file name may differ based on website's logging configuration.
A similar thing can be seen from the Personal bar as well using Admin Logs.
I am attempting to create a react based web app. I got it working the way I wanted, and it behaved as a web app the way I expected -- for now, that means to me that on my phone, from chrome, if from the chrome menu I choose 'Add to Home screen' it shows up as if it were an app (showing up with its own icon & launching in a new window outside of chrome).
After getting that working, I decided to reorganize so that the path would be the way I wanted it - from mydomain.com -> apps.mydomain.com/appName. I moved the code to the proper directory, and when I browse there I see my "app".
I noticed an issue right away where the static assets were not loading, I fixed that by adding a symlink in www/mydomain.com pointing to www/mydomain.com/appName/static. At this point, I thought my app was properly reorganized.
Unfortunately, when I tried "add to Home screen" from chrome, it now makes a regular shortcut, which to me seems to indicate the manifest.json isn't being applied. This all adds up to me to be a fundamental issue I don't understand with code organization for sub-paths which gave me pause.
So my question is: What do I need to do to properly host my web app in a sub-path?
Notes:
I am using nginx - I am suspicious that my issue lies in configuration there, and if more info on my configuration there is needed, I can provide it.
Regarding the change to apps. - sorry if it obfuscates the problem somewhat, to note I just added an alias - thus apps.mydomain.com appears to be equivalent to mydomain.com - I only noted it in case that assumption was wrong and part of the problem.
Pardon my question language if it's wrong, I am new-ish to web, and may not be using the lingo properly - that also is why I am probably having difficulty just googling this.
Thanks!
I think I figured it out. My app was made with create-react-app, and in the package.json I edited the homepage to be my path.
Found this out from here:
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#building-for-relative-paths
Is there a decent way in DNN 7 to modify the navigation block at the top? I am completely lost.
I am using the "Awesome Cycles" content as a template for a class project. All I am trying to do is change out the word "us" in the navigation at the top for the word "me".
I'm sure there must be an easy way to do it, but I don't think I "speak the language" well enough to google this. I have been literally searching for three days, and I know I'm going to feel stupid once someone points it out but... Oh well.
Thanks in advance!
You are correct that you can simple change the Page Name in the page settings to control what displays in the Navigation. But be aware that changing a page name also changes the URL of that page.
Check out this video for how to avoid bad URLs after changing pages
http://www.dotnetnuke.com/Resources/Video-Library/Viewer/Video/213/View/Details/Renaming-a-Page-in-DotNetNuke.aspx
tl;dr - create a new page, with the old name, make it hidden (not in the menu), and have it redirect to the new page.
I have created a 520 px page for FB. I have gone through all of the developers steps. I can see the page from the link. i can see the page from the secure link. copying all of the links from the FB app, they work. I have set up the tab and I see the tab on my FB page. When i click the tab or go directly to the tab, FB is there but it is just white space. I can't see what I am missing. I have loaded, reloaded, cleared cache, etc. I'm sure it's something simple, but I've spent hours searching. thanks.
I got it to work. I put the secure address in the non also and took out the "s". for some reason linking to the page from the "normal" address didn't work. I use a shared cert. I think FB checks secure first or something.Really a stupid thing. It was all set up correctly. Who would think that you had to alter the non
You probably have a bad SSL cert. Ensure it is not one of those dummy/fake certs that you get for free.
I know this isn't the answer to the specific issue the OP had, but I had the exact same symptoms and the solution for me was to disable AdBlock. Facebook uses a number of nested iframes and proxies to load your app and my AdBlock was blocking the content.