https://github.com/adrianbj/dynamicdescriptionnotes
ProcessWire for using PW variables in Description and Note fields.
https://github.com/adrianbj/dynamicdescriptionnotes
description hanna-codes notes processwire
Last synced: about 2 months ago
JSON representation
ProcessWire for using PW variables in Description and Note fields.
- Host: GitHub
- URL: https://github.com/adrianbj/dynamicdescriptionnotes
- Owner: adrianbj
- License: gpl-2.0
- Created: 2016-09-28T03:28:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-22T17:20:45.000Z (about 1 year ago)
- Last Synced: 2025-04-02T09:22:10.820Z (2 months ago)
- Topics: description, hanna-codes, notes, processwire
- Language: PHP
- Size: 29.3 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DynamicDescriptionNotes
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 underscoresAn 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.)