typo3

How to render a Fuid view template without Extbase? I. e an email template by eID

心已入冬 提交于 2019-11-30 19:55:57
问题 I want to send an email by a TYPO3 eID script using a Fluid template file to render the mail body. I could not find a simple way how to initialize a Fuid View outside of the normal MVC Extbase context. All sources I found seemed to be outdated and very complex. So what is needed to render a fluid template? 回答1: Here is a simple function I wrote to render my templates. /** * Renders the fluid email template * @param string $template * @param array $assign * @return string */ public function

Typo3: adds anchor but don't know why

人盡茶涼 提交于 2019-11-30 19:06:40
问题 I have a page content element on a page. This has the ID 3 and it has a translation. This element is read out with the following Typoscript lib.marker = RECORDS lib.marker { tables=tt_content source= 3 dontCheckPid = 1 languageField = sys_language_uid select.languageField = sys_language_uid } For the default language everything is OK. But for my additional language I get <a id="c605"></a> before the div I originally wanted is displayed. I looked in the HTML of the page content and there is

TYPO3 - Call another repository

筅森魡賤 提交于 2019-11-30 15:54:34
Is it possible to call a function in different controllers? I need to call FindByCategoryGrouped($catId) in designRepository.php and getCategories($catId) from categoryRepository.php public function listAction() { $this->settings['flexform']['showCategory'] ? $catId = $this->settings['flexform']['showCategory']:$catId = $this->settings['listView']['showCategory']; // print $catId; if (!$catId || $this->settings['flexform']['showCategory'] == '-1') { $designs = $this->designRepository->findAll(); } else { // $designs = $this->designRepository->findByCategory($catId); $designs = $this-

TYPO3: How do I insert page content into template

别来无恙 提交于 2019-11-30 09:34:26
I have some content that I want to appear on multiple pages of my TYPO3 site. I could just insert this into the template, but I also want that content to be editable in the Rich Text Editor. So I had the idea of creating a hidden page, but I don't know how to insert this content into a template. Does it require the select typoscript statement? Also, as a follow-up question, can I add something to say, only include pages that have this page id as their immediate parent in the page hierarchy. I didn't quite get the second question. If you want to include some record only to pages under some

TYPO3 6.2 typo3_src should be a link

北城余情 提交于 2019-11-30 07:16:30
问题 I wanna setup a TYPO3 6.2 Installation on MAMP PRO but when I start I get the error: /typo3_src should be a link, but it does not exist Links cannot be fixed by this system So what to do now? Structure is: Application/MAMP/htdocs/typo3/ Any suggestions? 回答1: You have to create symlinks manually, checklist: Open the terminal Move downloaded typo3_src-6.2.4.zip to host's root mv ~/Downloads/typo3_src-6.2.4.zip /Application/MAMP/htdocs/typo3/ Go to destination folder: cd /Application/MAMP/htdocs

How to upgrade TYPO3 4.5 to 6.2

若如初见. 提交于 2019-11-30 06:24:40
问题 What are the recommended steps to upgrade TYPO3 4.5 (or 6.1) to 6.2? I have a mac and my site is running on a shared Linux account. 回答1: Here's a step by step guide from my upgrading practice which I would like to share. Thanks for the guide on https://jweiland.net/typo3/vortraege/typo3camp-berlin-2014.html that has helped me a lot. Note that these are my personal experiences which may or may not apply to your environment. Treat everything carefully. I differentiate between "Quick" and "Long"

Switch to composer mode in running instance

假如想象 提交于 2019-11-30 05:19:01
问题 How can I switch an existing project easily to composer? This project is updated from 6.1 to 8.7 now and should run in composer. A fresh composer setup is not a problem. For the last project I created a new host, installed TYPO3 via composer, installed the extensions via composer and migrated the db, fileadmin and uploads. Is there an easier way? 回答1: Migrating TYPO3 from Classic Mode to Composer Mode requires at least the following steps: Write down the current version of TYPO3 and all

Typo3 V6: How to create a content element container? (without TV)

你说的曾经没有我的故事 提交于 2019-11-30 04:12:00
For a project I'm using Typo3 v6.0. I'm looking to create nested content elements, or a content element container. I want to be able to create an inline two-column layout without using a specific template for it. I'm looking to do this without the use of templavoila. Extensions I have tried are gridelements , kb_nescefe , bs_fce , multicolumn but these do not work because they are not compatible with Typo3 V6. I'm aiming for an end result like the attached image. Where the inline two-column content can be ommitted, used once or used multiple times, containing any other content element. I'm

TYPO3 - Call another repository

白昼怎懂夜的黑 提交于 2019-11-29 22:15:51
问题 Is it possible to call a function in different controllers? I need to call FindByCategoryGrouped($catId) in designRepository.php and getCategories($catId) from categoryRepository.php public function listAction() { $this->settings['flexform']['showCategory'] ? $catId = $this->settings['flexform']['showCategory']:$catId = $this->settings['listView']['showCategory']; // print $catId; if (!$catId || $this->settings['flexform']['showCategory'] == '-1') { $designs = $this->designRepository->findAll

The default controller for extension and plugin can not be determined ERROR in TYPO3

本小妞迷上赌 提交于 2019-11-29 18:09:47
I built an extension and I would like to add plugin options at the time of adding the plugin to the page Extension Name : hotels in Hotel model , <?php class Hotel{ ... get set methods ... } ?> in HotelController.php <?php namespace TYPO3\Hotels\Controller; class HotelController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController{ public function listAction(){ // $this->view->assign('result', array('test' => 'hello, u r in list')); } } ?> in ext_localconf.php \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'TYPO3.' . $_EXTKEY, 'hotels', array('Hotel' => 'list,single