TYPO3: logout button in menu - typo3

What's the best way to add a "logout" button in the menu. I am using the extensions "fe_users" and "femanager". I found a few solutions on the web but none do work.

Any link containing the GET-Parameter ?logintype=logout will cause the system to process a logout. You can either add a link with this parameter to a HMENU / TMENU or create a page of type external link in the backend and add the parameter to a link to your page and only show this page in menues when logged in.

Related

How do I proceed with creating a panel which can search a page in wicket and redirect to the same

I am trying to do the following:
I already have a menu with several drop downs in wicket right now. However the number of entries have become very large in the drop downs, one has to remember headers under which a particular page exists. I would like to create a landing page, which would have a search bar in which we can type in the page name and I should be redirected to the desired page.
Can anybody give me any pointers of how to proceed with this one? Thanks!
You can consider to use AutoCompleteTextField to show user the available pages. Then, after user has selected a page, you can redirect him/her to the page.

Can't add page tab to Facebook page - get no prompt to add page

I relate to this well known Page Tab Tutorial by FB: https://developers.facebook.com/docs/appsonfacebook/pagetabs.
The third step, after filling of page tab info and adjusting of the tab width is getting a prompt to select a page, to which the newly created tab will be added. But i don't get this promt, like it's written in the tutorial and seems to be the normal case for all users.
After i edit tab details and press "save changes", the page reloads with "saved"-message, like on this screenshot,
and i see no further given possibility to add created app to any of my pages. If i go into the administration area of any of my pages, in the tab "apps" is this newly created app not present, so i can't add it from there too. What i'm doing wrong? The solution must be simple - i go crazy:( I tried it with Firefox and Chrome, setted off all popup- and adblockers - nothing goes...
Thanks for ideas and advice!
Evgeniy
The "manual solution" to this problem has changed. While logged into facebook, visit this link in your browser:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&redirect_uri=YOUR_URL
There are two parts of this link you must change before it will function.
YOUR_APP_ID: Find this in your app settings or app dashboard URL. It's a long number, 16+ digits.
YOUR_URL: Use the URL of the content your new tab page will call, ie "Tab Page URL" as entered in your app settings.
This newly modified URL will load a page with a dialog where you can choose which of your Facebook Pages to add the tab to.
These instructions appear here but they are far from clear. Good luck!
For anybody who will look for solution:
to add a page tab to any page do it manually: edit a link
http://www.facebook.com/dialog/pagetab?app_id=HERE-COMES-APPID-OF-YOUR-PAGE-TAB-APP&redirect_uri=http://www.facebook.com
fill into the link the app id of your newly created page tab and run this link in your brwoser: you will get a site with the prompt from the first image i cited in the first post. There you will be able to select one or, with pressing SHIFT, many pages to add your app/page tab.
You must choose "PAGE TAB" in the dialog ! ! !
see the TUTORIAL here: https://stackoverflow.com/a/35287477/2377343

Linking to another page within a page’s tab

I have one company, multiple brands. Each brand has it’s own fan page. I would like to have it so when you open up a ‘brands’ tab on one page, there will be links to the other brands Facebook pages.
I have created the ‘brands’ tab itself, but when I open it, there is nothing there except “Go to Facebook.com”
Just looking as to where I can upload the links so they will appear and the user can be linked to the other pages.
You have a good idea to create a fanpage tab, but you should use links with _blank or _top target because tab content is displayed inside . Protip - you can even add a like button to each page inside tab.

How to display a single post with wordpress menu?

I have converted a joomla website to wordpress. All categories and joomla articles are converted as wordpress categories and blog post. Now I want to show this posts (articles) with different menus. But I saw I can assign catagories in word press menu. But How can I display a single post with a menu ?
Like I have about us post , for which I want to create a menu. How can I do that ? I can convert those to pages. But I dont want to loose tags and URLs . Can anyone help please ?
Thanks
You can add any post to a menu from the "posts" box in the menu admin screen. If you don't see that box, go to the screen options for the menu screen and check "posts".
There is an option named Custom Links in wordpress menu configuration. Just name label as "About Us", and give your post link in url field.
create separate page template for every single menu. In these page templates write a php code to fetch content from single category. Create pages in admin and assign a page template to each page into admin. This will fetch content from different category on different menu that u want.

Where are subdomains ("shortcuts") defined in TYPO3?

On a corporate website managed with TYPO3 there are shortcuts defined which lead to a page on the site.
Example:
Corporate website is www.acompany.com
Then there is a site www.acompany.com/coolproduct which is redirecting the user to www.acompany.com/products/productgroup3/product25.htm for example.
Where in TYPO3 can such "shortcut" links be defined?
Most probably some page in the page tree has set type to: Shortcut which causes that it points some other page or resource, it's also possible that is set as Link to External URL and there is full URL given.
Check the page tree in the backend and find your coolproduct page in it. Then check the site's properties and change if required to other value/type.
It's also possible that this URL is generated by some plugin or TypoScript, but in this case you'll need to investigate it yourself.
Simplest way to find these kinds of things is actually using the search engine in the TYPO3 backend. You will find it in the upper right corner.
If this fails, what I do is install PhpMyAdmin from the extension repository. Once you have PhpMyAdmin you can use it's search functionality to find anything in the database using a search query of: '%coolproduct%' and selecting all tables. In the results look for the 'pid' field. It tells you on which page in TYPO3 the found item is located.
Does the page use the extension realURL? If so, there might be realURL redirects defined.
Have a look at page -> info -> RealUrl -> Redirects
Maybe you the user has defined this link redirection in many pages, you can search for it in the database exactly in the tt_content table.
You can set shortcut for your domain to any page of your site, so when user enter only your domain name in url then it redirects to page which you set in shortcut.
For that edit your domain and set shortcut to any page of your page tree.