typo3

TYPO3 extension “news”: Getting “Detail View” URL

。_饼干妹妹 提交于 2019-12-11 09:04:17
问题 I have started using the TYPO3 extension "news" and I would like to create in the LIST VIEW a "Facebook Like Button" for the Detail View of each enty. For this I need to fetch the URL of the DETAIL VIEW, not the whole <a> tag. How can i do this? I tried this, but it didnt work: <n:link configuration="{returnLast: 'url'}" newsItem="{newsItem}" settings="{settings}"> Link to detail page </n:link> It uses Fluid Templates, which I'm completely new with, so I don't know how complicated this

TYPO3: disable cache for specific plugin / extension

安稳与你 提交于 2019-12-11 07:40:03
问题 I built an extension and a plugin where frontend-users can edit their profile but I noticed a critical issue: Under "Edit profile", users could see the full information about another user who wasn't even logged in. Apparently the form was a cached on the server because after adding: config.no_cache = 1 it didn't happen again. Now the issue is that indexing is disable on the whole website. Is there a way to disable caching only for this specific extension / plugin ? 回答1: You should have

How to disable an extension for one page in TYPO3

余生长醉 提交于 2019-12-11 07:30:13
问题 There is a conflict between two installed extentions in one page. I want to disable one of the extentions only for this specific Page. Is there a way to accomplish this? Maybe somehow in Backend Templates? 回答1: On the page where you want to disable the extension you can create a template where you disable the extension by TypoScript: plugin.tx_badextension > tt_content.list.20.tx_badextension > This works recursive, that means all sub-pages of the page where this snippet is included in a

TYPO3 Extension Builder Foreign Key

試著忘記壹切 提交于 2019-12-11 07:12:39
问题 Why does the TYPO3 Extension Builder don't generate Foreign keys? I've set some relations between the models, but in SQL Code there are noe FKs only colums for the Value of the key. Does anyone can help me? 回答1: Cite from Kartsen Dambekalns It is a half-conscious design decision. Just look up the date when foreign key constraints where introduced in MySQL, and compare to when TYPO3 was 'born'. Of course it would be great to add such references, especially since MySQL can always handle themm,

TYPO3 does not cache the page

荒凉一梦 提交于 2019-12-11 07:07:01
问题 My TYPO3 6.2.31 page has everywhere enabled caching ... But when I call the Page and look in admin panel .. My typoscript looks like this: config { doctype = html5 renderCharset = utf-8 metaCharset = utf-8 prefixLocalAnchors = all simulateStaticDocuments = 0 tx_realurl_enable = 1 absRefPrefix = / #CACHE AND INDEX no_cache = 0 no_search = 0 index_enable = 1 index_externals = 1 what could be the problem for not caching my site? 回答1: prefixLocalAnchors causes the page to be not cached! Set

Insert plugin into a fluid template?

女生的网名这么多〃 提交于 2019-12-11 07:04:20
问题 The extension ke_search has a search field plugin that I want to insert into my fluidtemplate and show on every page. I am very new in this and don't know how to start. Any help is appreciated. 回答1: You can assign the Plugin to an typoscript lib: lib.searchMask < tt_content.list.20.your_plugin (Please search the location of the plugin in the typoscript browser) In your fluid you can use f:cObject to include it: <f:cObject typoscriptObjectPath="lib.searchMask" /> 回答2: In general you have three

Update colPos with typo3 extension flux 9.0.1

别来无恙 提交于 2019-12-11 06:58:39
问题 Since the update flux to 9.0.1 I need to update the colPos of elements. This works fine: UPDATE `tt_content` SET colPos = ((tx_flux_parent * 100) + 11) WHERE tx_flux_column = "content"; But I need also to update the localized content elements. It have in tx_flux_parent the localized parent uid. But I need the parent uid of the standard language. I need to get the value "tx_flux_parent" in tt_content by l18n_parent. So I'm trying to build a query with l18n_parent like this: UPDATE `tt_content`

typo3 add a main menu in backend

我的未来我决定 提交于 2019-12-11 06:16:33
问题 I am trying to add a new main module entry to the module navigation on the left of the backend of typo3. I have found online that this should be possibel through the ::addModule method. I am trying it like this: \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule( 'test', 'sub', '', '', [ 'labels' => 'LLL:EXT:eh_bootstrap/Resources/Private/Language/locallang_mod_testxy.xlf', 'name' => 'test', 'iconIdentifier' => 'eh-bootstrap-icon', 'access' => 'user,group' ] ); having read the

Real URL only shows me index.php?id=xx when changing language

南笙酒味 提交于 2019-12-11 06:16:26
问题 If I look at my default language the links have speaking url (www.yoursite.com/company/about-us.html). But now I added a language and if I look at the links I get www.yoursite.com/index.php?id=63&L=1 What is wrong? This is my Typoscript for the list menu: lib.tsfootermenu1 = COA lib.tsfootermenu1 { 10 = HTML 10.value = <p class="ContentOverviewHeading"> 15 < tmp.tsfootermenu1 20 = HTML 20.value = </p> 25 = HMENU 25 { special = directory special.value = 63 entryLevel = 0 1 = TMENU 1.wrap = <ul

Typo3 TypoScript and AND Conditions with globalVar

北慕城南 提交于 2019-12-11 06:16:13
问题 I have the following typoscript, I only want it execute when Language is 1 and page ID is 1432 [globalVar = GP:L =1][globalVar = TSFE:id = 1432] lib.atoz = TEXT lib.atoz.value (some test ) [global] However it seems to execute when the first condition is matched not both, it appears to be something to do with globalVar ? Solved [globalVar = GP:L =1] AND [globalVar = TSFE:id = 1432] lib.atoz = TEXT lib.atoz.value (some test ) [global] 来源: https://stackoverflow.com/questions/57426653/typo3