Skip to main content

Little helpers

Project description

Information

Small helpers for daily usage.

For HTML

Click a link with this class and you will get a confirm message

> class=”confirm-general”

Click a link with this class and you will get a confirm message for deleting a content element

> class=”confirm-delete”

Prevent the default click event. Usefull for dummy anker.

> <a class=”no-click”

A overlay will appear. The link is the target

> <a class=”custom-overlay-ajax”

Roles / Permissions

“Is Site Administrator” a permission wich only belongs to Site Administrator

Bootstrap

If you install this package, there is a complete set of bootstrap 2.3.2 and Font Awesome included. Some css of plone will be disabled.

Some Templates are optimized to show them in bootstrap style

Status message

A simple statusmessage to display an informaton for the user. ‘success’ is the bootstrap style type Alle in bootstrap defined alert types are avaliable.

> $.status_message(‘Hello world’,’success’);

Toolbar

Move toolbar to the top of your template.

<div class="plone-toolbar clearfix"
     tal:condition="context/@@plone/showEditableBorder">
    <tal:block tal:replace="structure provider:plone.contentviews"/>
</div>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tomcom.plone.base-4.3.1.4.zip (218.0 kB view details)

Uploaded Source

File details

Details for the file tomcom.plone.base-4.3.1.4.zip.

File metadata

File hashes

Hashes for tomcom.plone.base-4.3.1.4.zip
Algorithm Hash digest
SHA256 552c16e3fb9797f06174e8a277756491b2c3c58b8346189a6be880366a373d20
MD5 df616f69679c7896655d5e30e32ca13a
BLAKE2b-256 c5eca584e5b0f64279777516cb97a8eac466d576e45a6cf64f910413fdf3cdb6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page