Asides

asides

  • By romain
  • Latest release June 29, 2011 (15 years ago)

About

Some slight enhancements :

  • you no more can delete an aside used within a resource (you will get a message with resource IDs using it), preventing some errors
  • added a function to "clear" an aside from any resource
  • added [[+id]] placeholder within the wrapper chunk (for a better css styling/targeting)

Installation & usage

Install via package manager.Setup the asides.categoryId system setting to fit your needs (indicates the category ID where your chunks to be used as asides will be stored).set aside TV input option value at @EVAL return $modx->runSnippet('getAside');allow aside TV to access your desired templatesin those templates, set [[showAside? &chunks=`[[*aside]]`]]you now should be good to go!

Note: setting "Lock chunk for editing" as activated prevents the chunk edition from the grid

At a glance

MODX 3 compatibility unknown. Based on our testing and community reports where available.

  • Developer romain
  • Latest release June 29, 2011 (15 years ago)
  • First seen in SiteDash June 29, 2011 (15 years ago)
  • License GPLv2
  • MODX support 2.1 – 2.1
  • Databases MySQL

Releases 1 indexed release

Changelog
MODX.com

1.0.0-pl

June 29, 2011

15 years ago

<ul><li>Added an option to remove an aside from any resource without deleting the aside (chunk)</li><li>Ensure an aside isn't in use before deletion</li><li>Added id placeholder for the wrapper, to allow a better css styling/targeting.</li></ul>