Changeset 1363 in products for quintagroup.themetemplate/trunk/quintagroup/themetemplate
- Timestamp:
- Nov 5, 2009 2:48:47 PM (14 years ago)
- Location:
- quintagroup.themetemplate/trunk/quintagroup/themetemplate
- Files:
-
- 3 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.themetemplate/trunk/quintagroup/themetemplate/README.txt
r1360 r1363 669 669 Recursing into profiles 670 670 ... 671 Inserting from profiles.zcml_insert ... 672 ... 671 673 Inserting from setuphandlers.py_insert into ... 672 674 ... … … 675 677 - 'import' directory was added into root of the theme 676 678 - profiles stuff was updated 679 - profiles.zcml file is updated 677 680 - some stuff into setuphandlers.py module was inserted 678 681 … … 684 687 685 688 686 2. import_steps.xml was added in profiles/ default directory (if does not exist yet),689 2. import_steps.xml was added in profiles/import_zexps directory, 687 690 which contains additional *quintagroup.theme.ploneexample.import_zexps* step. 688 691 689 >>> 'import_steps.xml' in os.listdir('profiles/default') 690 True 691 692 >>> cat('profiles/default/import_steps.xml') 693 <?xml version="1.0"?> 694 <import-steps> 692 >>> 'import_zexps' in os.listdir('profiles') 693 True 694 >>> 'import_steps.xml' in os.listdir('profiles/import_zexps') 695 True 696 697 >>> cat('profiles/import_zexps/import_steps.xml') 698 <?xml version="1.0"?> 695 699 ... 696 700 <import-step id="quintagroup.theme.ploneexample.import_zexps" … … 698 702 handler="quintagroup.theme.ploneexample.setuphandlers.importZEXPs" 699 703 title="My Theme Name: Import zexps objects"> 700 <dependency step="skins" />701 704 Import zexp objects into portal on My Theme Name theme installation 702 705 </import-step> 703 706 <BLANKLINE> 704 </import-steps> 705 706 3. Check setuphandlers.py module - there must be importZEXPs function defined 707 ... 708 709 3. profiles.zcml configuration updated with new genericsetup profile for zexps 710 importing. 711 712 >>> cat('profiles.zcml') 713 <configure 714 ... 715 <genericsetup:registerProfile 716 name="import_zexps" 717 title="My Theme Name: Import ZEXPs" 718 directory="profiles/import_zexps" 719 description='Extension profile for importing objects of the "My Theme Name" Plone theme.' 720 provides="Products.GenericSetup.interfaces.EXTENSION" 721 /> 722 <BLANKLINE> 723 ... 724 725 4. Check setuphandlers.py module - there must be importZEXPs function defined 707 726 708 727 >>> cat('setuphandlers.py') -
quintagroup.themetemplate/trunk/quintagroup/themetemplate/templates/qplone3_theme/+namespace_package+/+namespace_package2+/+package+/profiles.zcml_tmpl
r1005 r1363 14 14 <genericsetup:registerProfile 15 15 name="uninstall" 16 title=" Uninstall $skinname"16 title="${skinname}: Uninstall" 17 17 directory="profiles/uninstall" 18 18 description='Uninstallation profile for the "${skinname}" Plone theme.' … … 20 20 /> 21 21 22 <!-- Extra configurations --> 23 <!-- -*- extra stuff goes here -*- --> 24 22 25 </configure>
Note: See TracChangeset
for help on using the changeset viewer.