Skip to content

Instantly share code, notes, and snippets.

View vijayrami's full-sized avatar
🎯
Magento2

Vijay Rami vijayrami

🎯
Magento2
  • India
View GitHub Profile
@vijayrami
vijayrami / Fetch Content of another page by exploding array in flexform in TYPO3 FCE
Last active December 3, 2015 13:59
Fetch Content of another page by exploding array in flexform in TYPO3 FCE
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:layout name="Content" />
<f:section name="Configuration">
<flux:form id="pagecontent" options="{group: 'Bootstrap elements', icon: '../typo3conf/ext/yourtemplate/Resources/Public/Icons/content.png'}">
@vijayrami
vijayrami / List, Add, Edit Sys_category in FCE
Created December 3, 2015 08:58
List, Add, Edit Sys_category in FCE
Create Folder and Add categories in it.
And Use below code.
Where pid in flux:wizard.list and flux:wizard.add is your folder ID.
<flux:field.tree table="sys_category" parentField="parent" maxLevels="10" expandAll="1" name="syscategories" size="20" width="900" />
<flux:field.input name="settings.systemcategory" label="System Category">
<flux:wizard.list label="List System Categories" hideParent="1" table="sys_category" pid="38" width="80" height="80" />
<flux:wizard.edit label="Edit System Categories" width="80" height="80" openOnlyIfSelected="1" />
@vijayrami
vijayrami / Flex Form Changes Based On Selection in TYPO3 FCE
Created December 3, 2015 09:17
Flex Form Changes Based On Selection in TYPO3 FCE
<flux:field.select name="mode" items=" ,tab,pill" required="1" requestUpdate="TRUE" />
<f:if condition="{0: mode} == {0: 'tab'}">
<flux:field.select name="tabDirection" items="above,below,left,right" />
</f:if>
@vijayrami
vijayrami / How to make Richtext Editors Works Perfectly in Typo3 FCE
Created December 3, 2015 11:46
How to make Richtext Editors Works Perfectly in Typo3 FCE
<flux:field.text name="" label="" defaultExtras="richtext:rte_transform[flag=rte_enabled|mode=ts_css]" cols="3" rows="4" enableRichText="1" />
@vijayrami
vijayrami / How to open links in new window properly in Typo3 FCE
Created December 3, 2015 12:03
How to open links in new window properly in Typo3 FCE
@vijayrami
vijayrami / How to Check String Contains Certain Words with viewhelper in Typo3 FCE
Created December 3, 2015 12:21
How to Check String Contains Certain Words with viewhelper in Typo3 FCE
<v:condition.string.contains then="{}" else="{}" haystack="string" needle="some word"></v:condition.string.contains>
@vijayrami
vijayrami / How To disable Page Configuration tab in typo3 backend
Created December 3, 2015 12:40
How To disable Page Configuration tab in typo3 backend
Add Below Code in your Page Typoscript Configuration.
# For Not Displaying page Configuration tab
TCEFORM.pages.tx_fed_page_flexform {
# You cannot edit the Page Configuration field now:
disabled = 1
}
TCEFORM.pages.tx_fed_page_flexform_sub {
# You cannot edit the Page Page Configuration - subpages field now:
disabled = 1
@vijayrami
vijayrami / How to Change Typo3 News Extension's Templates Path
Created December 3, 2015 13:24
How to Change Typo3 News Extension's Templates Path
From backend go into your root template (or in extension template where News Extension is included).
In that, in Constants Editor Add below code:
plugin.tx_news {
view {
templateRootPath = EXT:yourtemplate/Resources/Private/Templates/Extensions/News/Templates/
partialRootPath = EXT:yourtemplate/Resources/Private/Templates/Extensions/News/Partials/
layoutRootPath = EXT:yourtemplate/Resources/Private/Templates/Extensions/News/Layouts/
}
@vijayrami
vijayrami / How to Change Typo3 Powermail Extension's Templates Path
Created December 3, 2015 13:35
How to Change Typo3 Powermail Extension's Templates Path
From backend go into your root template (or in extension template where Powermail Extension is included).
In that, in Constants Editor Add below code:
plugin.tx_powermail {
view {
templateRootPath = EXT:yourtemplate/Resources/Private/Templates/Extensions/Powermail/Templates/
partialRootPath = EXT:yourtemplate/Resources/Private/Templates/Extensions/Powermail/Partials/
layoutRootPath = EXT:yourtemplate/Resources/Private/Templates/Extensions/Powermail/Layouts/
}
@vijayrami
vijayrami / How to Change Typo3 Index Search Extension's Templates Path
Last active December 3, 2015 13:49
How to Change Typo3 Index Search Extension's Templates Path
From backend go into your root template.
In Setup, Add below code:
config.index_enable = 1
config.index_externals = 1
config.index_metatags = 1
plugin.tx_indexedsearch {
_CSS_DEFAULT_STYLE >