Whenever I create a new page in the sidebar, it always has the "active" state in the sidebar nav. When I go to other pages, the newly created page still has the active state.
I'm new to Dokuwiki, but any suggestions?
Disable caching in the sidebar using the ~~NOCACHE~~ macro.
Related
I can't really share code for this as it's for my entire ~large~ application, but is it normal for a flutter application's lower navigation stack to be updated when the current page is?
For example, in this page I have a standard form with a few TextFormFields:
Whenever I click on one to start typing the page sets state as expected, but by adding print("Update"); inside the build function of the bottom page of the navigation stack, I can see that page is being updated too. It happens on all pages I put on top of the first route page. I've also been experiencing that the home page gets slower as the app has been open for longer, could this be a cause for that problem too?
I have a page hosted on, say, www.domainX.com. In my page there is an iframe, src attribute of which is set to www.domainY.com (so it's on another domain). There are some links on the page served from www.domainY.com (so they show up in the iframe). When I click one of these links there happens the navigation inside the iframe. Now, when I move the cursor on iframe, right-click and select 'Back' on the appearing menu, it makes a back in the inner iframe. If I do the same thing again, it does a back on the main window, as if I pressed the back button of the browser (or I right-clicked out of the iframe and selected 'Back').
My problem is: I am OK with back navigations in the iframe, but I do not want them to bubble up to the main window. I can alter the source code of the page on www.domainX.com, but I don't have access to the source code of the page on www.domainY.com . I tried attaching an 'onback' handler on the iframe element, which stops the event propagation; but it did not work. Any pointers will be appreciated.
Thanks
I am pretty new in Typo3 world (I came from Joomla and WordPress) and I have a doubt related to well understand what is the difference between disable a page and hide the page in the menu in Typo3.
I have create a new test page and I don't want that now it appears in my left main menu.
So I click on the Access tab of this page settings and I tick the Hide (In Menus) "checkbox" so the page exist (I can access and see it using its URL) but don't appear in my main menu.
This is pretty simple but, near to the previous options, I also find the Disable (Page) checkbox. So I have try to tick this checkbox (instead of Hide (In Menus)) and happens something that I did not expect:
My test page appear again in my left main menu (I have no hide it but if I thought that if I disable a page, it is as if this page does not exist, evidently the typo3 operating logic is different from what I expect)
If, in my left main menu, I click on my test page link: the page is open but on the right top corner on the page appear to me the following textual message PREVIEW!
What it mean? I am logged as administrator, maybe the normal visitor can't see the disabled pages whereas administrator\editor see these pages? Or what?
Tnx
Andrea
Disable page = Nobody can see the page. The page is removed from the menu and it can't be accessed with the URL. You see it because you're logged into the backend. That is also why you see the red sticker 'Preview', because it is a preview.
Hide in menu = Page is hidden from the menu and the sitemap, however, it can be accessed with the URL.
Check the following documentation:
http://docs.typo3.org/typo3cms/GettingStartedTutorial/
There is a very short mapping between TYPO3 and Joomla:
TYPO3 "disable" = Joomla "Unpublish Article"
TYPO3 "hide" = Joomla "Unpublish Menu Item"
Cheers,
S.
I'm trying to understand how Facebook implements the chat sidebar. It seems to stay there even as I change pages. For example, if I select some text inside the sidebar, then click to go to another Facebook page, the text remains selected. It's as if it was a separate frame, but when I look at the code, it's not.
All requests are made trough AJAX calls. Only "content" container is replaced when needed.
You don't actually "go" to another page. Just the "content" div gets updated.
There is a container DOM element called "fb_content", its content is replaced through straight-forward AJAX or more technically XMLHttpRequest. (Although when for example you enter an app, the entire page is refreshed.) To update the address bar they use the JavaScript History API.
In addition to what Zeno and lericson said (fb_content gets updated via ajax), the address bar also gets updated while maintaining the history (if you press back/forward).
In Joomla how do I set the frontpage to be the front page (without being in the main menu). Currently whatever I set to be the default in the main menu is the first page, but I don't want the front page to be in the main menu.
this si the site
Solved it. I made the front page the first (default) page in main menu. Then I hid the main menu and made a new menu with things I want to be shown.
Another way is to do the same thing with one of the other menus or create a new menu..this way you have the flexibility of using your main menu on the front page