Linkhandler in editor of extension - typo3

Using the linkhandler function of TYPO3 > 8 works fine for content ckeditor elements. But how do I get those additional link browser tabs in rich text fields in news or any other extension?

I guess you have added the new linkhandler-type with TSConfig right? Then this new wizard should be available in all link wizards of every subpage of the page containing your TSconfig. Maybe your News are located inside a folder outside of the TSconfig affected pages?

Related

HOWTO add new tab and fields to tx_news

Hi my problem is that I need to do a new extension depending on tx_news.
I want to add a TAB to the plugin options (after template tab) with some fields
I looked for the solution, but I can find only instruction to add a new field within the news record, but not for the plugin options.
typo3 v9.5 + tx_news v 7.x+
Until now there is no mechanism to add fields to the flexform definition which makes up the plugin options.
So you have to provide a complete flexform definition where you still use the old definition. that will break if the original extension changes it's flexform (and change something evidently).

Typo3 create reference element for all subpages

I have a TYPO3 8.7.
I need an element (plugin) to be displayed for all subpages.
I found such solutions:
1) Create element reference But I do not know how to add it simply on all pages?
2) Add plugin on every pages But is it possible to copy exactly my plugin installed on the page ?
Both approaches are suboptimal, since you either had to create a reference content record on each page or your plugin would not be configured manually anymore.
My recommendation would be to put that particular plugin into a specific column of the root page and inherit the content of that column via the "slide" feature of the CONTENT cObject:
https://docs.typo3.org/typo3cms/TyposcriptReference/ContentObjects/Content/Index.html#slide
We are using this feature i.e. for the whole footer section of https://coders.care including the twitter plugin and the random testimonial content.

TYPO3: tx_news add system category selection to a link

I'd need custom buttons (with image) for the various categories, and I'm trying to figure out if I can add the selection to the link for a header or in the RTE with the wizard.
So I link to the list page that should display only the entries tagged with the specific system category that was clicked, like with a category-menu directly as plugin -> category menu
In TYPO3 8 the linkHandler configuration has been improved alot. It allows you to define your own tabs in the link wizards for selecting any records. You may use this function to sys_categories inside the linkwizard and then configure the url to make it work with tx_news.
Check out the new feature here: https://usetypo3.com/linkhandler.html
EDIT: I guess this feature was already available in TYPO3 7 LTS but I'm not sure its not inside the documentation... not even in the docs of 8 LTS...

BE shortcut to content element TYPO3 6.2

I can't create a shortcut link to another page width an anchor to a content element in TYPO3 6.2.
In TYPO3 4.5 we can add a shortcut page in the page tree to another page and a content element (on this page). In the menu this look like "www.site.com.ua/yourpage/#c_255" for example. In TYPO3 6.2, I can only find "Shortcut to page", but no content element to chose from. Do I need to activate this function in BE?
As far as I know it is not possible at the moment. But there is an open issue in the TYPO3 tracker. It has been created 2 years ago, but the target version for the fix is set to version 7.5. So maybe this feature will be added somewhen.

TYPO3 - HTML RTE frontend rendering is not working

I have the latest version of TYPO3, and the data I entered in the RTE is not rendered properly in the frond end (in site).
So for example <p>asdf</p> will show as it is in frond end.
I googled it and tried with some RTE default configuration changes, but that did not work well.
Please try with some basic testing first.
Create a new site on root level (directly below the globe). Create one content element with all text and styles you want to test.
Create a new Typoscript template for this site and put the following in the setup section:
page = PAGE
page.10 < styles.content.get
Make sure to include CSS Styled content inside the static template section.
Now watch your page page in frontend. Does it work?
Otherwise try step 0. and create a new (admin) backend user first.
Most likely you have either a strange transformation rule inside your RTE config in backend (UserTS or PageTS) or you have some kind of htmlspecialchar definition for your frontend rendering.
Please post something of the following basic Typo3 configuration settings and/or tell us if you use something of that:
You Upgraded from an older Typo3 version? Than it could be, that some configuration is missing.
Root Template or Site Template inside Typo3 Backend you can create or edit one, when you click in the most left menu on "Template"
If you choose "Create Template for new site" button the most basic Typo3 Typoscript * is automatically created
# Default PAGE object:
page = PAGE
page.10 = TEXT
page.10.value = HELLO WORLD!
Do you have such an TS (= Typoscript) tested? TEST IT and tell us if it works!!!
Does this work for you?
(Typo3's own configuration language - both a blessing and a curse - can be so easy and so painful - most laughful description i ever read, you can found on hatetypo3.blogspot.de "spaghetti code festival")
Don't miss include "CSS styled content" (it's in the form "edit whole template -> Includes)
But if you don't have include this, normally no site content is displayed in the frontend.
Another way is to include basic TS configuration in one or mor separate files. To get the files working, you have to referce them by this snippet in a Site Template in the BE
<INCLUDE_TYPOSCRIPT: source="FILE: yourfile">
# BTW I saw that it is common to place the file in a dir like
/fileadmin/ts/yourtyposcriptfile.ts
So give us this info or ask for more, if i miss something.