Login / Status
developer.Resource
Home . Extensions . Repository
Sponsors
hosted by punkt.deTYPO3 and Open Source MagazineAOE Media

Extension Repository

The official extension repository only consists of freely available extensions. New documentation is rendered once a day.


Page StyleSheet Selector


InfoRatingsFeedback


  • Icon
    css_select
    Title
    Page StyleSheet Selector
    Extension key
    ( css_select )
    State
    stable, Not reviewed!
    Author
    Jean-David Gadina
    Category
    be
    Version
    1.0.3
    Manual
    Read online
    Downloads (total / this version)
    7732 / 408
    Rating
    none
    Updated
    02.05.2008
    Upload comment
    Fixed a bug on Internet Explorer...
    Description
    Select one or more stylesheet(s) for each page of the tree... The goal of this extension is to drastically reduce the weight of the pages generated by TYPO3, by including only the styles needed in the page.
  • Dependencies
    • depends on php 5.2.0-0.0.0
    Reverse dependencies

    The following extension versions depend on this extension:

    Version history
    • 1.0.2: 1.0.2: Bugfix release. 1.0.1: Fixed a critical bug with the DirectoryIterators. 1.0.0: New version, only available for PHP 5... Please carefully read the manual for the requirements and the update procedure!
    • 1.0.1: Fixed a critical bug with the DirectoryIterators. New version, only available for PHP 5... Please carefully read the manual for the requirements and the update procedure!
    • 1.0.0: New version, only available for PHP 5... Please carefully read the manual for the requirements and the update procedure!
    • 0.5.0: Added an option to allow the use of multiple file extensions for the CSS files.
    Download extension

    Download compressed extension .T3X file

  • Filename Size View Date Download
    class.ext_update.php 12.3 K View 04.04.2008 Download
    class.tx_cssselect_handlestylesheets.php 7.2 K View 05.04.2008 Download
    ext_conf_template.txt 454 View 03.04.2008 Download
    ext_icon.gif 239 View 10.07.2007 Download
    ext_localconf.php 439 View 03.04.2008 Download
    ext_tables.php 2.2 K View 03.04.2008 Download
    ext_tables.sql 166 View 03.04.2008 Download
    locallang_db.xml 1.3 K View 03.04.2008 Download
    doc/manual.sxw 178 K 02.05.2008 Download
    pi1/class.tx_cssselect_pi1.php 12.7 K View 02.05.2008 Download
    res/css.gif 614 View 03.04.2008 Download
    static/constants.txt 2.1 K View 03.04.2008 Download
    static/setup.txt 1.8 K View 31.03.2008 Download
    Preview for file css_select-1.0.3-static__setup__txt:
    
    /***************************************************************
     * Copyright notice
     *
     * (c) 2004 macmade.net
     * All rights reserved
     *
     * This script is part of the TYPO3 project. The TYPO3 project is 
     * free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2 of the License, or
     * (at your option) any later version.
     *
     * The GNU General Public License can be found at
     * http://www.gnu.org/copyleft/gpl.html.
     *
     * This script is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * This copyright notice MUST APPEAR in all copies of the script!
     ***************************************************************/

    /**
     * Default TS setup - Extension 'CSS Select'
     *
     * @author      Jean-David Gadina (info@macmade.net)
     * @version     1.0
     */

    /**
     * PI1 object - CSS Select
     */
    plugin.tx_cssselect_pi1 {
        
        // Recursive option
        recursive   = {$plugin.tx_cssselect_pi1.recursive}
        
        // Use import commands
        importRules = {$plugin.tx_cssselect_pi1.importRules}
        
        // Use XHTML rules
        xHTML       = {$plugin.tx_cssselect_pi1.xHTML}
        
        // CSS media
        cssMedia    = {$plugin.tx_cssselect_pi1.cssMedia}
        
        // Link type parameter
        cssType     = {$plugin.tx_cssselect_pi1.cssType}
        
        // Link rel parameter
        linkRel     = {$plugin.tx_cssselect_pi1.linkRel}
        
        // Link charset parameter
        linkCharset = {$plugin.tx_cssselect_pi1.linkCharset}
        
        // CSS comments
        cssComments = {$plugin.tx_cssselect_pi1.cssComments}
    }

    // Page header data
    page.headerData.9000 < plugin.tx_cssselect_pi1