image

Blog

In this example we have described how to extend the extension.
Here we are adding a field called 'mobile' to the fe_users table and described how we can extend it to the original extension.

 

Step1:...

Read more

After I moved TYPO3 site from one server to another, I got the blank page with following error on error log.

mod_fcgid: stderr: PHP Strict Standards:  Non-static method t3lib_div::getClassName()...

Read more

On the file EXT:myext/Classes/Xclass/ContentObjectRenderer.php



<?php
namespace TYPO3\Myext\Xclass;

class ContentObjectRenderer extends \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer {

    /**
  ...

Read more

Here is how we can wrap text content element by custom div class.

temp.text < tt_content.text
tt_content.text = CASE
tt_content.text {
    key.field = layout

    0 < temp.text
    0.stdWrap.innerWrap =...

Read more

How to add the section frames by preserving the content element ID.

1. In TS template


tt_content.stdWrap.innerWrap.cObject {
    100 < tt_content.stdWrap.innerWrap.cObject.default
    100.20.10.value =...

Read more

Standard-Repository-Methods


// add
$myRepository->add($myModel);
 
// remove
$myRepository->remove($myModel);
 
// removeAll
$myRepository->removeAll();
 
// replace
$myRepository->replace($myModel,...

Read more

ext_tables.php


#
# TABLE STRUCTURE FOR TABLE 'cf_extkey_cache'
#
CREATE TABLE cf_extkey_cache (
    id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
    identifier VARCHAR(250) DEFAULT '' NOT NULL,
    crdate...

Read more

This works for tx_news (news system)

[globalVar = GP:tx_news_pi1|news > 0]
temp.newstitle = CONTENT
temp.newstitle {
     table = tx_news_domain_model_news
     select {
         selectFields = title
     ...

Read more
Categories