TYPO3 – Disable upload option for images fields in DS
A small tip today but usefull for contributors.
When you make a FCE, and use fields of type "image" of "image fixed W + H", the contributor can select image in TYPO3 or upload a new one.
TYPO3 – Auto assign not-logged feuser to a fegroup
In today's short snippet, I'll give you the easiest way I now to to assign a fegroup to your visitors, without login.
1- Begin by creating your FEgroup if not done yet.
2- In your localconf.php, for exemple, add those lines :
-
$ip = $_SERVER['REMOTE_ADDR'];
3- Replace "GROUPID" by the id of the FEgroup.
Now all your visitors are members of this FEgroup.
Enjoy !
TYPO3 – Get FCE’s header title in your DataStructure
Hi, today I'll give you a small but usefull tip if you use FCEs in your installations.
I prefere use the FCE's standard header title to name my FCEs and so display this title on the frontend.
TYPO3 – 4.5 set link target for page type “external url”
Recently, I've encountered a problem to define the target for my external urls in page tree.
The solution I found works on TYPO3 4.5 but not tested on older version.
- Edit external url page properties
- Go to the Behavior tab
- Set the field "Link target" with _blank (or other if needed).
PHP – Detect if script is running in CLI mode
It'll not be a long snippet for this.
Just a "have to know" snippet
Nothing more is needed.
Enjoy
