Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering TypoScript: TYPO3 Website, Template, and Extension Development
  • Table Of Contents Toc
Mastering TypoScript: TYPO3 Website, Template, and Extension Development

Mastering TypoScript: TYPO3 Website, Template, and Extension Development

4.6 (5)
close
close
Mastering TypoScript: TYPO3 Website, Template, and Extension Development

Mastering TypoScript: TYPO3 Website, Template, and Extension Development

4.6 (5)

Overview of this book

Free, open-source, flexible, and scalable, TYPO3 is one of the most powerful PHP content management systems. It is well suited for creating intranets and extranets for the enterprise. While providing an easy-to-use web interface for non-technical authors and editors of content, its messaging and workflow system enable shared authoring and collaboration. TYPO3 provides flexible and powerful interfaces for both content editors and administrators, giving them full control of the core aspects the system. However for developers who need to customize the system, TYPO3 offers a powerful configuration language called TypoScript. Good knowledge of TypoScript is really a prerequisite for implementing complex applications with TYPO3 and gives developers full control over the configuration of TYPO3 and its template engine. TypoScript enables the complete output template to be created and manipulated, giving you full control over the layout of the site. TypoScript also allows you to integrate dynamic contents, JavaScript-based menus, Flash, Graphics, etc. with ease. You have maximum control over the design of the website and can control all options that would otherwise be addressed by HTML-simple text output, formatting, and much more. TypoScript also allows you to generate graphics at run time and display different content dynamically.
Table of Contents (19 chapters)
close
close
Mastering TypoScript: TYPO3 Website, Template, and Extension Development
Credits
About the Author
Preface

JavaScript Menus


You can generate JavaScript-controlled menus with the JSMENU object. These very easily generate various list boxes with various contents.

In this example, the main categories are shown in the left drop-down list box. If you pick one of them, the corresponding sub-pages appear in the left drop-down box. The code responsible for this is as follows:

page.10.marks.MENU = HMENU
page.10.marks.MENU.entryLevel = <0
page.10.marks.MENU.1 = JSMENU
page.10.marks.MENU.1 {
levels = 2
1{
wrap = |&nbsp;
showActive = 1
firstLabel = Please select
}
2 > .1
2.firstLabel = Sub-menu
}
}

You can now select the entry level for the menu using the already familiar entryLevel property. Now to the actual JSMENU; with levels, you can define the number of levels to be displayed. The value that is defined here determines the number of drop-down lists the menu will consist of. A JSMENU can have a maximum of five levels.

Next you define the individual menu levels. And showActive determines...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering TypoScript: TYPO3 Website, Template, and Extension Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon