Changeset 2569 in products for quintagroup.themetemplate/trunk/quintagroup.themetemplate.egg-info
- Timestamp:
- Jun 24, 2010 11:11:18 AM (14 years ago)
- Location:
- quintagroup.themetemplate/trunk/quintagroup.themetemplate.egg-info
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.themetemplate/trunk/quintagroup.themetemplate.egg-info/PKG-INFO
r1364 r2569 1 1 Metadata-Version: 1.0 2 2 Name: quintagroup.themetemplate 3 Version: 0.2 .23 Version: 0.23 4 4 Summary: Quintagroup theme template for Plone 3 with nested namespace 5 5 Home-page: http://svn.quintagroup.com/products/quintagroup.themetemplate … … 51 51 Use `paster create` command for that:: 52 52 53 >>> paster('create -t qplone3_theme plone.example --no-interactive --overwrite')54 paster create -t qplone3_theme plone.example --no-interactive53 >>> paster('create -t qplone3_theme quintagroup.theme.example --no-interactive --overwrite') 54 paster create -t qplone3_theme quintagroup.theme.example --no-interactive 55 55 ... 56 56 57 57 You got standard python package content with 58 58 - *quintagroup* upper level namespace. 59 - * plone.example-configure.zcml* - zcml file59 - *quintagroup.theme.example-configure.zcml* - zcml file 60 60 for adding into package-includes directory 61 61 62 62 Check that:: 63 63 64 >>> package_dir = 'plone.example' 65 >>> objects = ('setup.py', 'quintagroup', 'plone.example-configure.zcml') 66 >>> [True for o in objects if o in os.listdir(package_dir)] 67 [True, True, True] 64 >>> package_dir = 'quintagroup.theme.example' 65 >>> objects = ['setup.py', 'quintagroup', 'quintagroup.theme.example-configure.zcml'] 66 >>> objects.sort() 67 >>> [o for o in objects if o in os.listdir(package_dir)] 68 ['quintagroup', 'quintagroup.theme.example-configure.zcml', 'setup.py'] 68 69 69 70 … … 72 73 By default - theme is placed in 73 74 74 quintagroup.theme.< package name without dot> namespace75 76 in our case - quintagroup.theme. ploneexample75 quintagroup.theme.<3rd part of dotted package name> namespace 76 77 in our case - quintagroup.theme.example 77 78 78 79 So check namespaces:: 79 80 80 >>> theme_namespace = os.path.join(package_dir,'quintagroup','theme',' ploneexample')81 >>> theme_namespace = os.path.join(package_dir,'quintagroup','theme','example') 81 82 >>> os.path.isdir(theme_namespace) 82 83 True … … 137 138 138 139 Create the same theme with your own skin name and check this 139 >>> paster('create -t qplone3_theme plone.example --no-interactive --overwrite --config=theme_config.conf')140 >>> paster('create -t qplone3_theme quintagroup.theme.example --no-interactive --overwrite --config=theme_config.conf') 140 141 paster create ... 141 142 >>> cd(package_dir) 142 >>> cat('quintagroup/theme/ ploneexample/browser/configure.zcml')143 >>> cat('quintagroup/theme/example/browser/configure.zcml') 143 144 <configure 144 145 ... … … 158 159 159 160 But check whether I am right ... 160 >>> cd('quintagroup/theme/ ploneexample')161 >>> cd('quintagroup/theme/example') 161 162 >>> ls('skins') 162 163 README.txt … … 187 188 >>> cat('skins.xml') 188 189 <?xml version="1.0"?> 190 ... 189 191 <object name="portal_skins" ... 190 192 default_skin="My Theme Name"> … … 202 204 <?xml version="1.0"?> 203 205 ... 204 <import-step id="quintagroup.theme. ploneexample.various"205 ... 206 handler="quintagroup.theme. ploneexample.setuphandlers.setupVarious"206 <import-step id="quintagroup.theme.example.various" 207 ... 208 handler="quintagroup.theme.example.setuphandlers.setupVarious" 207 209 ... 208 210 </import-step> … … 284 286 >>> cat('profiles/default/skins.xml') 285 287 <?xml version="1.0"?> 288 ... 286 289 <object name="portal_skins" allow_any="False" cookie_persistence="False" 287 290 default_skin="My Theme Name"> … … 289 292 <object name="skin_layer" 290 293 meta_type="Filesystem Directory View" 291 directory="quintagroup.theme. ploneexample:skins/skin_layer"/>292 <BLANKLINE>294 directory="quintagroup.theme.example:skins/skin_layer"/> 295 ... 293 296 <skin-path name="My Theme Name" based-on="Plone Default"> 294 297 ... … … 317 320 >>> paster('addcontent --no-interactive portlet') 318 321 paster addcontent --no-interactive portlet 322 ... 319 323 Recursing into portlets 320 324 ... … … 340 344 ... 341 345 <plone:portlet 342 name="quintagroup.theme. ploneexample.portlets.ExamplePortlet"346 name="quintagroup.theme.example.portlets.ExamplePortlet" 343 347 interface=".exampleportlet.IExamplePortlet" 344 348 assignment=".exampleportlet.Assignment" … … 357 361 ... 358 362 <portlet 359 addview="quintagroup.theme. ploneexample.portlets.ExamplePortlet"363 addview="quintagroup.theme.example.portlets.ExamplePortlet" 360 364 title="Example portlet" 361 365 description="" 366 i18n:attributes="title; description" 362 367 /> 363 368 ... … … 400 405 ... 401 406 <browser:resourceDirectory 402 name="quintagroup.theme. ploneexample.stylesheets"407 name="quintagroup.theme.example.stylesheets" 403 408 directory="stylesheets" 404 409 layer=".interfaces.IThemeSpecific" … … 417 422 <BLANKLINE> 418 423 <stylesheet title="" 419 id="++resource++quintagroup.theme. ploneexample.stylesheets/main.css"424 id="++resource++quintagroup.theme.example.stylesheets/main.css" 420 425 media="screen" rel="stylesheet" rendering="inline" 421 426 cacheable="True" compression="safe" cookable="True" … … 475 480 <BLANKLINE> 476 481 <stylesheet title="" 477 id="++resource++quintagroup.theme. ploneexample.stylesheets/main.css"482 id="++resource++quintagroup.theme.example.stylesheets/main.css" 478 483 media="screen" rel="stylesheet" rendering="inline" 479 484 cacheable="True" compression="safe" cookable="True" … … 515 520 ... 516 521 <browser:resourceDirectory 517 name="quintagroup.theme. ploneexample.scripts"522 name="quintagroup.theme.example.scripts" 518 523 directory="scripts" 519 524 layer=".interfaces.IThemeSpecific" … … 532 537 ... 533 538 <javascript 534 id="++resource++quintagroup.theme. ploneexample.scripts/foo.js"539 id="++resource++quintagroup.theme.example.scripts/foo.js" 535 540 inline="False" cacheable="True" compression="safe" 536 541 cookable="True" enabled="1" … … 595 600 ... 596 601 <browser:viewlet 597 name="quintagroup.theme. ploneexample.example"602 name="quintagroup.theme.example.example" 598 603 manager="plone.app.layout.viewlets.interfaces.IPortalHeader" 599 604 class=".viewlets.Example" … … 617 622 skinname="My Theme Name" > 618 623 ... 619 <viewlet name="quintagroup.theme. ploneexample.example" insert-after="*" />624 <viewlet name="quintagroup.theme.example.example" insert-after="*" /> 620 625 <BLANKLINE> 621 626 </order> … … 696 701 697 702 2. import_steps.xml was added in profiles/import_zexps directory, 698 which contains additional *quintagroup.theme. ploneexample.import_zexps* step.703 which contains additional *quintagroup.theme.example.import_zexps* step. 699 704 700 705 >>> 'import_zexps' in os.listdir('profiles') … … 706 711 <?xml version="1.0"?> 707 712 ... 708 <import-step id="quintagroup.theme. ploneexample.import_zexps"713 <import-step id="quintagroup.theme.example.import_zexps" 709 714 version="..." 710 handler="quintagroup.theme. ploneexample.setuphandlers.importZEXPs"715 handler="quintagroup.theme.example.setuphandlers.importZEXPs" 711 716 title="My Theme Name: Import zexps objects"> 712 717 Import zexp objects into portal on My Theme Name theme installation -
quintagroup.themetemplate/trunk/quintagroup.themetemplate.egg-info/SOURCES.txt
r1364 r2569 13 13 quintagroup.themetemplate.egg-info/requires.txt 14 14 quintagroup.themetemplate.egg-info/top_level.txt 15 quintagroup/themetemplate/README.txt 15 16 quintagroup/themetemplate/__init__.py 16 17 quintagroup/themetemplate/qplone3_theme.py
Note: See TracChangeset
for help on using the changeset viewer.