adrianbj / dynamic-description-notes
Processwire module for inserting PW variables, Hanna codes, and HTML in description, note, and detail fields.
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 4
Forks: 2
Open Issues: 0
Type:pw-module
Requires
- php: >=5.4.4
- wireframe-framework/processwire-composer-installer: ^1.0.0
This package is auto-updated.
Last update: 2024-10-22 18:48:20 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.)