Blog

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