Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
some more reorganization of code
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Mar 9, 2012
1 parent a245080 commit 488c486
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.py?
*.sw?
.DS_Store

src/plone.app.texttile.egg-info/
/plone.app.texttile.egg-info/
9 changes: 7 additions & 2 deletions plone/app/texttile/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
xmlns:plone="http://namespaces.plone.org/plone"
i18n_domain="plone">

<includeDependencies package="." />
<include package="plone.tiles" />

<browser:resourceDirectory
name="plone.app.texttile"
directory="static"
/>

<genericsetup:registerProfile
name="default"
Expand All @@ -21,7 +26,7 @@
title="Text tile"
description="A tile which adds text"
add_permission="zope.Public"
class=".text.TextTile"
class=".tile.TextTile"
for="*"
permission="zope2.View"
/>
Expand Down
4 changes: 4 additions & 0 deletions plone/app/texttile/profiles/default/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<metadata>
<version>1</version>
</metadata>
17 changes: 17 additions & 0 deletions plone/app/texttile/profiles/default/registry.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<registry>

<record name="plone.app.deco.tiles">
<value purge="false">
<element>plone.app.deco.tile_text</element>
</value>
</record>
<records prefix="plone.app.deco.tile_text"
interface="plone.app.deco.interfaces.ITile">
<value key="name">text</value>
<value key="label">Text</value>
<value key="group">structure</value>
<value key="icon">++resource++plone.app.texttilemicon.png</value>
</records>

</registry>
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 488c486

Please sign in to comment.