TYPO3: Search in tt_content and tt_news - typo3

Im looking to build a search box for my website that looks for content in tt_content as well as in tt_news.
Could anyone recommend me an TYPO3 extension maybe to accomplish my goal?

Did you try indexed search? http://typo3.org/extension-manuals/doc_indexed_search/4.2.1/view/

Related

Adding Templavoila template to Typo3 blog

I am pretty new to Typo3, and I am sorry if my question is too easy to answer =)
I'm using Templavoila and I installed the Typo3 Blog extension (T3G?) and I ticked the checkbox "Install and use the template provided by the extension" when setting up my first blog. I hardly managed to get a html only page with a sidebar and list of posts.
My problem is that I can't find a way to add a template or any CSS to that page. I'd like to fit it into the rest of my website with the logo, menu, etc… but after a day of searching and reading, I haven't find a solution to my problem.
Is the problem that I'm using Templavoila rather than FLUID?
Is there a way to add a TV template to my blog?
How can I add CSS to that page (I have tried page.includeCSS.style without success)?
Is it possible to fit that blog in the rest of the website?
I'm using : Typo3 7.6 - Typo3 Blog 7.6 - Templavoila! Plus 7.2
PS : Is it just me or is it pretty difficult for new people to make their way into Typo3 ? ^^ I'm probably just missing something obvious but there isn't much documentation or tutorials dedicated to beginners. I hope it get's easier =)
Templavoila (and Templavoila plus) operate its "magic" by its function to show the content; thus you don't need anymore the usual TypoScript:
page.10 < styles.content.get
Instead, the page content must be replaced with:
page.10 = USER
page.10.userFunc = tx_templavoilaplus_pi1->main_page
Be sure to enable the TemplaVoila page module to manage content with TemplaVoila.The reason is that the "bare" TYPO3 uses the colPos field to retrieve the content (e.g. styles.content.get means colPos=0) while as far as I remember TemplaVoila uses its own logic and the TemplaVoila page module is necessary (also, as far as I can remember,there is an option to map a TemplaVoila content container to the colPos but I could possibly be wrong).
This is only part of the answer I was looking for, and it was probably obvious (well not for me indeed).
In the options of the blog template (the Typoscript one) I had to uncheck all the checkboxes (Clear constants, clear setup, rootlevel).
I also deleted the page.10 < styles.content.get, if I don't I get all the content but again, HTML only.
I'm facing a new problem now. The list of posts is not showing. Only regular element like text elements are being displayed, the Templavoilà FCE aren't… It is worse for the blog posts, nothing at all is being displayed.
PS : Should I write a new question for this or is it okay to ask it here ?
as maintainer of the TemplaVoilà! Plus extension I'd like to help you. Till yet, I didn't tested the blog extension, but I'm willing to help you there.
Couls you please fill an issue report on https://github.com/pluspol-interactive/templavoilaplus/issues and add there a link to this discussion?
Thanks
PS: I know, this isn't a answer to the question, but not enough reputation to add a comment.

TYPO3 news: how to link to another news within rte editor

A question for tt_news:
how to link within the rte-editor - is there a possibilitiy to see a list of all news or is there another way to link news in the text
Best reguards
Volker
Yes, you can configure the RTE to have custom records (e.g. news) in the link wizard.
I wrote a tutorial about this for TYPO3 8LTS: https://usetypo3.com/linkhandler.html
For TYPO3 7LTS you have to use an extension like coding.ms already wrote.
Für TYPO3 7.6.x: https://github.com/cobwebch/linkhandler
Für TYPO3 8.7.x: https://docs.typo3.org/typo3cms/extensions/core/8.7/Changelog/8.6/Feature-79626-IntegrateRecordLinkHandler.html

TYPO3 7.6 tx_news and shorturl with realurl

my news work fine with realurl and tx_news:
www.domain.de/newslist/news-title-long-name-here/
but how can i build with realurl a secound short-URL:
www.mydomain.com/newslist/?test=1234
thanks for helping
This is not really possible out of the box but would be really easy with a custom small extension

TYPO3 FAL images for translation don't work with tx_news (language)

I am working with TYPO3 CMS 6.2.14 and tx_news (news georg ringer) 3.1.0. My Website has two languages, german (L=0) and english (L=1).
Now I tried to translate a tx_news data record by clicking the british flag, so I'll have a 1:1-copy of the data record. Everything is fine. I can translate my text content - great!
But what's about my images? My english data record only showing the german picture! I can upload new 'english images', but they won't be shown in Frontend. Only the german picture from the news data record.
This must be a massive problem in TYPO3 or tx_news? I don't know?
https://forge.typo3.org/issues/57021
https://forge.typo3.org/issues/57272
But there's no solution for me at all. How can I use different FAL images or videos in two different data records from tx_news?
This is my TypoScript-Setup:
...
### not in use ## sys_language_mode = content_fallback
sys_language_overlay = 1
....
Actually the core bug is still there (TYPO3 7.6 & 8.7).
You can use the extension repair_translation to fix the translation handling with FAL objects.
Ext.https://github.com/froemken/repair_translation
Docs https://docs.typo3.org/typo3cms/extensions/repair_translation/Introduction/Index.html#the-typo3-bug
This is a bug in core reportded on forge, see https://forge.typo3.org/issues/57272

Configure TT_News

I'm searing for several hours but can not found an good example on how to configure the tt_news extension with typoscript. I would like to know how I can disable showing the date, cat info and archive to make it a simple overview. Also clicking on the news item does not show the single page? Can any one post an simple example of typoscript for configuring an simple news overview with the tt_news extension?
I think the tt_news documentation will answer all your questions.
Your first issue is very simple to solve: just use your own templates and remove the corresponding marker.
Copy the template from tt_news/pi/tt_news_v2_template.html to somewhere else, e.g. into fileadmin/myproject/tt_news_v2_template.html
Configure tt_news with the new location of the template in your TypoScript Constants: plugin.tt_news.file.templateFile = fileadmin/myproject/tt_news_v2_template.html (you have to include the static TypoScript of tt_news too)
Your second issue seems to be a problem with the single pid configuration. You can solve this with defining your single page in the TypoScript Constants:
plugin.tt_news.singlePid = 123
It seems that you are new to TYPO3 and tt_news, so maybe you should simply follow the quick start guide in the tt_news documentation.