This repository has been archived by the owner on Apr 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relocate docs to their egg nest and prepare versions for release
svn path=/plone.app.kss/trunk/; revision=12283
- Loading branch information
Showing
6 changed files
with
72 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,67 @@ | ||
plone.app.kss Package Readme | ||
========================= | ||
============================ | ||
|
||
KSS (Kinetic Style Sheets) for Plone | ||
|
||
Overview | ||
-------- | ||
This product gives generic KSS support for Plone. It depends on the product | ||
"kss.core". | ||
|
||
Installation | ||
------------ | ||
|
||
Compatible with Zope 2.10, and Plone 3.0. | ||
|
||
Features implemented | ||
-------------------- | ||
|
||
- Content tab replacer. This works with all the content (aka. "green") tabs | ||
including the non-action tabs in the setup screens. | ||
|
||
As we have no way to identify a macro for the content-region in the current | ||
templating system of Plone, we render down the whole template. As a speedup, | ||
we replace the main_template in the rendering context, this may or may not | ||
have an effect depending on the template. If we cannot find a template at | ||
all, we fall back to submit. | ||
|
||
Missing/TODOS: | ||
|
||
- The popups for leaving the edit region are not hooked in. (Needs | ||
javascript which is avoided in the first round.) | ||
|
||
- The loading of the kupu editor is done with a simple hack, it seems to | ||
be no clean way in javascript to find when the iframe has been loaded, | ||
some more complex hack is needed for this that works on all browsers | ||
and is reliable in all the cases. | ||
|
||
- Portlet refresher | ||
|
||
We currently refresh the "recent" portlet. The rendering of the portlet is | ||
done by the general macro renderer, the portlet is then replaced in the | ||
client in its position. | ||
|
||
There is one rule that is refreshing all the portlets, the only change | ||
that needs to be done in the Plone templates is put a KssPortletRefresh | ||
class to those portlet's outer <dl> tag that need to be refreshed. | ||
Refreshing is done in every 30 seconds currently, this can be adjusted | ||
from the template. | ||
|
||
- In-place calendar navigation: the two little arrows replace the calendar | ||
portlet, without reloading the screen. | ||
|
||
We put kss attributes on the calendar node for the year and month | ||
to tell the server where to navigate. Actually, we could have done | ||
that without modifying the template either, since the server could | ||
have just received the original "href" of the little arrow and could | ||
parse the year and month from that, but this is a cleaner solution. | ||
|
||
KSS extensions defined for general purpose use | ||
---------------------------------------------- | ||
|
||
- A generic macro replacer server action | ||
|
||
- client action for submitting to an url | ||
|
||
- client action for submitting the current form | ||
|
||
KSS (Kinetic Style Sheets) for Plone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.2 | ||
1.2dev unreleased |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters