silverstripe - restore deleted pages - content-management-system

is there a way to restore deleted pages in silverstripe? I do not find such an option in the silverstripe backend. though you can find the deleted pages still in the database in the table SiteTree_versions.
thx,
florian

For SilverStripe 2.4 - under Page Tree there is a "Show" field with a dropdown. Under that dropdown there is an option "All pages, including deleted".
For SilverStripe 3.0 - open the Filter panel under the Pages section. Change the Pages option to "All pages, including deleted".
Selecting this option in either version of the CMS shows all pages including deleted ones. You can then restore a page by selecting it and clicking "Restore".

working for me in 2.4:
find the latest version of the page in the SiteTree_versions table. find the version id in field 'Version'
go to /admin/getversion/[page id]/[version id]
click 'restore'

For me "All pages, including deleted" was broken ( could not figure out why ) so I tried the below:
/admin/pages/edit/show/[Page ID]
and clicked restore.

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.

TYPO3: How do I restore deleted Pages?

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.

TYPO3 news plugin read whole news not working

I'm using TYPO3 7.6.4 with the news plugin
Now I've got the problem that the link to the news artikle is not working
thats the link typo3 generates:
When I click the link the detailed page is not loaded ... what could be the problem?
In general you need to create 3 pages:
A sysfolder which contains the records
A page withe plugin and select the "list view". In tab Additional and field **PageId for single news display* choose page number 3
A page with the plugin and select the "detail view".

TYPO3 tt_news : No code given

I just inherited this TYPO3 project and have a bunch of tasks to perform with it (adding this here, and that there, etc.) and I'm at the task "Add news to the front page" and "Add a RSS feed to the site"
Well, the tt_news extension is installed and I have created 1 test news. Now I added a page content plugin of type "News" and configured it from the best of my knowledge, following the outdated manual provided with the extension, saved the page, cleared the cache and refreshed the frontend page to see this :
...What does it mean and how do I make the extension work?
Edit the content element containing tt_news extension and at the Plugin tab in select field What to display choose default view ie: Standard list view (LIST)
Also:
make sure that in Content Element's settings you choose correct
folder with tt_news records in field Other settings > Page(s)
with tt_news records
tt_news records are created by default with Hidden flag set to true, make sure that the checkbox is unchecked. (BTW this behaviour can be changed with TCAdefaults.tt_news.hidden=0 in PageTS or UserTS)

MODX: How to insert links to other resources in TinyMCE

Am I missing something? When inserting links to other resources, it seems like there should be a "resource picker" that auto inserts the [[~id]] tag for internal links. Is such a "picker" available from the TinyMCE editor in MODX Revolution?
I mean I don't mind using the resource syntax, but I don't see my users being comfortable having to learn and remember it.
When I click on the "Insert/edit link" button, this is the dialog I get:
Clicking on the "Browse" button to the right of "Link Url" gives me the following dialog:
I don't see anything that allows me to pick a resource.
I'm using MODX Revolution 2.2.1-pl (traditional) on IIS 7.5. There could be a possible issue there.
I figured it out, I was definitely missing something. The "Insert/edit link" dialog has a search box which auto completes as you type the name of existing documents into it. Selecting a document from there inserts the document's ID with the proper syntax.
There should be.
When editing text if you highlight a word to be used as a link and then click on the Edit/Insert link icon (a chain link) there is a "Link List" select box that contains all your resources selecting one will populate the link url with the [[~id]] of the selected resource.
In the MODX Revo manager better use the ACE-Editor (Extras/Package/download extras choose Ace) for buiding up your template.
Now you may drag a Ressource from the Ressource-Tree on the left and drop it into your code in the Ace-Window.
This is the easiest way to create a Ressource-Link.