TSConfig

Getting back after a long gap

scwebs-logo

SCWEBS Info Solutions PVT LTD, is already 3 years old Indian Company. The journey through these years had been really tough and challenging. Together with my experience in Chandan Web Solutions, our total TYPO3 expertise rises to 10+ years. I was involved with TYPO3 since version 3.8, but within 6 months of knowing TYPO3 the version 4.0 came in.

Since beginning we just had TYPO3 as our main and core expertise. It is during the year 2016 till date, that we started gathering knowledge in several other areas. Our main goal was not just to have a peek into these new technologies, but to have in-depth subject expertise in what we learn.

On one hand we learnt new CMS systems like Drupal, WordPress, and Joomla. On the other hand we explored some of the core PHP frameworks like Symfony, Laravel and CakePHP.

E-Commerce systems like WooCommerce and Prestashop remained on top of our pick list Finally Magento was completely dropped off from our palette.

Quality always came at a price, and we always had a good struggle to prove ourselves on our prices. Initially it had been extremely tough time convincing our European friends that we could really work on TYPO3!

Our TYPO3 journey started with TYPO3 version 3.8. When we started working on TYPO3 4.x I met Francois Suter. This was never possible without the help of my TYPO3 Guru Francois Suter. Who carefully carved me and gave in-depth ideas about TYPO3.

Today, we are working hard to migrate nearly 20+ websites from TYPO3 version 4.5 and TYPO3 version 4.6. This list also had two peculiar website that ran TYPO3 version 3.8 which is already migrated to TYPO3 version 9. One peculiar issue that we are facing is with RealURL, which we must soon overcome.

Along with these, we are also working on a good WooCommerce based solution, and a custom WordPress integration as well. Product development is also on the card, which is soon going to kick off.

Year 2018 is getting busier, and we are happy that we are getting back on. Our site had been helpful for TYPO3 community for quite many years. Since last few years this had changed. I am also planning to write more on technical side. This time the concetration will be on my entire technical knowledge, and not just on TYPO3. There is also an article waiting for a simple step to migrate TYPO3 to version 9.

We are also updating our website with a new year 2018 theme. This new site, which is all colorful, is going to showcase our TYPO3 skills, as well as our new expert areas.

Finally I WISH YOU ALL READERS a HAPPY and PROSPEROUS NEW YEAR.

scwebs-logo-mini

Customize Templavoila new content element wizard

templavoila.wizards.newContentElement {
# Activate tabs for new content element wizard in TV
renderMode = tabs

wizardItems.common.elements.tx_custom_bigimage {
icon = Images/Bigimage.png
title = BG Image
description = BG Image
tt_content_defValues {
CType = tx_custom_bigimage
}
}
wizardItems.common.show := addToList(tx_custom_bigimage)
}

Where tx_custom_bigimage is custom content type. we need to add this code in pagetsconfig of root page.

Please refer to screenshot for more info.New content Element Wizard

TYPO3 adding section frames.

Below is the way how we can add the section frames by preserving the content element ID. This way works on TYPO3 6.x.

1. In TS template

### FRAMES ###
tt_content.stdWrap.innerWrap.cObject {
100 < tt_content.stdWrap.innerWrap.cObject.default
100.20.10.value = boxclass
}

2. In page TS Config

TCEFORM.tt_content.section_frame {
addItems.100 = My custom box
}

This snippet informs how to add or allow custom tags in RTE

PAGE TS CONFIG AS FOLLOWS:

# Allow embed, parm, object and iframe tags, also see RTE parser code added in config.ts
RTE.default.proc {
allowTags := addToList(object,param,embed,iframe)
allowTagsOutside := addToList(object,embed,iframe)
entryHTMLparser_db.allowTags < RTE.default.proc.allowTags
}

TYPOSCRIPT SETUP SHOULD BE AS FOLLOWS

# Allow embed, parm, object and iframe tags, also see RTE setup added in rte.ts
lib.parseFunc_RTE.allowTags := addToList(object,param,embed,iframe)