TYPO3 News Extension - How can i copy and paste content elements of a news entry? - typo3

If i created a content elements (f.e. text, image, plugins etc.) in a single news, i cannot copy and paste this content element again. Have I missed something or is it not working (yet)?
Thxs for support
Holger*

It is just not supported, only thing you can do is creating copy of such News record in WEB > List module.
It will create copy of the News itself and copies of all content elements in it. Then you can edit these records to have quite other News and/or CEs. Also if you'll make any change to copied CE it will not reflect the original one(s).

Related

Jump to a specific part of a page in a moodle wiki?

I should create a moodle wiki and I have got some sections on my wiki-page. Now I would like to create a table of contents where The user can jump between the sections like on Wikipedia.
What I tried:
section1
...
<h2 id="section1">Section1</h2>
The problem I got is that when I save the page the id property will be removed from the tags
If you are using one of the latest version of Moodle, it is possible to make the HTML ids stick if you add you HTML markups within the Wiki HTML editor.
This has to be the ultimate change you do to the document. Once you have your HTML correctly tagged, directly hit the Save button without going back to the editor's preview mode. They should be available in the Wiki after that.
If you need to edit the page again, be sure to keep a local copy of your HTML structure, in order to avoid having to add the HTML markups again. They will be removed everytime you edit the page or if you switch from the HTML editor to the WYSIWYG preview mode.

Howto to configure TCA settings and save them globaly

I'm configuring a new website with TYPO3 v. 9.5.
I would like to configure TCA settings to make it possible to force editors to fill fields in content elements like media or news.
In former times I was able to put this settings into a file typo3conf/extTables.php.
In my investigations I found, that I have to put configurations into a directory Configuration/TCA/Overrides of an extension.
I tested it with the extension tx_news like this:
I put this code in a file called test.php as a test and example.
This code forces the editor to always enter an archive date.
This works for me, but after an extension update, this code might be lost and I cannot configure the fields of core extensions for example to force an editor to always enter a title of a content element.
My question is, how can I store this configurations update save within the configuration environment?
Thank you in advance,
Ralf
Depending on your modifications you need to consider some aspects:
always use a filename according to the table your modifications belong.
so for the news records it should be: Configuration/TCA/Overrides/tx_news_domain_model_news.php
make sure your modifications are loaded after the first initial configuration: make a dependency to the original extension.

Enable Translation for Record in Typo3

I'm using Typo3 8.7.24 and want to create an extension which creates news. I managed to create news records in the storage folder but i also want to make them translatable like in the attached screenshot. What do I have to do to enable it?
You probably forgot to translate the storage folder. You need to create a record of type "Alternative Page Language" there.
To do so, use the list module and add the record there.

TYPO3 news extension - show the whole article

I'm using the news extension for TYPO3. I have a page named "News" where I want to show ALL complete news records that exist. But the article is cut with a button "Read on" which leads you to the detail page.
What do I need to do that it shows the whole article on the news page of each article that exists?
TYPO3 version: 7.6.14
Set TypoScript constant plugin.tx_news.view.partialRootPath to a path of your choice (preferrably to an extension holding your concrete site‘s configuration and assets), create a subfolder named 'List' in this path and copy file EXT:news/Resources/Private/List/Item.html over to the newly created folder.
Then adopt this file to your needs. Apparently, you‘d have to change stuff around line 52 to use bodytext only and remove the f:format.crop…
It‘s worth understanding how fallback in template root paths works in news and in TYPO3 in general - I suggest you read up a bit about it

Sitecore copied item displaying wrong content

I'm new to sitecore have been tasked with creating some ppc landing pages for a client who's developer has moved on.
Their previous developer had created several of these pages in the past and the content is very similar so I have copied one of the previous pages and changed the content.
The problem is that the copy is still referencing the content of the original page, i know this as if i change the content of the original the copy also changes too.
The pages sub items are a mix of rich text fields and custom sublayouts.
Have I done something wrong or is this a bug? Can anyone suggest a fix?
Id imagine something like the reference to the subitems in the database has not changed from original.
How did you copy the previous page? In Sitecore you should be able to use either the Copy or Duplicate command, and be able to change the copied item without the original being changed (our content editors have a habit of doing this as well).
My guess would be that the sublayouts are pointing at a specific item, rather than the Context item, but that would be hard to say without code or ascx snippets.