Changeset 1364 in products


Ignore:
Timestamp:
Nov 5, 2009 2:51:35 PM (10 years ago)
Author:
mylan
Message:

Update history, bump version to 0.2.2, updated egg-info data

Location:
quintagroup.themetemplate/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.themetemplate/trunk/docs/HISTORY.txt

    r1357 r1364  
    11Changelog 
    22========= 
     3 
     40.2.2 (unreleased) 
     5------------------ 
     6 
     7- Updated import_zexps subtemplate - move this step into 
     8  separate genericsetup profile 
     9  [mylan] 
     10- Updated tests for changed import_zexps subtemplate 
     11  [mylan] 
     12 
     130.2 (unreleased) 
     14---------------- 
     15 
     16- Added new css_dtml_skin subtemplate 
     17  [mylan] 
     18- Added tests for css_dtml_skin subtemplate 
     19  [mylan] 
    320 
    4210.14 (unreleased) 
  • quintagroup.themetemplate/trunk/quintagroup.themetemplate.egg-info/PKG-INFO

    r1005 r1364  
    11Metadata-Version: 1.0 
    22Name: quintagroup.themetemplate 
    3 Version: 0.9dev 
     3Version: 0.2.2 
    44Summary: Quintagroup theme template for Plone 3 with nested namespace 
    55Home-page: http://svn.quintagroup.com/products/quintagroup.themetemplate 
     
    1010        ====================== 
    1111         
     12        quintagroup.themetemplate is an enhanced "Plone 3 Theme" template from Zopeskel, 
     13        that includes addcontent local command, which allows you to extend base Plone theme 
     14        by additional elements, such as: skin layers, portlets, viewlets, css and js resources, 
     15        and objects in zexp files. This package is an analogue of Archetype template in terms 
     16        of its functionality. 
     17         
     18        quintagroup.themetemplate package is used for development of all Quintagroup themes 
     19        for Plone 3 (http://skins.quintagroup.com). 
     20         
    1221        Contents 
    1322        -------- 
     
    2029        ======== 
    2130         
    22         This theme template allows you to create plone3 theme python package 
    23         with nested namespace. Initial package is theme package skeleton. 
    24         This package can be extended (filled in) with: 
     31        This theme template allows you to create initial theme package skeleton, 
     32        i.e. create plone3 theme python package with nested namespace (this is different from 
     33        deafult plone3_theme template in Zopeskel) 
     34         
     35        After that you can extend theme package by the following elements: 
    2536         
    2637        - skin-layer(s) 
     
    2839        - viewlet(s) 
    2940        - css, js resource(s) 
     41        - objects in zexp files 
    3042         
    3143        Creation of a package is performed with *paster create* PasteScript command. 
     
    6577         
    6678        So check namespaces:: 
     79         
    6780        >>> theme_namespace = os.path.join(package_dir,'quintagroup','theme','ploneexample') 
    6881        >>> os.path.isdir(theme_namespace) 
     
    7083         
    7184        Theme holds 3 subdirectories (browser, profiles, skins):: 
     85         
    7286        >>> cd(theme_namespace) 
    7387        >>> dirs = ('skins', 'browser', 'profiles') 
     
    7690         
    7791        And initialization files (__init__.py, configure.zcml) :: 
     92         
    7893        >>> files = ('__init__.py', 'configure.zcml') 
    7994        >>> [True for d in files if d in os.listdir('.')] 
     
    206221        One of the best features, which ZopeSkel package brings, is *localcommand*. 
    207222         
    208         In this part I will show how you can extend a theme (generated with qplone3_theme 
     223        This part shows how you can extend a theme (generated with qplone3_theme 
    209224        ZopeSkel template) with additional useful stuff: 
    210225         
     
    215230        - css 
    216231        - javascripts 
     232        - objects in zexp files 
    217233         
    218234        So, in qplone3_theme generated package you can use *addcontent* ZopeSkel 
     
    226242        paster addcontent -a 
    227243        ... 
     244        css_dtml_skin:   A DTML file in skin layer with CSS registration 
    228245        css_resource:    A Plone 3 CSS resource template 
    229246        ... 
     
    408425         
    409426         
     427        Adding CSS resource as dtml-file into skins layer 
     428        ================================================= 
     429         
     430        This template actually absolutely same to the previouse one, but layer_name 
     431        variable added to point in which skin layer css dtml-file should be added to. 
     432        And, of course, css resource added into pointing *skins/<layer_name>/<css_reseource_name>.dtml* file. 
     433         
     434        This subtemplate has several benefits before registering css as resource layer: 
     435        - in dtml file you can use power of dtml language 
     436        - this resource can be overriden by customer if he needs that 
     437         
     438        IMPORTANT: 
     439        For add css resource in registered skin layer - you should use this subtemplate 
     440        in conjunction with *skin_layer* one. 
     441         
     442         
     443        Use *css_dtml_skin* subtemplate. 
     444         
     445        >>> paster("addcontent --no-interactive css_dtml_skin") 
     446        paster addcontent --no-interactive css_dtml_skin 
     447        Recursing into profiles 
     448        ... 
     449        Recursing into skins 
     450        ... 
     451         
     452        This template adds main.css.dtml file into skins/skin_layer folder 
     453         
     454        >>> 'main.css.dtml' in os.listdir('skins/skin_layer') 
     455        True 
     456         
     457        The main.css.dtml file already prepared to use as dtml-document 
     458        >>> cat('skins/skin_layer/main.css.dtml') 
     459        /* 
     460        ... 
     461        /* <dtml-with base_properties> (do not remove this :) */ 
     462        ... 
     463        /* </dtml-with> */ 
     464        <BLANKLINE> 
     465         
     466         
     467        And cssregistry.xml profile was added into profiles/default directory with 
     468        registered main.css stylesheet 
     469         
     470        >>> 'cssregistry.xml' in os.listdir('profiles/default') 
     471        True 
     472        >>> cat('profiles/default/cssregistry.xml') 
     473        <?xml version="1.0"?> 
     474        <object name="portal_css"> 
     475        <BLANKLINE> 
     476        <stylesheet title="" 
     477        id="++resource++quintagroup.theme.ploneexample.stylesheets/main.css" 
     478        media="screen" rel="stylesheet" rendering="inline" 
     479        cacheable="True" compression="safe" cookable="True" 
     480        enabled="1" expression=""/> 
     481        ... 
     482         
     483         
    410484        Adding JAVASCRIPT resource 
    411485        -------------------------- 
     
    603677        Recursing into profiles 
    604678        ... 
     679        Inserting from profiles.zcml_insert ... 
     680        ... 
    605681        Inserting from setuphandlers.py_insert into ... 
    606682        ... 
     
    609685        - 'import' directory was added into root of the theme 
    610686        - profiles stuff was updated 
     687        - profiles.zcml file is updated 
    611688        - some stuff into setuphandlers.py module was inserted 
    612689         
     
    618695         
    619696         
    620         2. import_steps.xml was added in profiles/default directory (if does not exist yet), 
     697        2. import_steps.xml was added in profiles/import_zexps directory, 
    621698        which contains additional *quintagroup.theme.ploneexample.import_zexps* step. 
    622699         
    623         >>> 'import_steps.xml' in os.listdir('profiles/default') 
    624         True 
    625          
    626         >>> cat('profiles/default/import_steps.xml') 
    627         <?xml version="1.0"?> 
    628         <import-steps> 
     700        >>> 'import_zexps' in os.listdir('profiles') 
     701        True 
     702        >>> 'import_steps.xml' in os.listdir('profiles/import_zexps') 
     703        True 
     704         
     705        >>> cat('profiles/import_zexps/import_steps.xml') 
     706        <?xml version="1.0"?> 
    629707        ... 
    630708        <import-step id="quintagroup.theme.ploneexample.import_zexps" 
     
    632710        handler="quintagroup.theme.ploneexample.setuphandlers.importZEXPs" 
    633711        title="My Theme Name: Import zexps objects"> 
    634         <dependency step="skins" /> 
    635712        Import zexp objects into portal on My Theme Name theme installation 
    636713        </import-step> 
    637714        <BLANKLINE> 
    638         </import-steps> 
    639          
    640         3. Check setuphandlers.py module - there must be importZEXPs function defined 
     715        ... 
     716         
     717        3. profiles.zcml configuration updated with new genericsetup profile for zexps 
     718        importing. 
     719         
     720        >>> cat('profiles.zcml') 
     721        <configure 
     722        ... 
     723        <genericsetup:registerProfile 
     724        name="import_zexps" 
     725        title="My Theme Name: Import ZEXPs" 
     726        directory="profiles/import_zexps" 
     727        description='Extension profile for importing objects of the "My Theme Name" Plone theme.' 
     728        provides="Products.GenericSetup.interfaces.EXTENSION" 
     729        /> 
     730        <BLANKLINE> 
     731        ... 
     732         
     733        4. Check setuphandlers.py module - there must be importZEXPs function defined 
    641734         
    642735        >>> cat('setuphandlers.py') 
     
    669762        ========= 
    670763         
    671         0.9 (unreleased) 
     764        0.2.2 (unreleased) 
     765        ------------------ 
     766         
     767        - Updated import_zexps subtemplate - move this step into 
     768        separate genericsetup profile 
     769        [mylan] 
     770        - Updated tests for changed import_zexps subtemplate 
     771        [mylan] 
     772         
     773        0.2 (unreleased) 
    672774        ---------------- 
    673775         
    674         - Nothing changed yet. 
     776        - Added new css_dtml_skin subtemplate 
     777        [mylan] 
     778        - Added tests for css_dtml_skin subtemplate 
     779        [mylan] 
     780         
     781        0.14 (unreleased) 
     782        ----------------- 
     783         
     784        - Refactoring theme vars storage-now storing in separate 
     785        theme_vars.cfg file, without distutils writers [mylan] 
     786        - Cleanup code [mylan] 
     787         
     788         
     789        0.11 (2009-04-13) 
     790        ----------------- 
     791         
     792        - Removed setup.cfg 
     793        [mylan] 
     794         
     795         
     796        0.10 (2009-04-13) 
     797        ----------------- 
     798         
     799        - Updated README 
     800        [olha] 
     801         
     802         
     803        0.9 (2009-04-11) 
     804        ---------------- 
     805         
     806        - Changed package name/namespace to 
     807        quintagroup.themetemplate. 
     808        [mylan] 
    675809         
    676810         
  • quintagroup.themetemplate/trunk/quintagroup.themetemplate.egg-info/SOURCES.txt

    r1005 r1364  
    11MANIFEST.in 
    2 setup.cfg 
    32setup.py 
    43docs/HISTORY.txt 
     
    2423quintagroup/themetemplate/localcommands/templates/cssresource/browser/stylesheets/README.txt_tmpl 
    2524quintagroup/themetemplate/localcommands/templates/cssresource/profiles/default/cssregistry.xml_insert 
     25quintagroup/themetemplate/localcommands/templates/cssskinresource/profiles/default/cssregistry.xml_insert 
     26quintagroup/themetemplate/localcommands/templates/cssskinresource/skins/+layer_name+/+css_resource_name+.dtml_tmpl 
    2627quintagroup/themetemplate/localcommands/templates/importing/fixes.py_tmpl 
     28quintagroup/themetemplate/localcommands/templates/importing/profiles.zcml_insert 
    2729quintagroup/themetemplate/localcommands/templates/importing/setuphandlers.py_insert 
    2830quintagroup/themetemplate/localcommands/templates/importing/utils.py_tmpl 
    2931quintagroup/themetemplate/localcommands/templates/importing/import/CONTENT.txt 
    30 quintagroup/themetemplate/localcommands/templates/importing/profiles/default/import_steps.xml_insert 
     32quintagroup/themetemplate/localcommands/templates/importing/profiles/import_zexps/import_steps.xml_insert 
    3133quintagroup/themetemplate/localcommands/templates/jsresource/browser/configure.zcml_insert 
    3234quintagroup/themetemplate/localcommands/templates/jsresource/browser/scripts/+js_resource_name+_tmpl 
     
    4749quintagroup/themetemplate/templates/qplone3_theme/+project+-configure.zcml_tmpl 
    4850quintagroup/themetemplate/templates/qplone3_theme/MANIFEST.in_tmpl 
    49 quintagroup/themetemplate/templates/qplone3_theme/distwriters.py 
    5051quintagroup/themetemplate/templates/qplone3_theme/setup.py_tmpl 
     52quintagroup/themetemplate/templates/qplone3_theme/theme_vars.cfg_tmpl 
    5153quintagroup/themetemplate/templates/qplone3_theme/+namespace_package+/+namespace_package2+/+package+/__init__.py_tmpl 
    5254quintagroup/themetemplate/templates/qplone3_theme/+namespace_package+/+namespace_package2+/+package+/configure.zcml_tmpl 
     
    6264quintagroup/themetemplate/templates/qplone3_theme/+namespace_package+/+namespace_package2+/+package+/browser/templates/README.txt 
    6365quintagroup/themetemplate/templates/qplone3_theme/+namespace_package+/+namespace_package2+/+package+/portlets/__init__.py 
    64 quintagroup/themetemplate/templates/qplone3_theme/+namespace_package+/+namespace_package2+/+package+/portlets/__init__.pyc 
    6566quintagroup/themetemplate/templates/qplone3_theme/+namespace_package+/+namespace_package2+/+package+/portlets/configure.zcml_tmpl 
    6667quintagroup/themetemplate/templates/qplone3_theme/+namespace_package+/+namespace_package2+/+package+/profiles/default/+namespace_package+.+namespace_package2+.+package+_various.txt_tmpl 
  • quintagroup.themetemplate/trunk/quintagroup.themetemplate.egg-info/entry_points.txt

    r1005 r1364  
    66          skin_layer    = quintagroup.themetemplate.localcommands.subtemplates:SkinLayerSubTemplate 
    77          css_resource = quintagroup.themetemplate.localcommands.subtemplates:CSSSubTemplate 
     8          css_dtml_skin = quintagroup.themetemplate.localcommands.subtemplates:CSSSkinLayerSubTemplate 
    89          js_resource = quintagroup.themetemplate.localcommands.subtemplates:JSSubTemplate 
    910          viewlet_order = quintagroup.themetemplate.localcommands.subtemplates:ViewletOrderSubTemplate 
     
    1112          import_zexps = quintagroup.themetemplate.localcommands.subtemplates:ImportSubTemplate 
    1213 
    13           [distutils.setup_keywords] 
    14           theme_vars = quintagroup.themetemplate:assert_dict 
    15  
    16           [egg_info.writers] 
    17           theme_vars.txt = quintagroup.themetemplate:write_map 
    18  
    1914      # -*- Entry points: -*- 
    2015       
  • quintagroup.themetemplate/trunk/setup.py

    r1359 r1364  
    22import os 
    33 
    4 version = '0.14' 
     4version = '0.2.2' 
    55 
    66tests_require=['zope.testing'] 
Note: See TracChangeset for help on using the changeset viewer.