DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Scheduler demo: Hide page content

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed:2009-11-04T15:55:50
Classification:sm_scheddemo
Keywords:forDevelopers, forIntermediates, forAdvanced
Author:Steffen Müller
Email:typo3@t3node.com
Info 4:
Language:en

img-1 img-2 EXT: Scheduler demo: Hide page content - sm_scheddemo

EXT: Scheduler demo: Hide page content

Extension Key: sm_scheddemo

Language: en

Keywords: forDevelopers, forIntermediates, forAdvanced

Copyright 2000-2008, Steffen Müller, <typo3@t3node.com>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

EXT: Scheduler demo: Hide content of a page 1

`Introduction 3 <#1.1.Introduction|outline>`_

What does it do? 3

Screenshots 3

`Users manual 4 <#1.2.Users%20manual|outline>`_

`Administration 5 <#1.3.Administration|outline>`_

Introduction

What does it do?

' Scheduler Demo: Hide page content ' is a simple showcase extension to demonstrate how to write scheduler tasks in extensions. It adds a task called “Hide content” which hides all content elements of a given page.

Screenshots

Task information

img-3

Scheduled task

img-4

Edit task

img-5

Users manual

Please refer to the scheduler manual. This is just a showcase for extension development and does not provide “real” user functions.

Administration

  • Install the extension “sm_scheddemo” as usual in the extension manager. You need to have scheduler sysext already installed which is shipped with TYPO3 4.3.
  • After installation of “sm_scheddemo”, the scheduler provides a new task called 'Hide content'
  • To use the new task, add it to the scheduler queue. You will then be asked to edit the task. Beside the usual task properties like start, end or frequency, you'll have to enter the uid of the page where the content should be hidden. If you have no idea of adding or editing a scheduler task, please refer to the scheduler manual.
  • Make sure the _cli_scheduler BE user has proper access rights and is allowed to hide page content in the given page.
  • Once the task is running, it checks for content elements in the given page and hides all elements.
  • Have a look at the log module to see the action
  • Read the source code of the extension to get a clue of how to use it in your own extensions. Feel free to use the code examples. It's GPL of course. That's the main purpose of this extension.

5