Hook-Referenz
Diese Liste wird automatisch aus dem Quellcode dieser Installation erzeugt – sie ist also immer aktuell.
Actions
An diesen Stellen kann ein Plugin eigenes HTML ausgeben oder auf Ereignisse reagieren: hooks.add_action("name", funktion)
| Name | Verwendet in |
|---|---|
account_dashboard | themes/default/templates/account/overview.html |
after_content | themes/default/templates/base.html |
before_content | themes/default/templates/base.html |
body_start | themes/default/templates/base.html |
checkout_after_form | themes/default/templates/shop/checkout.html |
footer | core/templatetags/jds.py, themes/default/templates/base.html |
form_submitted | cms/views.py |
head | themes/default/templates/base.html |
order_created | shop/views.py |
order_status_changed | shop/models.py |
product_after_price | themes/default/templates/shop/product_detail.html |
shop_before_products | themes/default/templates/shop/product_list.html |
user_registered | core/account.py |
Filter
Hier kann ein Plugin Werte verändern: hooks.add_filter("name", funktion)
| Name | Verwendet in |
|---|---|
block_context | core/blocks.py |
block_types | core/blocks.py |
cart_shipping | shop/cart.py |
menu_items | core/templatetags/jds.py |
payment_gateways | shop/payments.py |
the_content | core/templatetags/jds.py |
Shortcodes
| Shortcode | Kommt von |
|---|---|
[doku-link] | doku |
[formular] | core |
[inhalte] | core |
[jds-kaufen] | produktseite |
[kontaktformular] | kontaktformular |
[marktplatz] | marktplatz |
[produkt] | core |
[produkte] | core |