adrianbj/dynamic-description-notes

Processwire module for inserting PW variables, Hanna codes, and HTML in description, note, and detail fields.

0.1.10 2024-03-22 17:19 UTC

This package is auto-updated.

Last update: 2024-04-22 17:26:46 UTC


README

ProcessWire module for using PW variables and Hanna codes in Description and Note fields.

Specifiy fields/properties of the page, eg: [page.parent.url] [page.title] [page.template.label]

You can also define a str_replace to be performed on the returned value, eg: [page.name.(-|_)] which will return the page name with the dashes replaced with underscores

An option to allow raw HTML is available

You can also use hanna codes within your description and notes fields - big thanks to @Robin S for this idea

Support forum:

https://processwire.com/talk/topic/14439-dynamic-description-notes/

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

(See included LICENSE file for full license text.)