typo3

TYPO3 Indexed Search not working

久未见 提交于 2020-01-05 07:51:49
问题 I'm using the TYPO3 version 8, I have installed the indexed_search form box with typoscript 50 = COA 50 { stdWrap { wrap = <div id="searchcontainer">|</div><div class="clearboth"></div> required = 1 } 10 = TEXT 10 { wrap = <form id="searchbox" name="searchbox" action="|" method="post"> typolink.parameter = {$searchPID} typolink.returnLast = url if.isTrue = {$config.tx_realurl_enable} } 20 = TEXT 20 { value = <form id="searchbox" name="searchbox" action="/" method="post"> if.isFalse = {$config

TYPO3 Indexed Search not working

≯℡__Kan透↙ 提交于 2020-01-05 07:51:03
问题 I'm using the TYPO3 version 8, I have installed the indexed_search form box with typoscript 50 = COA 50 { stdWrap { wrap = <div id="searchcontainer">|</div><div class="clearboth"></div> required = 1 } 10 = TEXT 10 { wrap = <form id="searchbox" name="searchbox" action="|" method="post"> typolink.parameter = {$searchPID} typolink.returnLast = url if.isTrue = {$config.tx_realurl_enable} } 20 = TEXT 20 { value = <form id="searchbox" name="searchbox" action="/" method="post"> if.isFalse = {$config

typo3 styles.content.get not working

邮差的信 提交于 2020-01-05 04:10:09
问题 I've testing with TYPO3 7.6.9 and tried the following without success: # Default PAGE object: page = PAGE page.10 < styles.content.get I want to get the normal content from the typo3 page, but it not show anything. Please help me, Thanks. 回答1: Check if you have included the static template like in the screenshot below: 来源: https://stackoverflow.com/questions/38494056/typo3-styles-content-get-not-working

Correct frontend mapping of TCA 'type'=>'check'

ぐ巨炮叔叔 提交于 2020-01-05 03:45:21
问题 I currently implement a user right object in TYPO3 7/Extbase. Different rights are mapped as bits of an INT as per (simplified): 'permissions' => array( 'label' => 'permissions' 'config' => array( 'type' => 'check', 'items' => array( array('Permission 1', ''), array('Permission 2', '') ) ) ), Modification of this in the Backend works flawlessly and the flags are correctly stored as their corresponding bits in he DB. How can I achieve similar behaviour in the frontend? Is there a (correct) way

Correct frontend mapping of TCA 'type'=>'check'

霸气de小男生 提交于 2020-01-05 03:44:04
问题 I currently implement a user right object in TYPO3 7/Extbase. Different rights are mapped as bits of an INT as per (simplified): 'permissions' => array( 'label' => 'permissions' 'config' => array( 'type' => 'check', 'items' => array( array('Permission 1', ''), array('Permission 2', '') ) ) ), Modification of this in the Backend works flawlessly and the flags are correctly stored as their corresponding bits in he DB. How can I achieve similar behaviour in the frontend? Is there a (correct) way

TYPO3 & tx_news need ViewHelper for show count of Entities in category

て烟熏妆下的殇ゞ 提交于 2020-01-05 03:37:49
问题 Task: in category menu show count of item in each category, like Category_one (38) Category_two (14) Etc ... I have try count by $demand but did'nt work <?php namespace HIT\huskytheme\ViewHelpers\News; class CountCategoriesViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper { /** * @var \GeorgRinger\News\Domain\Repository\NewsRepository * @inject */ protected $newsRepository = null; /** * * @param string $category * @return string */ public function render($category) {

Rich Text Editor inside Flux Form

点点圈 提交于 2020-01-04 23:04:13
问题 I am using flux and I want to display rte(Rich text editor) in backend form using flux. <f:section name="Configuration"> //...Here i want to display rte element </f:section> 回答1: With Flux Form you can use Below code <f:section name="Configuration"> <flux:field.text name="Text" label="Whatever" enableRichText="1" /> </f:section> In the Form You can use below <f:section name="Main"> <f:format.html>{Text}</f:format.html> <f:section name="Main"> Please Enable Rich Text Editor From Tools >> User

The default controller for extension and plugin can not be determined

送分小仙女□ 提交于 2020-01-04 17:33:11
问题 Good afternoon, dear friends! All, I give up. Tried well, all that was already possible. TYPO3 7.6.16 ext_tables.php: <?php if (!defined('TYPO3_MODE')) die ('Access denied.'); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin( 'MyVendor.' . $_EXTKEY, 'Pi1', 'The inventory list' ); ext_localconf.php: <?php if (!defined('TYPO3_MODE')) die ('Access denied.'); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'MyVendor.' . $_EXTKEY, 'Pi1', Array ('Comment' => 'list'), Array

TYPO3-Slug not working with multiple arguments in f:link.action

霸气de小男生 提交于 2020-01-04 11:10:13
问题 I try to create speaking URL out of an action-link in TYPO3 9.5 to let the next page know from where the user came from. When I use this code for the action-link: <f:link.action pageUid="296" action="show" controller="Author" arguments="{author : blogentry.author, categoryParent : filtercategories.uid}"> {blogentry.author.firstname} {blogentry.author.surename} </f:link.action> and this in my config.yaml: BlogAuthorPluginShow: type: Extbase extension: Blog plugin: Blogauthors routes: -

Extbase TYPO3 upload image for front end user

≡放荡痞女 提交于 2020-01-04 04:42:12
问题 I am making a plugin with Extbase. My Responsitory got image upload and i want front end user can upload image. When i check the FormFields.html from Partials, the field image upload was empty with simple text: "File upload is not implemented!". I tried to use <f:form.upload property="logo" name="file" /><br /> but after submit the form, i got the error message: "Exception while property mapping at property path "logo": Property "name" was not found in target object of type "TYPO3\CMS\Extbase