-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Autotags are a powerful feature of Geeklog and Geeklog was one of the first CMSs to include this type of functionality (Wordpress calls them shortcodes).
Autotags currently usually just injects text into whatever it has been put in like an article or template using the standard format like:
[myautotag:feature1 setting1:yes]
It would be nice if Autotags could wrap text where it is being used if need be. Similarly how Wordpress and other CMSs do it using a secondary closing tag like so:
[newautotag:feature1 setting1:yes]Some text or html or whatever here.[/newautotag]
This secondary closing tag should only be a requirement to the autotag that needs it meaning other tags that don't need a secondary tag would not use them.
Also as an additional feature it would be nice to allow autotags to be able to be embedded in each other if a closing tag is needed like so:
[newautotag:feature1 setting1:yes]Some text or html [myautotag:feature1 setting1:yes] or whatever here.[/newautotag]
or even:
[newautotag:feature1 setting1:yes]Some [otherautotag:feature2]text or html[/otherautotag] or whatever here.[/newautotag]