are mostly related to Typo3 and jQuery issues and their fixes. We provide most adequate solutions to the problems.
Page 3 of 5.
Below typoscript, adds news metadata to page, like this
<meta name="keywords" content="newskeyword1,keyword2" />
[globalVar = TSFE:id = {$news_detail_pid}]
#Remove default metadata and add…
To create typolinks in a schedular or CommandController, first we need to initialize the TSFE. Later we can use typoLink_URL() to generate the links.
Below are the steps.
1. Initialize the TSFE
…
Here I am extending the table pages to have the checkbox "No index" on every page.
On ext_tables.sql of custom extension,
CREATE TABLE pages (
no_index tinyint(4) DEFAULT '0' NOT NULL
);
In some cases, we need to show only the records selected in plugin flex form.
In controller, if we get those values, it will be comma separated and they are in the selected order.
But if we run…
Below is the typoscript, that wraps the content element by <div class="content"></div> only if specified section frame is selected.
tt_content.stdWrap.wrap = <div class="content">|</div>tt_content.st…
This example shows how we can get the result of user function to an object. Write the following typoscript to call the user function
Including the file.
includeLibs.getpagecontent =…
To include the file only for the browser IE 9, Add the following typoscript.
page = PAGEpage.includeCSS { file1 = fileadmin/templates/{$projectName}/css/style-ie9.css file1.allWrap =…
This is the function to validate for the number when a key is pressed to fill the input field.HTML
<div class="wrapper"> <form method="" name="" > <input type="text" value="" name=""…
Some times we define DateTime property for a variable in model and in front end we provide different values.This leads to an error while creating or updating the object's value.In such cases we need…
To download the files that are added from the FCE, instead opening them in the browser, please add the following code
The XML structure
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><T…