How could I trigger in JS a click on the pageitem of TYPO3 BE pagetree by an ID of the page ?
Looking for solutions for versions 4.5 and 6.1.
The basics are described in this document (might be slightly deprecated):
http://buzz.typo3.org/people/steffen-kamper/article/backend-navigation-in-typo3-45/
For example, to open the submodule "task center" in the "user tools" module, enter this
top.TYPO3.ModuleMenu.App.showModule('user_task');
or, to change to the pagetree, this
top.TYPO3.ModuleMenu.App.showModule('web_layout');
inside the firebug console. According to the author,
The pagetree resides in top.TYPO3.Backend.NavigationContainer, the
content resides in top.TYPO3.Backend.ContentContainer.
I haven't really understood what you'd like to click on exactly. But it might get you started.
I think in real life (or in an html fragment in a page in the backend) you can set <a javascript:...> urls</a>
I am still trying to figure out the fine points of this javascript myself. I for one want to also click on a select-box in the content Iframe after clicking in the Admintools/Report submodule. The first part is this:
top.TYPO3.ModuleMenu.App.showModule('tools_txreportsM1');
Related
I make a multi-device app that has a TWebBrowser component.
If i write this code
WebBrowser1.Navigate('https://google.com');
it opens the form as it should be.
But if i write this code
WebBrowser1.Navigate(edit1.text);
where edit1.text=the URL of a GoogleForms form (=https://docs.google.com/forms/d/e/1FAIpQLScLDCv_LeYJzvMoxnmvt_gN_gqeup7_vbU8VLaC-qXNPEGMIQ/viewform?vc=0&c=0&w=1&fbzx=3551763952707733753), it shows the form confused (the dropdown components as list of text, the "submit" button as text etc) like this :
is there a solution, please ?
PS. the form is opened in Internet Explorer (and Google) right.
The reason why this happens is that by default TWebBrowser component is opening web pages in compatiblity mode. This prevents myn moder web pages to show properly.
So in order to avoid this you need to opt in to the browser emulation feature using the documented registry key.
You can find more info about this on the link bellow
https://stackoverflow.com/a/25843958/3636228
I am trying to switch to a second language using polylang plugin in my Wordpress test site.
I don't have relevant code to show, I haven't identified problem code associated with this error.
What I expect is to find myself on the Home page equivalent in the second language no matter which English page I was on previously.
Instead I am taken to the Spanish version of the About page, not Home page equivalent. Also, the page content is made up of not just that page's content but all of the content from every page on the site is stacked on top of each other - including old versions of pages.
If I subsequently click on the Spanish menu which displays as expected, the next page displays perfectly. When I click back to the About page (the page previous acting as a site catch-all) everything is as it should be. So the problem only manifests on the initial switch to a second language.
Switching back to English does not cause the problem to reoccur, everything is fine in this case. It is only when initially switching from English (site primary language) to Spanish that the problem occurs.
I am using the 'X' Wordpress theme for this 'local' version of my site. My Wordpress & free polylang versions are up to date.
Any help with this problem would be much appreciated.
Thanks, Brent.
I have come up with a solution for my problem.
This isn't the most elegant solution but I need something that works now so here goes.
I noticed that when switching to Spanish I was taken to the page: http://localhost/www.ecia.com/es/ i.e. no specific page, fine if I had an index.php file in that location but I don't. The result is I am taken to the page with the bloated content.
My work around was, use a redirection for that URL to the page I want the switcher to go to i.e. instead of http://localhost/www.ecia.com/es - I redirect to http://localhost/www.ecia.com/es/casa
This is not the best fix, but I have found it difficult going any deeper into how Polylang plugin works so it will suffice for my purposes.
Brent
I have solved this by:
Go to language/setting/url settigs
Uncheck "Hide URL language information for default language "
My first DNN site. Please go easy.
I'm trying to load some extensions (Blog & a PayPal extension).
While the admin console show's they're installed I can't see them or start them. They are not evident on any of the menus.
The theme creators say its not their problem.
Any suggestions for a Newby on how to get the extensions working?
thanks
You actually need to go to the page where you want a module to live and then use the Modules admin menu entry to Add New Module to the page. Click the menu entry, and you can drag and drop a module onto the page.
Yes.
They're listed and "In Use" is recorded OS "No"
OK - here's a screenshot of the Admin Page in Edit Mode whilst loggedon as a Super User after an Extension Module has been added to the page.
As you can see:
The extensions are not showing
Instead the area on the page shows 'Banner Options' even though no banners were inserted.
You are on the Admin page, and it certainly looks like you have added two modules to the bottom of the page. One of them seems to be the Banners module, as the screenshot shows that mousing over the edit pencil icon shows the Banner Options.
My guess is that this isn't close to what you want to do.
I think that what you want to do is to add a module or modules to some other pages.
So, go to the page to which you want to add a module. Then, click or mouseover the Modules menu item in the admin menu. Select a module and add it to the page.
Does that make more sense?
Many visitors visiting our website by a link to content in a different language from their mother tongue. If they click on the language switcher, they will be redirected to the home link of the current menu. That means they have to navigate to the content again.
Is there a Plugin available that solve this problem?
The use should change the language and see the english version of the specific content.
That should not be the case, if you have set up bi/multi language in the right way.
Have you associated the articles to each others as well as the menu entrys?
You need to have exact copies of your menu.
Are you talking about "Content Pages" that have no menu entry? If so, try to create a menu which is not visible for the user, but use it to associate content.
You find the Association Tab in the Menu Entry Edit
The Falang component allows you to manage all your content translations, even the content of all your components/modules, on your web site.
Falang doesn't use the default language system of Joomla 2.5 and 3.3. You don't have to specify a language for each content article or menu item (which results in a huge amount of duplication). You don't need to create few menu copies, few articles/categories copies for different languages.
Here is described how to use it
I am running Orchard 1.6 and have the following problem when setting up a Site of either template Blog or Core.
I go to the dashboard and go to the Content menu item on the left. There is no Content Type menu item only Content.
All training videos seem to get this straight away, what am I doing wrong?
Go to the modules (there's a link in the left menu) and enable ContentTypes feature.