Skip to content

ProcessWire for using PW variables in Description and Note fields.

License

Notifications You must be signed in to change notification settings

adrianbj/DynamicDescriptionNotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 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.)