TYPO3: How do I restore deleted Pages? - typo3

I am new to TYPO3 and have a big problem. I deleted the page with the id 1 (startpage, I know its stupid) and now I woudl like to know if it is possible to restore the page somehow.

Install extension Recycler, it ships with TYPO3 by default. You can then restore pages and content you deleted using the backend UI it has.
https://docs.typo3.org/typo3cms/extensions/recycler/Introduction/Index.html

You can use the recycler that is found under the web module and click on a page in the page tree at a higher level than the deleted page. You can also set the depth to infinitive if not certain where the page used to be in the page tree. Then put a tick beside the page you want to restore and click undelete. Note that PID is 'Parent ID' (not Page ID), and UID is the ID of the deleted page.If you click on the little + you will get additional information, e.g. the original path to the deleted page. If part of the path is highlighted in red, then that indicates another deleted branch or page. Remember to leave the Recycler module with 'Depth' NOT set to 'Infinite' (leave it at 'This page' or '1-4 levels') otherwise the recycler will hang if you use it on a larger part of your page t ree. Hope this will help you.

Related

TYPO3 reactivate deleted page

I would like to make a deleted page visible again.
If I now set the respective page deleted from 1 to 0 in the database under "pages", it still does not appear in the page tree. You can't find it in the recycle bin either.
Anyone have any ideas how to reactivate the site?
Undeleting a deleted page can be done hardcore in the database, but that would require also undeleting the content of that page in the same way.
As you have not found that page in the recycle bin you have not selected the parent page. Either you was in the wrong page or that parent page also is deleted, which means you need to undelete it too. Here it may be helpful if you have a look into the database table getting the parent page (pid) of your deleted page (and maybe further parents) up to a visible page.
Using the recycler to undelete may be better than just a database update on the records as it may update (restore) more then just the deleted field. This may include related records or references.

My sitecore page is redirecting to a 404 page, but it exists in preview and is also verified as published

I have a single page which I built from the same blocks as other pages in the same category, which do work. This page redirects to the 404 page.
I checked to make sure the page was published- it is.
I am able to preview the page in the Experience area and it looks good.
From what I can tell, no other 301s have been set up to override this.
What else can I check?
Try Checking your log files. There are additional information about what is happening.
There were dependencies that were on the page that no longer existed. Apparently, whoever cloned the page used an older (previously working) page, which no longer worked.
The specific element in question was an object reference to an image in a gallery.
We removed the element in the editor, published the page, and it worked great.

tiki-wiki: how do i force newly created pages into a category based on the user's group?

I need for certain users to only be able to create pages in certain categories based on their permissions. One reason for this is approvals ("flagged revisions"). If a user can create content outside of any category, then it could show up live on the web site. Even thought it wouldn't initially be linked anywhere directly in an existing page (except other unapproved pages) this can still be a problem.
I can prevent the user from creating a new page in the global scope (apparently this corresponds simply to "edit" permissions as I don't see a special permission for creating new pages), and then I can grant them permission to edit pages in the category their group is authorized to edit. But I can no longer see the "Menu:Wiki:Create a Wiki Page" option, and I can't figure out how to allow the user to create a new page in that category.
I can edit the group and set the "Default category assigned to uncategorized objects edited by a user with this default group" to the desired category. When I do that, a user in that group now has a "Create a Wiki Page" option show up in the Menu:Wiki sub-menu, but clicking on that does not bring up a new page for editing; instead if just brings up a list of existing wiki pages, without the option to create a new one!
If I create a link to the new page from an existing page, I am unable to edit it in any way. Clicking the link takes me to a page which indicates that the page does not exist, but which does not provide any way to edit it. Putting the title of the page directly in the URL, as in tiki-editpage.php?page=New+Page+Name brings up a "You do not have permission to edit this page" error page. Since any new page created by the user should have the category they have permission to edit, this does not make sense unless the category isn't set until after the initial edit permission check occurs, which creates a catch-22!
How do I let the user create a new page in any of the categories they have permissions to edit in?
If Categories are not the best tool for the task that's okay too. I don't really understand the difference between Categories and Structures with regards to which is better for what I'm trying to accomplish, however it seems Categories are the more "native" feature, which is why I am trying to use them.

CQ5 sidekick elements disabled

I have an issue where at a specific path the sidekick items are disabled and I can't edit components on those pages. I'm logged in as admin and from the siteadmin I can't delete or move pages. If I go a node level lower or switch websites I have all of these permissions.
All if the items in the sidekick are visible but are greyed out. I can't see page properties when I'm on the siteadmin page either.
After reviewing the javascript console I see this happening:
charset=utf-8&cq_ck=1389020093589">http://testsetver.com:4502/home/users/a/admin.permissions.json?path=%2Fcontent%2Fwebsite&charset=utf-8&cq_ck=1389020093589 404 (Not Found) widgets.min.js:19516
I've seen similar behaviour when we had content moved via a package and it ended up creating a page without an associated jcr:content node. This doesn't have to be on the page that you are having problems with, it could be a sibling page. I would check the integrity of the pages under that website.

typo3: how could i see the contents that certain user edit in the backend?

I am using TYPO3 4.5.23, when i login /typo3 admin site, over one page, it shows The BE-USER Tom began to edit content on this page 4 min ago, So my question is: is there a way that I can see what Tom edit on this page?
You see this message per record base. So if you get this message, you usually should see it on the page-record, or on some tt_content elements etc. In list-view the icon is shown on each record which has been edited.
If you edit an record, there will be a notice.
This message disappears after two hours. If an user log out, the message is not removed (missing feature;)! But if an editor close (or save & close) an record, this message will disapear. Teach your editors to close records.
If you want to see exactly what Tom edited (not just which content element, but which content he changed), use the "History/Undo" tool. Right-click the page in the tree and click "History/Undo". There you see all the changes that have been made in a diff-like view and also the user that made the change.
If you would like to see a system-wide log for all changes that have been made by this user, just log in as admin and click on "Admin Tools" and then on "Log" in the menu on the left. Then you will get a dropdown-box for all users in your Typo3-backend and you can choose the desired user and see all the changes that he has ever made.