Strange issue with the back button going back two pages - back-button-control

Here is the link to my full project in github:
my project code
Anyway, It all works exactly as I want it to, but with one weird little glitch: when on the photos page, and you click on a photo to view it, and then click back, it goes back two pages instead of one. I don't have the slightest idea how to stop it from doing this.
The photos view is in public/views.
Thanks.
-Steve

Related

How i show React tables/API?

Hi Guys i was trying to do and API From this video link https://www.youtube.com/watch?v=gpfP60KjmZU&t=2s , but it doesnt work for me i did exactly the same thing as this guy but in a new version i changed some things of course because the Switch is different in this version but when i run my API the tables dont show like in 47:25 in the video is just the blank page with the menus but is not appearing any tables if anyone can help me im new to react and im trying to make this register table work if anyone can help me i appreciatethis is what my page looks like this is how i need to look like,if anyone wants the print of the code im gonna put the tabs and ask me which one you want a and i send ask me the tab i click and i send the print i answer quickly

Wagtail-Localize translated home page not connected to site

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

DotNetNuke edit navigation bar

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.

Delay in Salesforce sites changes

I'm playing with Salesforce's "Sites" functionality today for the first time, whereby I can expose Salesforce functionality to anonymous users via VisualForce. It's cool, but I'm seeing some weird timing behavior. I've been trying to figure it out, but it's a mystery, so I'll ask here?
When I save my changes to my VisualForce page, I would expect to see the changes right away. Or at least, when I do a "real" save (by hitting "Save"), versus a "Quick Save," which I assume is what happens when I'm using the developer toolbar to edit -- or actually hitting the "Quick Save" button in the main VisualForce section.
At any rate, I save it as much as I possibly can, and I'm able to see the right thing when I go to the VisualForce page itself (not using the force.com URL). But when I go to the force.com URL, I'm seeing an old version of a page. If it's just a matter of waiting long enough, that's one thing. But it's acting like I'm doing something wrong.
During development, it is very helpful to add a cache="false" parameter to the apex:page tag. This should solve the issue.
Reference page for apex:page has other optional parameters as well.

How can I remove Unwanted ads on my drupal

I see some ads on my drupal website. No idea where they came from but I want to get rid of them. Any help appreciated
This one comes up from the bottom of the screen from time to time.
You can minimize it but it doesnt go away unless I close my webpage, and open again
It was related to Softonic Toolbar not something with Drupal.
I removed all the toolbars or that kind of unwanted programs which I installed(without conscience) then cleaned with Malwarebytes and CCleaner.
Now everythings fine
I had the same problem. I solved the problem by deactivating the ad option. To do this, simply click on the "ad option" at the bottom of the ad. You will get a page that mentions different things about the ad. Click on "deactivate" link. It will take to another page where you can deactivate the advertisement. It won't come back.

Resources